Lines Matching refs:hash
350 uint32_t hash;
352 hash = fnv_32_buf(name, len, FNV1_32_INIT + len) & TMPFS_DIRCOOKIE_MASK;
354 hash &= 0xf;
356 if (hash < TMPFS_DIRCOOKIE_MIN)
357 hash += TMPFS_DIRCOOKIE_MIN;
359 return (hash);
778 tmpfs_dir_xlookup_hash(struct tmpfs_node *dnode, uint32_t hash)
782 dekey.td_hash = hash;
856 uint32_t hash;
863 hash = tmpfs_dirent_hash(cnp->cn_nameptr, cnp->cn_namelen);
864 de = tmpfs_dir_xlookup_hash(node, hash);
926 * We are so lucky have 2^30 hash duplicates in single
977 * adding/removing elements with the same hash.