Home
last modified time | relevance | path

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

/freebsd-12.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.c434 dh->dh_blkfree[i] = DIRBLKSIZ / DIRALIGN; in ufsdirhash_build()
721 for (i = howmany(slotneeded, DIRALIGN); i <= DH_NFSTATS; i++) in ufsdirhash_findfree()
728 dh->dh_blkfree[dirblock] >= howmany(slotneeded, DIRALIGN), in ufsdirhash_findfree()
792 if (dh->dh_blkfree[dh->dh_dirblks - 1] != DIRBLKSIZ / DIRALIGN) in ufsdirhash_enduseful()
796 if (dh->dh_blkfree[i] != DIRBLKSIZ / DIRALIGN) in ufsdirhash_enduseful()
917 dh->dh_blkfree[block] = DIRBLKSIZ / DIRALIGN; in ufsdirhash_newblk()
957 if (dh->dh_blkfree[i] != DIRBLKSIZ / DIRALIGN) in ufsdirhash_dirtrunc()
1020 if (dh->dh_blkfree[block] * DIRALIGN != nfree) in ufsdirhash_checkblock()
1023 ffslot = BLKFREE2IDX(nfree / DIRALIGN); in ufsdirhash_checkblock()
1069 dh->dh_blkfree[block] = (int)dh->dh_blkfree[block] + (diff / DIRALIGN); in ufsdirhash_adjfree()