Searched refs:curdirsize (Results 1 – 2 of 2) sorted by relevance
544 int curdirsize, this; in ffs_size_dir() local554 if (this + curdirsize > roundup(curdirsize, DIRBLKSIZ)) \ in ffs_size_dir()555 curdirsize = roundup(curdirsize, DIRBLKSIZ); \ in ffs_size_dir()556 curdirsize += this; \ in ffs_size_dir()567 curdirsize = 0; in ffs_size_dir()592 ADDSIZE(curdirsize); in ffs_size_dir()
455 u_int avgifree, avgbfree, avgndir, curdirsize; in ffs_dirpref() local506 curdirsize = avgndir ? (cgsize - avgbfree * fs->fs_bsize) / avgndir : 0; in ffs_dirpref()507 if (dirsize < curdirsize) in ffs_dirpref()508 dirsize = curdirsize; in ffs_dirpref()