Home
last modified time | relevance | path

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

/fs/xfs/
A Dxfs_attr_list.c167 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()
379 entries[0].hashval)) { in xfs_attr_node_list()
459 if (be32_to_cpu(entry->hashval) == cursor->hashval) { in xfs_attr3_leaf_list_int()
466 cursor->hashval) { in xfs_attr3_leaf_list_int()
489 if (be32_to_cpu(entry->hashval) != cursor->hashval) { in xfs_attr3_leaf_list_int()
[all …]
A Dxfs_trace.h119 __field(u32, hashval)
132 __entry->hashval = ctx->cursor.hashval;
145 __entry->hashval,
617 __field(u32, hashval)
632 __entry->hashval = ctx->cursor.hashval;
648 __entry->hashval,
2320 __entry->hashval = args->hashval;
2332 __entry->hashval,
2388 __entry->hashval = args->hashval;
2400 __entry->hashval,
[all …]
A Dxfs_handle.c454 (context.cursor.hashval || context.cursor.blkno || in xfs_ioc_attr_list()
/fs/xfs/libxfs/
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()
1054 blk1->hashval = be32_to_cpu(btree1[nodehdr1.count - 1].hashval); in xfs_da3_node_rebalance()
1101 btree[oldblk->index].hashval = cpu_to_be32(newblk->hashval); in xfs_da3_node_add()
1554 drop_blk->hashval = be32_to_cpu(btree[index - 1].hashval); in xfs_da3_node_remove()
1760 blk->hashval = be32_to_cpu(btree[max - 1].hashval); in xfs_da3_node_lookup_int()
1766 hashval = args->hashval; in xfs_da3_node_lookup_int()
1779 (be32_to_cpu(btree[probe].hashval) == hashval)); in xfs_da3_node_lookup_int()
1786 be32_to_cpu(btree[probe].hashval) >= hashval) { in xfs_da3_node_lookup_int()
1790 be32_to_cpu(btree[probe].hashval) < hashval) { in xfs_da3_node_lookup_int()
[all …]
A Dxfs_attr_leaf.c256 hashval = be32_to_cpu(ent->hashval); in xfs_attr3_leaf_verify_entry()
1196 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()
2435 hashval = args->hashval; in xfs_attr3_leaf_lookup_int()
2439 if (be32_to_cpu(entry->hashval) < hashval) in xfs_attr3_leaf_lookup_int()
2441 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()
2461 while (probe > 0 && be32_to_cpu(entry->hashval) >= hashval) { in xfs_attr3_leaf_lookup_int()
2466 be32_to_cpu(entry->hashval) < hashval) { in xfs_attr3_leaf_lookup_int()
2646 entry_d->hashval = entry_s->hashval; in xfs_attr3_leaf_moveents()
[all …]
A Dxfs_dir2_block.c461 if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval) in xfs_dir2_block_addname()
463 if (hash < args->hashval) in xfs_dir2_block_addname()
468 while (mid >= 0 && be32_to_cpu(blp[mid].hashval) >= args->hashval) { in xfs_dir2_block_addname()
562 blp[mid].hashval = cpu_to_be32(args->hashval); in xfs_dir2_block_addname()
720 if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval) in xfs_dir2_block_lookup_int()
722 if (hash < args->hashval) in xfs_dir2_block_lookup_int()
735 while (mid > 0 && be32_to_cpu(blp[mid - 1].hashval) == args->hashval) { in xfs_dir2_block_lookup_int()
764 be32_to_cpu(blp[mid].hashval) == hash); in xfs_dir2_block_lookup_int()
921 return be32_to_cpu(la->hashval) < be32_to_cpu(lb->hashval) ? -1 : in xfs_dir2_block_sort()
922 (be32_to_cpu(la->hashval) > be32_to_cpu(lb->hashval) ? 1 : 0); in xfs_dir2_block_sort()
[all …]
A Dxfs_dir2_node.c544 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()
546 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()
572 lep->hashval = cpu_to_be32(args->hashval); in xfs_dir2_leafn_add()
685 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_addname()
835 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_entry()
1056 (be32_to_cpu(ents2[0].hashval) < be32_to_cpu(ents1[0].hashval) || in xfs_dir2_leafn_order()
1058 be32_to_cpu(ents1[hdr1.count - 1].hashval))) in xfs_dir2_leafn_order()
1124 midhash = be32_to_cpu(ents1[mid].hashval); in xfs_dir2_leafn_rebalance()
1125 isleft = args->hashval <= midhash; in xfs_dir2_leafn_rebalance()
1662 drop_blk->hashval = be32_to_cpu(dents[drophdr.count - 1].hashval); in xfs_dir2_leafn_unbalance()
[all …]
A Dxfs_dir2_leaf.c174 if (be32_to_cpu(hdr->ents[i].hashval) > in xfs_dir3_leaf_check_int()
175 be32_to_cpu(hdr->ents[i + 1].hashval)) in xfs_dir3_leaf_check_int()
726 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_addname()
952 lep->hashval = cpu_to_be32(args->hashval); in xfs_dir2_leaf_addname()
1312 be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_lookup_int()
1619 hashwant = args->hashval; in xfs_dir2_leaf_search_hash()
1622 if ((hash = be32_to_cpu(lep[mid].hashval)) == hashwant) in xfs_dir2_leaf_search_hash()
1633 while (mid > 0 && be32_to_cpu(lep[mid - 1].hashval) == hashwant) { in xfs_dir2_leaf_search_hash()
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()
A Dxfs_da_format.h82 __be32 hashval; /* hash value for this descendant */ member
440 __be32 hashval; /* hash value of name */ member
630 __be32 hashval; /* hash value of name */ member
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
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()
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()
A Dxfs_metadir.c95 .hashval = xfs_dir2_hashname(mp, xname), in xfs_metadir_lookup()
/fs/xfs/scrub/
A Ddabtree.c133 parent_hash = be32_to_cpu(entry->hashval); in xchk_da_btree_hash()
410 blk->hashval = xfs_attr_leaf_lasthash(blk->bp, pmaxrecs); in xchk_da_btree_block()
419 blk->hashval = xfs_dir2_leaf_lasthash(ip, blk->bp, pmaxrecs); in xchk_da_btree_block()
428 blk->hashval = xfs_dir2_leaf_lasthash(ip, blk->bp, pmaxrecs); in xchk_da_btree_block()
441 blk->hashval = be32_to_cpu(btree[*pmaxrecs - 1].hashval); in xchk_da_btree_block()
476 if (be32_to_cpu(key->hashval) != blk->hashval) { in xchk_da_btree_block()
586 error = xchk_da_btree_hash(ds, level, &key->hashval); in xchk_da_btree()
A Dattr.c344 if (be32_to_cpu(ent->hashval) < *last_hashval) in xchk_xattr_entry()
346 *last_hashval = be32_to_cpu(ent->hashval); in xchk_xattr_entry()
510 error = xchk_da_btree_hash(ds, level, &ent->hashval); in xchk_xattr_rec()
524 hash = be32_to_cpu(ent->hashval); in xchk_xattr_rec()
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()
A Dreaddir.c320 .hashval = xfs_dir2_hashname(dp->i_mount, name), in xchk_dir_lookup()
A Ddir_repair.c683 rd->args.hashval = xfs_dir2_hashname(rd->sc->mp, name); in xrep_dir_init_args()
/fs/
A Dinode.c649 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in hash()
1352 struct inode *inode = ilookup5(sb, hashval, test, data); in iget5_locked()
1358 inode = inode_insert5(new, hashval, test, set, data); in iget5_locked()
1382 struct hlist_head *head = inode_hashtable + hash(sb, hashval); in iget5_locked_rcu()
1400 inode = inode_insert5(new, hashval, test, set, data); in iget5_locked_rcu()
1576 struct hlist_head *head = inode_hashtable + hash(sb, hashval); in ilookup5_nowait()
1609 inode = ilookup5_nowait(sb, hashval, test, data); in ilookup5()
1673 unsigned long hashval, in find_inode_nowait() argument
1678 struct hlist_head *head = inode_hashtable + hash(sb, hashval); in find_inode_nowait()
1686 mval = match(inode, hashval, data); in find_inode_nowait()
[all …]
/fs/smb/server/
A Dvfs_cache.c66 static unsigned long inode_hash(struct super_block *sb, unsigned long hashval) in inode_hash() argument
70 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in inode_hash()
/fs/isofs/
A Dinode.c1499 unsigned long hashval; in __isofs_iget() local
1510 hashval = (block << sb->s_blocksize_bits) | offset; in __isofs_iget()
1512 inode = iget5_locked(sb, hashval, &isofs_iget5_test, in __isofs_iget()
/fs/ext4/
A Dnamei.c1161 __u32 hashval; in ext4_htree_fill_tree() local
1236 hashval = ~0; in ext4_htree_fill_tree()
1238 frame, frames, &hashval); in ext4_htree_fill_tree()
1239 *next_hash = hashval; in ext4_htree_fill_tree()
1250 (count && ((hashval & 1) == 0))) in ext4_htree_fill_tree()
/fs/nfsd/
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()
/fs/btrfs/
A Dinode.c5740 unsigned long hashval = btrfs_inode_hash(ino, root); in btrfs_iget_locked() local
5745 inode = iget5_locked_rcu(root->fs_info->sb, hashval, btrfs_find_actor, in btrfs_iget_locked()

Completed in 99 milliseconds