Searched refs:DIRALIGN (Results 1 – 4 of 4) sorted by relevance
49 #define DIRALIGN 4 macro50 #define DH_NFSTATS (UFS_DIRECTSIZ(FFS_MAXNAMLEN + 1) / DIRALIGN)
216 dh->dh_blkfree[i] = dirblksiz / DIRALIGN; in ufsdirhash_build()530 for (i = howmany(slotneeded, DIRALIGN); i <= DH_NFSTATS; i++) in ufsdirhash_findfree()539 dh->dh_blkfree[dirblock] >= howmany(slotneeded, DIRALIGN)); in ufsdirhash_findfree()613 if (dh->dh_blkfree[dh->dh_dirblks - 1] != dirblksiz / DIRALIGN) { in ufsdirhash_enduseful()619 if (dh->dh_blkfree[i] != dirblksiz / DIRALIGN) in ufsdirhash_enduseful()766 dh->dh_blkfree[block] = dirblksiz / DIRALIGN; in ufsdirhash_newblk()814 if (dh->dh_blkfree[i] != dirblksiz / DIRALIGN) in ufsdirhash_dirtrunc()886 if (dh->dh_blkfree[block] * DIRALIGN != nfree) in ufsdirhash_checkblock()889 ffslot = BLKFREE2IDX(nfree / DIRALIGN); in ufsdirhash_checkblock()936 dh->dh_blkfree[block] = (int)dh->dh_blkfree[block] + (diff / DIRALIGN); in ufsdirhash_adjfree()
50 #define DIRALIGN 4 macro51 #define DH_NFSTATS (LFS_MAXDIRENTRYSIZE / DIRALIGN)
219 dh->dh_blkfree[i] = dirblksiz / DIRALIGN; in ulfsdirhash_build()536 for (i = howmany(slotneeded, DIRALIGN); i <= DH_NFSTATS; i++) in ulfsdirhash_findfree()545 dh->dh_blkfree[dirblock] >= howmany(slotneeded, DIRALIGN)); in ulfsdirhash_findfree()619 if (dh->dh_blkfree[dh->dh_dirblks - 1] != dirblksiz / DIRALIGN) { in ulfsdirhash_enduseful()625 if (dh->dh_blkfree[i] != dirblksiz / DIRALIGN) in ulfsdirhash_enduseful()776 dh->dh_blkfree[block] = dirblksiz / DIRALIGN; in ulfsdirhash_newblk()824 if (dh->dh_blkfree[i] != dirblksiz / DIRALIGN) in ulfsdirhash_dirtrunc()898 if (dh->dh_blkfree[block] * DIRALIGN != nfree) in ulfsdirhash_checkblock()901 ffslot = BLKFREE2IDX(nfree / DIRALIGN); in ulfsdirhash_checkblock()948 dh->dh_blkfree[block] = (int)dh->dh_blkfree[block] + (diff / DIRALIGN); in ulfsdirhash_adjfree()