Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
H A Dxfs_da_btree.c804 btree[0].hashval = cpu_to_be32(blk1->hashval); in xfs_da3_root_split()
806 btree[1].hashval = cpu_to_be32(blk2->hashval); in xfs_da3_root_split()
962 ((be32_to_cpu(btree2[0].hashval) < be32_to_cpu(btree1[0].hashval)) || in xfs_da3_node_rebalance()
963 (be32_to_cpu(btree2[nodehdr2.count - 1].hashval) < in xfs_da3_node_rebalance()
964 be32_to_cpu(btree1[nodehdr1.count - 1].hashval)))) { in xfs_da3_node_rebalance()
1054 blk1->hashval = be32_to_cpu(btree1[nodehdr1.count - 1].hashval); in xfs_da3_node_rebalance()
1055 blk2->hashval = be32_to_cpu(btree2[nodehdr2.count - 1].hashval); in xfs_da3_node_rebalance()
1101 btree[oldblk->index].hashval = cpu_to_be32(newblk->hashval); in xfs_da3_node_add()
1116 oldblk->hashval = be32_to_cpu(btree[nodehdr.count - 1].hashval); in xfs_da3_node_add()
1449 return be32_to_cpu(nodehdr.btree[nodehdr.count - 1].hashval); in xfs_da3_node_lasthash()
[all …]
H A Dxfs_attr_leaf.c310 __u32 hashval; in xfs_attr3_leaf_verify_entry() local
313 hashval = be32_to_cpu(ent->hashval); in xfs_attr3_leaf_verify_entry()
314 if (hashval < *last_hashval) in xfs_attr3_leaf_verify_entry()
316 *last_hashval = hashval; in xfs_attr3_leaf_verify_entry()
1282 nargs.hashval = be32_to_cpu(entry->hashval); in xfs_attr3_leaf_to_shortform()
1350 icnodehdr.btree[0].hashval = entries[icleafhdr.count - 1].hashval; in xfs_attr3_leaf_to_node()
1498 oldblk->hashval = xfs_attr_leaf_lasthash(oldblk->bp, NULL); in xfs_attr3_leaf_split()
1499 newblk->hashval = xfs_attr_leaf_lasthash(newblk->bp, NULL); in xfs_attr3_leaf_split()
1637 entry->hashval = cpu_to_be32(args->hashval); in xfs_attr3_leaf_add_work()
1652 (be32_to_cpu(entry->hashval) >= be32_to_cpu((entry-1)->hashval))); in xfs_attr3_leaf_add_work()
[all …]
H A Dxfs_attr.h35 __u32 hashval; /* hash value of next entry to add */ member
641 args->hashval = xfs_attr_hashval(args->dp->i_mount, args->attr_filter, in xfs_attr_sethash()
H A Dxfs_da_btree.h74 xfs_dahash_t hashval; /* hash value of name */ member
122 xfs_dahash_t hashval; /* last hash value in block */ member
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/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/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/xfs/
H A Dxfs_trace.h123 __field(u32, hashval)
136 __entry->hashval = ctx->cursor.hashval;
149 __entry->hashval,
621 __field(u32, hashval)
636 __entry->hashval = ctx->cursor.hashval;
644 __entry->bt_hashval = be32_to_cpu(btree->hashval);
652 __entry->hashval,
2338 __field(xfs_dahash_t, hashval)
2349 __entry->hashval = args->hashval;
2361 __entry->hashval,
[all …]
H A Dxfs_handle.c432 (context.cursor.hashval || context.cursor.blkno || in xfs_ioc_attr_list()
/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.c5937 unsigned long hashval = btrfs_inode_hash(ino, root); in btrfs_iget_locked() local
5942 inode = iget5_locked_rcu(root->fs_info->sb, hashval, btrfs_find_actor, in btrfs_iget_locked()