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

/freebsd-11-stable/sys/ufs/ufs/
H A Dufs_dirhash.c59 #include <ufs/ufs/dirhash.h>
78 0, "maximum allowed dirhash memory usage");
81 0, "current dirhash memory usage");
92 "set percentage of dirhash cache to be removed in low VM events");
95 static int ufsdirhash_hash(struct dirhash *dh, char *name, int namelen);
96 static void ufsdirhash_adjfree(struct dirhash *dh, doff_t offset, int diff);
97 static void ufsdirhash_delslot(struct dirhash *dh, int slot);
98 static int ufsdirhash_findslot(struct dirhash *dh, char *name, int namelen,
115 static TAILQ_HEAD(, dirhash) ufsdirhash_list;
123 * The relationship between inode and dirhash i
[all...]
H A Ddirhash.h71 #define DH_SCOREINIT 8 /* initial dh_score when dirhash built */
85 struct dirhash { struct
103 int dh_score; /* access count for this dirhash */
107 time_t dh_lastused; /* time the dirhash was last read or written*/
110 TAILQ_ENTRY(dirhash) dh_list; /* chain of all dirhashes */
H A Dinode.h72 struct dirhash *dirhash; /* Hashing for large directories. */ member in union:inode::__anon2
136 #define i_dirhash i_un.dirhash
H A Dufs_inode.c58 #include <ufs/ufs/dirhash.h>
H A Dufs_vfsops.c60 #include <ufs/ufs/dirhash.h>
H A Dufs_lookup.c63 #include <ufs/ufs/dirhash.h>
281 * Use dirhash for fast operations on large directories. The logic
1223 * Remove the dirhash entry. This is complicated by the fact
H A Dufs_vnops.c80 #include <ufs/ufs/dirhash.h>
/freebsd-11-stable/sbin/fsck_ffs/
H A Dglobs.c59 long dirhash, inplast; variable
133 listmax = numdirs = dirhash = inplast = 0;
H A Dfsck.h287 extern long dirhash, inplast;
H A Dsetup.c288 dirhash = numdirs;
H A Dinode.c467 inpp = &inphead[inumber % dirhash];
498 for (inp = inphead[inumber % dirhash]; inp; inp = inp->i_nexthash) {
/freebsd-11-stable/sys/fs/ext2fs/
H A Dext2_htree.c331 uint32_t dirhash; local
344 if (ext2_htree_find_leaf(ip, name, namelen, &dirhash,
381 search_next = ext2_htree_check_next(ip, dirhash, name, &info);
735 uint32_t dirhash, split_hash; local
758 &dirhash, &hash_version, &info);

Completed in 126 milliseconds