Home
last modified time | relevance | path

Searched refs:hashval (Results 1 – 15 of 15) sorted by relevance

/linux/fs/xfs/scrub/
H A Ddabtree.c135 parent_hash = be32_to_cpu(entry->hashval); in xchk_da_btree_hash()
412 blk->hashval = xfs_attr_leaf_lasthash(blk->bp, pmaxrecs); in xchk_da_btree_block()
421 blk->hashval = xfs_dir2_leaf_lasthash(ip, blk->bp, pmaxrecs); in xchk_da_btree_block()
430 blk->hashval = xfs_dir2_leaf_lasthash(ip, blk->bp, pmaxrecs); in xchk_da_btree_block()
443 blk->hashval = be32_to_cpu(btree[*pmaxrecs - 1].hashval); in xchk_da_btree_block()
478 if (be32_to_cpu(key->hashval) != blk->hashval) { in xchk_da_btree_block()
588 error = xchk_da_btree_hash(ds, level, &key->hashval); in xchk_da_btree()
H A Dattr.c318 if (be32_to_cpu(ent->hashval) < *last_hashval) in xchk_xattr_entry()
320 *last_hashval = be32_to_cpu(ent->hashval); in xchk_xattr_entry()
513 error = xchk_da_btree_hash(ds, level, &ent->hashval); in xchk_xattr_rec()
527 hash = be32_to_cpu(ent->hashval); in xchk_xattr_rec()
H A Ddir.c348 error = xchk_da_btree_hash(ds, level, &ent->hashval); in xchk_dir_rec()
409 hash = be32_to_cpu(ent->hashval); in xchk_dir_rec()
686 hash = be32_to_cpu(leafhdr.ents[i].hashval); in xchk_directory_leaf1_bestfree()
H A Ddir_repair.c687 rd->args.hashval = xfs_dir2_hashname(rd->sc->mp, name); in xrep_dir_init_args()
/linux/fs/
H A Dinode.c675 static unsigned long hash(struct super_block *sb, unsigned long hashval) in hash() argument
679 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in hash()
693 void __insert_inode_hash(struct inode *inode, unsigned long hashval) in __insert_inode_hash() argument
695 struct hlist_head *b = inode_hashtable + hash(inode->i_sb, hashval); in __insert_inode_hash()
1304 struct inode *inode_insert5(struct inode *inode, unsigned long hashval, in inode_insert5() argument
1308 struct hlist_head *head = inode_hashtable + hash(inode->i_sb, hashval); in inode_insert5()
1381 struct inode *iget5_locked(struct super_block *sb, unsigned long hashval, in iget5_locked() argument
1385 struct inode *inode = ilookup5(sb, hashval, test, data); in iget5_locked()
1391 inode = inode_insert5(new, hashval, test, set, data); in iget5_locked()
1411 struct inode *iget5_locked_rcu(struct super_block *sb, unsigned long hashval, in iget5_locked_rcu() argument
[all …]
/linux/tools/testing/selftests/vDSO/
H A Dparse_vdso.c270 uint32_t h1 = gnu_hash(name), h2, *hashval; in vdso_sym() local
276 hashval = vdso_info.gnu_bucket + vdso_info.nbucket + in vdso_sym()
280 h2 = *hashval++; in vdso_sym()
/linux/include/trace/events/
H A Dkmem.h395 unsigned long hashval; in mm_ptr_to_hash() local
397 ret = ptr_to_hashval(ptr, &hashval); in mm_ptr_to_hash()
402 return (unsigned int)hashval; in mm_ptr_to_hash()
/linux/lib/
H A Dvsprintf.c789 unsigned long hashval; in subsys_initcall()
798 hashval = (unsigned long)siphash_1u64((u64)ptr, &ptr_key); in subsys_initcall()
803 hashval = hashval & 0xffffffff; in subsys_initcall()
805 hashval = (unsigned long)siphash_1u32((u32)ptr, &ptr_key); in subsys_initcall()
807 *hashval_out = hashval; in subsys_initcall()
820 unsigned long hashval; in ptr_to_id()
832 hashval = hash_long((unsigned long)ptr, 32); in ptr_to_id()
833 return pointer_string(buf, end, (const void *)hashval, spec); in ptr_to_id()
836 ret = __ptr_to_hashval(ptr, &hashval); in ptr_to_id()
788 unsigned long hashval; subsys_initcall() local
819 unsigned long hashval; ptr_to_id() local
[all...]
/linux/fs/xfs/libxfs/
H A Dxfs_dir2.c352 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_createname()
445 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_lookup()
513 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_removename()
573 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_replace()
/linux/fs/smb/server/
H A Dvfs_cache.c159 static unsigned long inode_hash(struct super_block *sb, unsigned long hashval) in inode_hash() argument
163 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in inode_hash()
/linux/fs/isofs/
H A Dinode.c1504 unsigned long hashval; in __isofs_iget() local
1515 hashval = (block << sb->s_blocksize_bits) | offset; in __isofs_iget()
1517 inode = iget5_locked(sb, hashval, &isofs_iget5_test, in __isofs_iget()
/linux/include/linux/
H A Dfs.h2938 unsigned long hashval, int (*test)(struct inode *, void *),
2940 extern struct inode *ilookup5(struct super_block *sb, unsigned long hashval,
2944 extern struct inode *inode_insert5(struct inode *inode, unsigned long hashval,
3018 extern void __insert_inode_hash(struct inode *, unsigned long hashval);
/linux/net/sunrpc/auth_gss/
H A Dauth_gss.c1172 unsigned long hashval = (unsigned long)clnt; in gss_auth_find_or_add_hashed() local
1178 hashval) { in gss_auth_find_or_add_hashed()
1196 hash_add(gss_auth_hash_table, &new->hash, hashval); in gss_auth_find_or_add_hashed()
/linux/fs/nfsd/
H A Dnfs4state.c545 find_openstateowner_str(unsigned int hashval, struct nfsd4_open *open, in find_openstateowner_str() argument
552 list_for_each_entry(so, &clp->cl_ownerstr_hashtbl[hashval], in find_openstateowner_str()
/linux/fs/btrfs/
H A Dinode.c5908 unsigned long hashval = btrfs_inode_hash(ino, root); in btrfs_iget_locked() local
5913 inode = iget5_locked_rcu(root->fs_info->sb, hashval, btrfs_find_actor, in btrfs_iget_locked()