Searched refs:dirhash (Results 1 - 15 of 15) sorted by relevance

/freebsd-13-stable/sys/ufs/ufs/
H A Dufs_dirhash.c61 #include <ufs/ufs/dirhash.h>
79 0, "maximum allowed dirhash memory usage");
82 0, "current dirhash memory usage");
94 "set percentage of dirhash cache to be removed in low VM events");
96 static int ufsdirhash_hash(struct dirhash *dh, char *name, int namelen);
97 static void ufsdirhash_adjfree(struct dirhash *dh, doff_t offset, int diff);
98 static void ufsdirhash_delslot(struct dirhash *dh, int slot);
99 static int ufsdirhash_findslot(struct dirhash *dh, char *name, int namelen,
116 static TAILQ_HEAD(, dirhash) ufsdirhash_list;
124 * The relationship between inode and dirhash i
[all...]
H A Ddirhash.h73 #define DH_SCOREINIT 8 /* initial dh_score when dirhash built */
87 struct dirhash { struct
105 int dh_score; /* access count for this dirhash */
109 time_t dh_lastused; /* time the dirhash was last read or written*/
112 TAILQ_ENTRY(dirhash) dh_list; /* chain of all dirhashes */
H A Dinode.h87 struct dirhash *dirhash; /* Hashing for large directories. */ member in union:inode::__anon15977
205 #define i_dirhash i_un.dirhash
H A Dufs_vfsops.c62 #include <ufs/ufs/dirhash.h>
H A Dufs_inode.c60 #include <ufs/ufs/dirhash.h>
H A Dufs_lookup.c65 #include <ufs/ufs/dirhash.h>
281 * Use dirhash for fast operations on large directories. The logic
1194 * Remove the dirhash entry. This is complicated by the fact
H A Dufs_vnops.c84 #include <ufs/ufs/dirhash.h>
/freebsd-13-stable/sbin/fsck_ffs/
H A Dglobs.c60 long dirhash, inplast; variable
132 listmax = numdirs = dirhash = inplast = 0;
H A Dfsck.h318 extern long dirhash, inplast;
H A Dsetup.c291 dirhash = numdirs;
H A Dinode.c695 inpp = &inphead[inumber % dirhash];
726 for (inp = inphead[inumber % dirhash]; inp; inp = inp->i_nexthash) {
H A Dfsutil.c732 for (i = 0; i < dirhash; i++) {
/freebsd-13-stable/sys/fs/ext2fs/
H A Dext2_htree.c364 uint32_t dirhash; local
377 if (ext2_htree_find_leaf(ip, name, namelen, &dirhash,
414 search_next = ext2_htree_check_next(ip, dirhash, name, &info);
789 uint32_t dirhash, split_hash; local
813 &dirhash, &hash_version, &info);
/freebsd-13-stable/sys/ufs/ffs/
H A Dffs_inode.c65 #include <ufs/ufs/dirhash.h>
H A Dffs_vnops.c105 #include <ufs/ufs/dirhash.h>

Completed in 193 milliseconds