Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_attr_list.c44 (!((cursor)->initted) && !((cursor)->hashval) && \
167 if (sbp->hash == cursor->hashval) { in xfs_attr_shortform_list()
172 } else if (sbp->hash > cursor->hashval) { in xfs_attr_shortform_list()
183 if (cursor->hashval != sbp->hash) { in xfs_attr_shortform_list()
184 cursor->hashval = sbp->hash; in xfs_attr_shortform_list()
271 if (cursor->hashval <= be32_to_cpu(btree->hashval)) { in xfs_attr_node_list_lookup()
373 if (cursor->hashval > be32_to_cpu( in xfs_attr_node_list()
374 entries[leafhdr.count - 1].hashval)) { in xfs_attr_node_list()
378 } else if (cursor->hashval <= be32_to_cpu( in xfs_attr_node_list()
379 entries[0].hashval)) { in xfs_attr_node_list()
[all …]
/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.c253 __u32 hashval; in xfs_attr3_leaf_verify_entry() local
256 hashval = be32_to_cpu(ent->hashval); in xfs_attr3_leaf_verify_entry()
257 if (hashval < *last_hashval) in xfs_attr3_leaf_verify_entry()
259 *last_hashval = hashval; in xfs_attr3_leaf_verify_entry()
1183 nargs.hashval = be32_to_cpu(entry->hashval); in xfs_attr3_leaf_to_shortform()
1251 icnodehdr.btree[0].hashval = entries[icleafhdr.count - 1].hashval; in xfs_attr3_leaf_to_node()
1377 oldblk->hashval = xfs_attr_leaf_lasthash(oldblk->bp, NULL); in xfs_attr3_leaf_split()
1378 newblk->hashval = xfs_attr_leaf_lasthash(newblk->bp, NULL); in xfs_attr3_leaf_split()
1516 entry->hashval = cpu_to_be32(args->hashval); in xfs_attr3_leaf_add_work()
1531 (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
640 args->hashval = xfs_attr_hashval(args->dp->i_mount, args->attr_filter, in xfs_attr_sethash()
H A Dxfs_dir2.c352 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_createname()
446 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_lookup()
514 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_removename()
574 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_replace()
H A Dxfs_dir2_data.c263 be32_to_cpu(lep[i].hashval) == hash) in __xfs_dir3_data_check()
282 if (i > 0 && be32_to_cpu(lep[i].hashval) < in __xfs_dir3_data_check()
283 be32_to_cpu(lep[i - 1].hashval)) in __xfs_dir3_data_check()
H A Dxfs_metadir.c95 .hashval = xfs_dir2_hashname(mp, xname), in xfs_metadir_lookup()
/linux/fs/
H A Dinode.c674 static unsigned long hash(struct super_block *sb, unsigned long hashval) in hash() argument
678 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in hash()
692 void __insert_inode_hash(struct inode *inode, unsigned long hashval) in __insert_inode_hash() argument
694 struct hlist_head *b = inode_hashtable + hash(inode->i_sb, hashval); in __insert_inode_hash()
1294 struct inode *inode_insert5(struct inode *inode, unsigned long hashval, in inode_insert5() argument
1298 struct hlist_head *head = inode_hashtable + hash(inode->i_sb, hashval); in inode_insert5()
1371 struct inode *iget5_locked(struct super_block *sb, unsigned long hashval, in iget5_locked() argument
1375 struct inode *inode = ilookup5(sb, hashval, test, data); in iget5_locked()
1381 inode = inode_insert5(new, hashval, test, set, data); in iget5_locked()
1401 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.c788 unsigned long hashval; in subsys_initcall() local
797 hashval = (unsigned long)siphash_1u64((u64)ptr, &ptr_key); in subsys_initcall()
802 hashval = hashval & 0xffffffff; in subsys_initcall()
804 hashval = (unsigned long)siphash_1u32((u32)ptr, &ptr_key); in subsys_initcall()
806 *hashval_out = hashval; in subsys_initcall()
819 unsigned long hashval; in ptr_to_id() local
831 hashval = hash_long((unsigned long)ptr, 32); in ptr_to_id()
832 return pointer_string(buf, end, (const void *)hashval, spec); in ptr_to_id()
835 ret = __ptr_to_hashval(ptr, &hashval); in ptr_to_id()
842 return pointer_string(buf, end, (const void *)hashval, spec); in ptr_to_id()
/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/net/sunrpc/auth_gss/
H A Dauth_gss.c1169 unsigned long hashval = (unsigned long)clnt; in gss_auth_find_or_add_hashed() local
1175 hashval) { in gss_auth_find_or_add_hashed()
1193 hash_add(gss_auth_hash_table, &new->hash, hashval); in gss_auth_find_or_add_hashed()
/linux/fs/xfs/scrub/
H A Ddir_repair.c683 rd->args.hashval = xfs_dir2_hashname(rd->sc->mp, name); in xrep_dir_init_args()
/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()