Home
last modified time | relevance | path

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

/freebsd/sys/ufs/ufs/
H A Ddirhash.h50 #define DIRALIGN 4 macro
51 #define DH_NFSTATS (DIRECTSIZ(UFS_MAXNAMLEN + 1) / DIRALIGN)
H A Dufs_dirhash.c431 dh->dh_blkfree[i] = DIRBLKSIZ / DIRALIGN; in ufsdirhash_build()
718 for (i = howmany(slotneeded, DIRALIGN); i <= DH_NFSTATS; i++) in ufsdirhash_findfree()
725 dh->dh_blkfree[dirblock] >= howmany(slotneeded, DIRALIGN), in ufsdirhash_findfree()
789 if (dh->dh_blkfree[dh->dh_dirblks - 1] != DIRBLKSIZ / DIRALIGN) in ufsdirhash_enduseful()
793 if (dh->dh_blkfree[i] != DIRBLKSIZ / DIRALIGN) in ufsdirhash_enduseful()
914 dh->dh_blkfree[block] = DIRBLKSIZ / DIRALIGN; in ufsdirhash_newblk()
954 if (dh->dh_blkfree[i] != DIRBLKSIZ / DIRALIGN) in ufsdirhash_dirtrunc()
1017 if (dh->dh_blkfree[block] * DIRALIGN != nfree) in ufsdirhash_checkblock()
1020 ffslot = BLKFREE2IDX(nfree / DIRALIGN); in ufsdirhash_checkblock()
1066 dh->dh_blkfree[block] = (int)dh->dh_blkfree[block] + (diff / DIRALIGN); in ufsdirhash_adjfree()