Home
last modified time | relevance | path

Searched refs:DIRALIGN (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/sys/ufs/ufs/
H A Ddirhash.h52 #define DIRALIGN 4 macro
53 #define DH_NFSTATS (DIRECTSIZ(UFS_MAXNAMLEN + 1) / DIRALIGN)
H A Dufs_dirhash.c433 dh->dh_blkfree[i] = DIRBLKSIZ / DIRALIGN; in ufsdirhash_build()
720 for (i = howmany(slotneeded, DIRALIGN); i <= DH_NFSTATS; i++) in ufsdirhash_findfree()
727 dh->dh_blkfree[dirblock] >= howmany(slotneeded, DIRALIGN), in ufsdirhash_findfree()
791 if (dh->dh_blkfree[dh->dh_dirblks - 1] != DIRBLKSIZ / DIRALIGN) in ufsdirhash_enduseful()
795 if (dh->dh_blkfree[i] != DIRBLKSIZ / DIRALIGN) in ufsdirhash_enduseful()
916 dh->dh_blkfree[block] = DIRBLKSIZ / DIRALIGN; in ufsdirhash_newblk()
956 if (dh->dh_blkfree[i] != DIRBLKSIZ / DIRALIGN) in ufsdirhash_dirtrunc()
1019 if (dh->dh_blkfree[block] * DIRALIGN != nfree) in ufsdirhash_checkblock()
1022 ffslot = BLKFREE2IDX(nfree / DIRALIGN); in ufsdirhash_checkblock()
1068 dh->dh_blkfree[block] = (int)dh->dh_blkfree[block] + (diff / DIRALIGN); in ufsdirhash_adjfree()