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

/freebsd-10.1-release/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");
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 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.h86 struct dirhash *dirhash; /* Hashing for large directories. */ member in union:inode::__anon11461
134 #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>
294 * Use dirhash for fast operations on large directories. The logic
1210 * Remove the dirhash entry. This is complicated by the fact
H A Dufs_vnops.c80 #include <ufs/ufs/dirhash.h>
/freebsd-10.1-release/sbin/fsck_ffs/
H A Dglobs.c59 long numdirs, dirhash, listmax, inplast; variable
126 numdirs = dirhash = listmax = inplast = 0;
H A Dfsck.h285 extern long numdirs, dirhash, listmax, inplast;
H A Dsetup.c282 dirhash = numdirs;
H A Dinode.c460 inpp = &inphead[inumber % dirhash];
491 for (inp = inphead[inumber % dirhash]; inp; inp = inp->i_nexthash) {
/freebsd-10.1-release/sys/fs/ext2fs/
H A Dext2_htree.c330 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