Home
last modified time | relevance | path

Searched refs:dirsize (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/lib/libc/gen/
H A Dscandir.c63 dirsize(int fd, size_t olen) in dirsize() function
105 if ((arraysz = dirsize(dirp->dd_fd, 0)) == 0) in scandir()
123 if ((arraysz = dirsize(dirp->dd_fd, arraysz)) == 0) in scandir()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Drescoff.c399 unsigned long dirsize; member
499 cwi.dirsize = 0; in write_coff_file()
541 assert (cwi.dirs.length == cwi.dirsize); in write_coff_file()
545 length = (cwi.dirsize in write_coff_file()
596 cwi->dirsize += sizeof (struct extern_res_directory); in coff_bin_sizes()
600 cwi->dirsize += sizeof (struct extern_res_entry); in coff_bin_sizes()
687 0x80000000 | (cwi->dirsize + cwi->dirstrs.length)); in coff_to_bin()
703 cwi->dirsize + cwi->dirstrsize + cwi->dataents.length); in coff_to_bin()
728 r->address = cwi->dirsize + cwi->dirstrsize + cwi->dataents.length; in coff_res_to_bin()
743 (cwi->dirsize in coff_res_to_bin()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Drescoff.c399 unsigned long dirsize; member
502 cwi.dirsize = 0; in write_coff_file()
544 assert (cwi.dirs.length == cwi.dirsize); in write_coff_file()
548 length = (cwi.dirsize in write_coff_file()
599 cwi->dirsize += sizeof (struct extern_res_directory); in coff_bin_sizes()
603 cwi->dirsize += sizeof (struct extern_res_entry); in coff_bin_sizes()
690 0x80000000 | (cwi->dirsize + cwi->dirstrs.length)); in coff_to_bin()
706 cwi->dirsize + cwi->dirstrsize + cwi->dataents.length); in coff_to_bin()
731 r->address = cwi->dirsize + cwi->dirstrsize + cwi->dataents.length; in coff_res_to_bin()
746 (cwi->dirsize in coff_res_to_bin()
/netbsd-src/lib/libc/db/hash/
H A Dhash.c830 size_t dirsize; in __expand_table() local
845 dirsize = hashp->DSIZE * sizeof(SEGMENT *); in __expand_table()
846 if (!hash_realloc(&hashp->dir, dirsize, dirsize << 1)) in __expand_table()
848 dirsize <<= 1; in __expand_table()
849 _DBFIT(dirsize, uint32_t); in __expand_table()
850 hashp->DSIZE = (uint32_t)dirsize; in __expand_table()
/netbsd-src/sys/ufs/ext2fs/
H A Dext2fs_htree.c492 uint64_t cursize, dirsize; in ext2fs_htree_add_entry() local
529 dirsize = cursize + blksize; in ext2fs_htree_add_entry()
530 blknum = dirsize / blksize - 1; in ext2fs_htree_add_entry()
623 dirsize = cursize + blksize; in ext2fs_htree_add_entry()
624 blknum = dirsize / blksize - 1; in ext2fs_htree_add_entry()
/netbsd-src/sys/ufs/ffs/
H A Dffs_alloc.c643 uint64_t dirsize, cgsize, curdsz; in ffs_dirpref() local
696 dirsize = (int64_t)fs->fs_avgfilesize * fs->fs_avgfpdir; in ffs_dirpref()
699 if (dirsize < curdsz) in ffs_dirpref()
700 dirsize = curdsz; in ffs_dirpref()
702 if (cgsize < dirsize * 255) in ffs_dirpref()
703 maxcontigdirs = (avgbfree * fs->fs_bsize) / dirsize; in ffs_dirpref()