Searched refs:dirsize (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/contrib/binutils/binutils/ |
| H A D | rescoff.c | 382 unsigned long dirsize; member 485 cwi.dirsize = 0; in write_coff_file() 527 assert (cwi.dirs.length == cwi.dirsize); in write_coff_file() 531 length = (cwi.dirsize in write_coff_file() 582 cwi->dirsize += sizeof (struct extern_res_directory); in coff_bin_sizes() 586 cwi->dirsize += sizeof (struct extern_res_entry); in coff_bin_sizes() 673 0x80000000 | (cwi->dirsize + cwi->dirstrs.length)); in coff_to_bin() 689 cwi->dirsize + cwi->dirstrsize + cwi->dataents.length); in coff_to_bin() 714 r->address = cwi->dirsize + cwi->dirstrsize + cwi->dataents.length; in coff_res_to_bin() 729 (cwi->dirsize in coff_res_to_bin()
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | main.c | 146 int dirsize; in captured_main() local 182 dirsize = 1; in captured_main() 183 dirarg = (char **) xmalloc (dirsize * sizeof (*dirarg)); in captured_main() 421 if (ndir >= dirsize) in captured_main() 423 dirsize *= 2; in captured_main() 425 dirsize * sizeof (*dirarg)); in captured_main()
|
| /freebsd-12.1/lib/libc/db/hash/ |
| H A D | hash.c | 796 int dirsize, new_segnum, spare_ndx; in __expand_table() local 811 dirsize = hashp->DSIZE * sizeof(SEGMENT *); in __expand_table() 812 if (!hash_realloc(&hashp->dir, dirsize, dirsize << 1)) in __expand_table() 814 hashp->DSIZE = dirsize << 1; in __expand_table()
|
| /freebsd-12.1/sys/fs/ext2fs/ |
| H A D | ext2_htree.c | 773 uint64_t cursize, dirsize; in ext2_htree_add_entry() local 810 dirsize = cursize + blksize; in ext2_htree_add_entry() 811 blknum = dirsize / blksize - 1; in ext2_htree_add_entry() 905 dirsize = cursize + blksize; in ext2_htree_add_entry() 906 blknum = dirsize / blksize - 1; in ext2_htree_add_entry()
|
| H A D | ext2_alloc.c | 609 u_int dirsize, maxcontigdirs; in ext2_dirpref() local 654 dirsize = AVGDIRSIZE; in ext2_dirpref() 656 if (dirsize < curdirsize) in ext2_dirpref() 657 dirsize = curdirsize; in ext2_dirpref() 658 maxcontigdirs = min((avgbfree * fs->e2fs_bsize) / dirsize, 255); in ext2_dirpref()
|
| /freebsd-12.1/sys/ufs/ffs/ |
| H A D | ffs_alloc.c | 1222 int cg, prefcg, dirsize, cgsize; local 1272 dirsize = fs->fs_avgfilesize * fs->fs_avgfpdir; 1274 if (dirsize < curdirsize) 1275 dirsize = curdirsize; 1276 if (dirsize <= 0) 1279 maxcontigdirs = min((avgbfree * fs->fs_bsize) / dirsize, 255);
|