Searched refs:dirhash (Results 1 - 12 of 12) sorted by relevance
/freebsd-11-stable/sys/ufs/ufs/ |
H A D | ufs_dirhash.c | 59 #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 D | dirhash.h | 71 #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 D | inode.h | 72 struct dirhash *dirhash; /* Hashing for large directories. */ member in union:inode::__anon2 136 #define i_dirhash i_un.dirhash
|
H A D | ufs_inode.c | 58 #include <ufs/ufs/dirhash.h>
|
H A D | ufs_vfsops.c | 60 #include <ufs/ufs/dirhash.h>
|
H A D | ufs_lookup.c | 63 #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 D | ufs_vnops.c | 80 #include <ufs/ufs/dirhash.h>
|
/freebsd-11-stable/sbin/fsck_ffs/ |
H A D | globs.c | 59 long dirhash, inplast; variable 133 listmax = numdirs = dirhash = inplast = 0;
|
H A D | fsck.h | 287 extern long dirhash, inplast;
|
H A D | setup.c | 288 dirhash = numdirs;
|
H A D | inode.c | 467 inpp = &inphead[inumber % dirhash]; 498 for (inp = inphead[inumber % dirhash]; inp; inp = inp->i_nexthash) {
|
/freebsd-11-stable/sys/fs/ext2fs/ |
H A D | ext2_htree.c | 331 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