Searched refs:dirhash (Results 1 - 15 of 15) sorted by relevance
/freebsd-13-stable/sys/ufs/ufs/ |
H A D | ufs_dirhash.c | 61 #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 D | dirhash.h | 73 #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 D | inode.h | 87 struct dirhash *dirhash; /* Hashing for large directories. */ member in union:inode::__anon15977 205 #define i_dirhash i_un.dirhash
|
H A D | ufs_vfsops.c | 62 #include <ufs/ufs/dirhash.h>
|
H A D | ufs_inode.c | 60 #include <ufs/ufs/dirhash.h>
|
H A D | ufs_lookup.c | 65 #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 D | ufs_vnops.c | 84 #include <ufs/ufs/dirhash.h>
|
/freebsd-13-stable/sbin/fsck_ffs/ |
H A D | globs.c | 60 long dirhash, inplast; variable 132 listmax = numdirs = dirhash = inplast = 0;
|
H A D | fsck.h | 318 extern long dirhash, inplast;
|
H A D | setup.c | 291 dirhash = numdirs;
|
H A D | inode.c | 695 inpp = &inphead[inumber % dirhash]; 726 for (inp = inphead[inumber % dirhash]; inp; inp = inp->i_nexthash) {
|
H A D | fsutil.c | 732 for (i = 0; i < dirhash; i++) {
|
/freebsd-13-stable/sys/fs/ext2fs/ |
H A D | ext2_htree.c | 364 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 D | ffs_inode.c | 65 #include <ufs/ufs/dirhash.h>
|
H A D | ffs_vnops.c | 105 #include <ufs/ufs/dirhash.h>
|
Completed in 143 milliseconds