Searched refs:dirhash (Results 1 - 12 of 12) sorted by relevance
/freebsd-10.1-release/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"); 94 static int ufsdirhash_hash(struct dirhash *dh, char *name, int namelen); 95 static void ufsdirhash_adjfree(struct dirhash *dh, doff_t offset, int diff); 96 static void ufsdirhash_delslot(struct dirhash *dh, int slot); 97 static int ufsdirhash_findslot(struct dirhash *dh, char *name, int namelen, 114 static TAILQ_HEAD(, dirhash) ufsdirhash_list; 122 * The relationship between inode and dirhash is protected either by an 124 * may be used. The dirhash_mtx is acquired after the dirhash loc [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 | 86 struct dirhash *dirhash; /* Hashing for large directories. */ member in union:inode::__anon11461 134 #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> 294 * Use dirhash for fast operations on large directories. The logic 1210 * Remove the dirhash entry. This is complicated by the fact
|
H A D | ufs_vnops.c | 80 #include <ufs/ufs/dirhash.h>
|
/freebsd-10.1-release/sbin/fsck_ffs/ |
H A D | globs.c | 59 long numdirs, dirhash, listmax, inplast; variable 126 numdirs = dirhash = listmax = inplast = 0;
|
H A D | fsck.h | 285 extern long numdirs, dirhash, listmax, inplast;
|
H A D | setup.c | 282 dirhash = numdirs;
|
H A D | inode.c | 460 inpp = &inphead[inumber % dirhash]; 491 for (inp = inphead[inumber % dirhash]; inp; inp = inp->i_nexthash) {
|
/freebsd-10.1-release/sys/fs/ext2fs/ |
H A D | ext2_htree.c | 330 uint32_t dirhash; local 343 if (ext2_htree_find_leaf(ip, name, namelen, &dirhash, 380 search_next = ext2_htree_check_next(ip, dirhash, name, &info); 734 uint32_t dirhash, split_hash; local 757 &dirhash, &hash_version, &info);
|
Completed in 67 milliseconds