Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/fs/xfs/
A Dxfs_attr_list.c156 if (sbp->hash == cursor->hashval) { in xfs_attr_shortform_list()
161 } else if (sbp->hash > cursor->hashval) { in xfs_attr_shortform_list()
172 if (cursor->hashval != sbp->hash) { in xfs_attr_shortform_list()
173 cursor->hashval = sbp->hash; in xfs_attr_shortform_list()
253 if (cursor->hashval <= be32_to_cpu(btree->hashval)) { in xfs_attr_node_list_lookup()
327 if (cursor->hashval > be32_to_cpu( in xfs_attr_node_list()
333 entries[0].hashval)) { in xfs_attr_node_list()
413 if (be32_to_cpu(entry->hashval) == cursor->hashval) { in xfs_attr3_leaf_list_int()
420 cursor->hashval) { in xfs_attr3_leaf_list_int()
442 if (be32_to_cpu(entry->hashval) != cursor->hashval) { in xfs_attr3_leaf_list_int()
[all …]
A Dxfs_trace.h90 __field(u32, hashval)
103 __entry->hashval = ctx->cursor.hashval;
116 __entry->hashval,
311 __field(u32, hashval)
326 __entry->hashval = ctx->cursor.hashval;
342 __entry->hashval,
1920 __field(xfs_dahash_t, hashval)
1930 __entry->hashval = args->hashval;
1941 __entry->hashval,
1997 __entry->hashval = args->hashval;
[all …]
A Dxfs_attr_item.c592 args->hashval = xfs_da_hashname(args->name, args->namelen); in xfs_attri_item_recover()
/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_da_btree.c750 btree[0].hashval = cpu_to_be32(blk1->hashval); in xfs_da3_root_split()
752 btree[1].hashval = cpu_to_be32(blk2->hashval); in xfs_da3_root_split()
1000 blk1->hashval = be32_to_cpu(btree1[nodehdr1.count - 1].hashval); in xfs_da3_node_rebalance()
1047 btree[oldblk->index].hashval = cpu_to_be32(newblk->hashval); in xfs_da3_node_add()
1491 drop_blk->hashval = be32_to_cpu(btree[index - 1].hashval); in xfs_da3_node_remove()
1674 blk->hashval = be32_to_cpu(btree[max - 1].hashval); in xfs_da3_node_lookup_int()
1680 hashval = args->hashval; in xfs_da3_node_lookup_int()
1693 (be32_to_cpu(btree[probe].hashval) == hashval)); in xfs_da3_node_lookup_int()
1700 be32_to_cpu(btree[probe].hashval) >= hashval) { in xfs_da3_node_lookup_int()
1704 be32_to_cpu(btree[probe].hashval) < hashval) { in xfs_da3_node_lookup_int()
[all …]
A Dxfs_attr_leaf.c255 hashval = be32_to_cpu(ent->hashval); in xfs_attr3_leaf_verify_entry()
1199 nargs.hashval = be32_to_cpu(entry->hashval); in xfs_attr3_leaf_to_shortform()
1529 entry->hashval = cpu_to_be32(args->hashval); in xfs_attr3_leaf_add_work()
2436 hashval = args->hashval; in xfs_attr3_leaf_lookup_int()
2440 if (be32_to_cpu(entry->hashval) < hashval) in xfs_attr3_leaf_lookup_int()
2442 else if (be32_to_cpu(entry->hashval) > hashval) in xfs_attr3_leaf_lookup_int()
2451 if (!(span <= 4 || be32_to_cpu(entry->hashval) == hashval)) { in xfs_attr3_leaf_lookup_int()
2460 while (probe > 0 && be32_to_cpu(entry->hashval) >= hashval) { in xfs_attr3_leaf_lookup_int()
2465 be32_to_cpu(entry->hashval) < hashval) { in xfs_attr3_leaf_lookup_int()
2640 entry_d->hashval = entry_s->hashval; in xfs_attr3_leaf_moveents()
[all …]
A Dxfs_dir2_block.c454 if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval) in xfs_dir2_block_addname()
456 if (hash < args->hashval) in xfs_dir2_block_addname()
461 while (mid >= 0 && be32_to_cpu(blp[mid].hashval) >= args->hashval) { in xfs_dir2_block_addname()
555 blp[mid].hashval = cpu_to_be32(args->hashval); in xfs_dir2_block_addname()
713 if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval) in xfs_dir2_block_lookup_int()
715 if (hash < args->hashval) in xfs_dir2_block_lookup_int()
728 while (mid > 0 && be32_to_cpu(blp[mid - 1].hashval) == args->hashval) { in xfs_dir2_block_lookup_int()
757 be32_to_cpu(blp[mid].hashval) == hash); in xfs_dir2_block_lookup_int()
914 return be32_to_cpu(la->hashval) < be32_to_cpu(lb->hashval) ? -1 : in xfs_dir2_block_sort()
915 (be32_to_cpu(la->hashval) > be32_to_cpu(lb->hashval) ? 1 : 0); in xfs_dir2_block_sort()
[all …]
A Dxfs_dir2_node.c536 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()
538 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()
564 lep->hashval = cpu_to_be32(args->hashval); in xfs_dir2_leafn_add()
677 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_addname()
825 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_entry()
1046 (be32_to_cpu(ents2[0].hashval) < be32_to_cpu(ents1[0].hashval) || in xfs_dir2_leafn_order()
1048 be32_to_cpu(ents1[hdr1.count - 1].hashval))) in xfs_dir2_leafn_order()
1114 midhash = be32_to_cpu(ents1[mid].hashval); in xfs_dir2_leafn_rebalance()
1115 isleft = args->hashval <= midhash; in xfs_dir2_leafn_rebalance()
1651 drop_blk->hashval = be32_to_cpu(dents[drophdr.count - 1].hashval); in xfs_dir2_leafn_unbalance()
[all …]
A Dxfs_da_btree.h64 xfs_dahash_t hashval; /* hash value of name */ member
120 xfs_dahash_t hashval; /* last hash value in block */ member
A Dxfs_da_format.h82 __be32 hashval; /* hash value for this descendant */ member
429 __be32 hashval; /* hash value of name */ member
614 __be32 hashval; /* hash value of name */ member
A Dxfs_dir2_leaf.c173 if (be32_to_cpu(hdr->ents[i].hashval) > in xfs_dir3_leaf_check_int()
174 be32_to_cpu(hdr->ents[i + 1].hashval)) in xfs_dir3_leaf_check_int()
674 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_addname()
900 lep->hashval = cpu_to_be32(args->hashval); in xfs_dir2_leaf_addname()
1259 be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_lookup_int()
1564 hashwant = args->hashval; in xfs_dir2_leaf_search_hash()
1567 if ((hash = be32_to_cpu(lep[mid].hashval)) == hashwant) in xfs_dir2_leaf_search_hash()
1578 while (mid > 0 && be32_to_cpu(lep[mid - 1].hashval) == hashwant) { in xfs_dir2_leaf_search_hash()
A Dxfs_dir2.c283 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_createname()
379 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_lookup()
451 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_removename()
512 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_replace()
A Dxfs_attr.h35 __u32 hashval; /* hash value of next entry to add */ member
A Dxfs_dir2_data.c241 be32_to_cpu(lep[i].hashval) == hash) in __xfs_dir3_data_check()
260 if (i > 0 && be32_to_cpu(lep[i].hashval) < in __xfs_dir3_data_check()
261 be32_to_cpu(lep[i - 1].hashval)) in __xfs_dir3_data_check()
A Dxfs_attr.c269 args->hashval = xfs_da_hashname(args->name, args->namelen); in xfs_attr_get()
983 args->hashval = xfs_da_hashname(args->name, args->namelen); in xfs_attr_set()
/linux-6.3-rc2/fs/xfs/scrub/
A Ddabtree.c116 parent_hash = be32_to_cpu(entry->hashval); in xchk_da_btree_hash()
392 blk->hashval = xfs_attr_leaf_lasthash(blk->bp, pmaxrecs); in xchk_da_btree_block()
401 blk->hashval = xfs_dir2_leaf_lasthash(ip, blk->bp, pmaxrecs); in xchk_da_btree_block()
410 blk->hashval = xfs_dir2_leaf_lasthash(ip, blk->bp, pmaxrecs); in xchk_da_btree_block()
423 blk->hashval = be32_to_cpu(btree[*pmaxrecs - 1].hashval); in xchk_da_btree_block()
452 if (be32_to_cpu(key->hashval) != blk->hashval) { in xchk_da_btree_block()
561 error = xchk_da_btree_hash(ds, level, &key->hashval); in xchk_da_btree()
A Dattr.c157 args.hashval = xfs_da_hashname(args.name, args.namelen); in xchk_xattr_listent()
265 if (be32_to_cpu(ent->hashval) < *last_hashval) in xchk_xattr_entry()
267 *last_hashval = be32_to_cpu(ent->hashval); in xchk_xattr_entry()
428 error = xchk_da_btree_hash(ds, level, &ent->hashval); in xchk_xattr_rec()
442 hash = be32_to_cpu(ent->hashval); in xchk_xattr_rec()
A Ddir.c231 error = xchk_da_btree_hash(ds, level, &ent->hashval); in xchk_dir_rec()
292 hash = be32_to_cpu(ent->hashval); in xchk_dir_rec()
564 hash = be32_to_cpu(leafhdr.ents[i].hashval); in xchk_directory_leaf1_bestfree()
/linux-6.3-rc2/fs/
A Dinode.c513 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in hash()
527 void __insert_inode_hash(struct inode *inode, unsigned long hashval) in __insert_inode_hash() argument
1239 struct inode *inode = ilookup5(sb, hashval, test, data); in iget5_locked()
1246 inode = inode_insert5(new, hashval, test, set, data); in iget5_locked()
1425 struct hlist_head *head = inode_hashtable + hash(sb, hashval); in ilookup5_nowait()
1458 inode = ilookup5_nowait(sb, hashval, test, data); in ilookup5()
1524 unsigned long hashval, in find_inode_nowait() argument
1529 struct hlist_head *head = inode_hashtable + hash(sb, hashval); in find_inode_nowait()
1537 mval = match(inode, hashval, data); in find_inode_nowait()
1574 struct hlist_head *head = inode_hashtable + hash(sb, hashval); in find_inode_rcu()
[all …]
/linux-6.3-rc2/include/trace/events/
A Dkmem.h314 unsigned long hashval; in mm_ptr_to_hash() local
316 ret = ptr_to_hashval(ptr, &hashval); in mm_ptr_to_hash()
321 return (unsigned int)hashval; in mm_ptr_to_hash()
/linux-6.3-rc2/fs/btrfs/
A Dcheck-integrity.c442 const unsigned int hashval = in btrfsic_block_hashtable_add() local
447 list_add(&b->collision_resolving_node, h->table + hashval); in btrfsic_block_hashtable_add()
460 const unsigned int hashval = in btrfsic_block_hashtable_lookup() local
466 list_for_each_entry(b, h->table + hashval, collision_resolving_node) { in btrfsic_block_hashtable_lookup()
487 const unsigned int hashval = in btrfsic_block_link_hashtable_add() local
496 list_add(&l->collision_resolving_node, h->table + hashval); in btrfsic_block_link_hashtable_add()
511 const unsigned int hashval = in btrfsic_block_link_hashtable_lookup() local
519 list_for_each_entry(l, h->table + hashval, collision_resolving_node) { in btrfsic_block_link_hashtable_lookup()
545 const unsigned int hashval = in btrfsic_dev_state_hashtable_add() local
549 list_add(&ds->collision_resolving_node, h->table + hashval); in btrfsic_dev_state_hashtable_add()
[all …]
/linux-6.3-rc2/fs/ksmbd/
A Dvfs_cache.c59 static unsigned long inode_hash(struct super_block *sb, unsigned long hashval) in inode_hash() argument
63 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in inode_hash()
/linux-6.3-rc2/lib/
A Dvsprintf.c778 unsigned long hashval; in subsys_initcall() local
787 hashval = (unsigned long)siphash_1u64((u64)ptr, &ptr_key); in subsys_initcall()
792 hashval = hashval & 0xffffffff; in subsys_initcall()
794 hashval = (unsigned long)siphash_1u32((u32)ptr, &ptr_key); in subsys_initcall()
796 *hashval_out = hashval; in subsys_initcall()
809 unsigned long hashval; in ptr_to_id() local
821 hashval = hash_long((unsigned long)ptr, 32); in ptr_to_id()
822 return pointer_string(buf, end, (const void *)hashval, spec); in ptr_to_id()
825 ret = __ptr_to_hashval(ptr, &hashval); in ptr_to_id()
832 return pointer_string(buf, end, (const void *)hashval, spec); in ptr_to_id()
/linux-6.3-rc2/fs/isofs/
A Dinode.c1529 unsigned long hashval; in __isofs_iget() local
1540 hashval = (block << sb->s_blocksize_bits) | offset; in __isofs_iget()
1542 inode = iget5_locked(sb, hashval, &isofs_iget5_test, in __isofs_iget()
/linux-6.3-rc2/include/linux/
A Dfs.h2621 unsigned long hashval, int (*test)(struct inode *, void *),
2623 extern struct inode *ilookup5(struct super_block *sb, unsigned long hashval,
2627 extern struct inode *inode_insert5(struct inode *inode, unsigned long hashval,
2689 extern void __insert_inode_hash(struct inode *, unsigned long hashval);
/linux-6.3-rc2/net/sunrpc/auth_gss/
A Dauth_gss.c1178 unsigned long hashval = (unsigned long)clnt; in gss_auth_find_or_add_hashed() local
1184 hashval) { in gss_auth_find_or_add_hashed()
1202 hash_add(gss_auth_hash_table, &new->hash, hashval); in gss_auth_find_or_add_hashed()

Completed in 82 milliseconds

12