| /linux/fs/xfs/libxfs/ |
| H A D | xfs_da_btree.c | 804 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 D | xfs_attr_leaf.c | 310 __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() 1296 nargs.hashval = be32_to_cpu(entry->hashval); in xfs_attr3_leaf_to_shortform() 1364 icnodehdr.btree[0].hashval = entries[icleafhdr.count - 1].hashval; in xfs_attr3_leaf_to_node() 1512 oldblk->hashval = xfs_attr_leaf_lasthash(oldblk->bp, NULL); in xfs_attr3_leaf_split() 1513 newblk->hashval = xfs_attr_leaf_lasthash(newblk->bp, NULL); in xfs_attr3_leaf_split() 1651 entry->hashval = cpu_to_be32(args->hashval); in xfs_attr3_leaf_add_work() 1666 (be32_to_cpu(entry->hashval) >= be32_to_cpu((entry-1)->hashval))); in xfs_attr3_leaf_add_work() [all …]
|
| H A D | xfs_attr.h | 35 __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 D | xfs_da_btree.h | 74 xfs_dahash_t hashval; /* hash value of name */ member 122 xfs_dahash_t hashval; /* last hash value in block */ member
|
| H A D | xfs_dir2_data.c | 263 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()
|
| /linux/fs/ |
| H A D | inode.c | 655 static unsigned long hash(struct super_block *sb, u64 hashval) in hash() argument 659 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in hash() 673 void __insert_inode_hash(struct inode *inode, u64 hashval) in __insert_inode_hash() argument 675 struct hlist_head *b = inode_hashtable + hash(inode->i_sb, hashval); in __insert_inode_hash() 1296 struct inode *inode_insert5(struct inode *inode, u64 hashval, in inode_insert5() argument 1300 struct hlist_head *head = inode_hashtable + hash(inode->i_sb, hashval); in inode_insert5() 1373 struct inode *iget5_locked(struct super_block *sb, u64 hashval, in iget5_locked() argument 1377 struct inode *inode = ilookup5(sb, hashval, test, data); in iget5_locked() 1383 inode = inode_insert5(new, hashval, test, set, data); in iget5_locked() 1403 struct inode *iget5_locked_rcu(struct super_block *sb, u64 hashval, in iget5_locked_rcu() argument [all …]
|
| /linux/tools/testing/selftests/vDSO/ |
| H A D | parse_vdso.c | 269 uint32_t h1 = gnu_hash(name), h2, *hashval; in vdso_sym() 275 hashval = vdso_info.gnu_bucket + vdso_info.nbucket + in vdso_sym() 279 h2 = *hashval++; in vdso_sym() 270 uint32_t h1 = gnu_hash(name), h2, *hashval; vdso_sym() local
|
| /linux/include/trace/events/ |
| H A D | kmem.h | 395 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/include/linux/ |
| H A D | fs.h | 2983 struct inode *ilookup5_nowait(struct super_block *sb, u64 hashval, 2986 struct inode *ilookup5(struct super_block *sb, u64 hashval, 2990 struct inode *inode_insert5(struct inode *inode, u64 hashval, 2993 struct inode *iget5_locked(struct super_block *sb, u64 hashval, 2996 struct inode *iget5_locked_rcu(struct super_block *sb, u64 hashval, 3000 struct inode *find_inode_nowait(struct super_block *sb, u64 hashval, 3003 struct inode *find_inode_rcu(struct super_block *sb, u64 hashval, 3006 int insert_inode_locked4(struct inode *inode, u64 hashval, 3062 void __insert_inode_hash(struct inode *inode, u64 hashval); in insert_inode_hash()
|
| /linux/fs/xfs/scrub/ |
| H A D | dir.c | 348 error = xchk_da_btree_hash(ds, level, &ent->hashval); in xchk_dir_rec() 409 hash = be32_to_cpu(ent->hashval); in xchk_dir_rec() 691 hash = be32_to_cpu(leafhdr.ents[i].hashval); in xchk_directory_leaf1_bestfree()
|
| H A D | dir_repair.c | 693 rd->args.hashval = xfs_dir2_hashname(rd->sc->mp, name); in xrep_dir_init_args()
|
| /linux/fs/xfs/ |
| H A D | xfs_trace.h | 123 __field(u32, hashval) 136 __entry->hashval = ctx->cursor.hashval; 149 __entry->hashval, 623 __field(u32, hashval) 638 __entry->hashval = ctx->cursor.hashval; 646 __entry->bt_hashval = be32_to_cpu(btree->hashval); 654 __entry->hashval, 2340 __field(xfs_dahash_t, hashval) 2351 __entry->hashval = args->hashval; 2363 __entry->hashval, [all …]
|
| /linux/fs/smb/server/ |
| H A D | vfs_cache.c | 230 static unsigned long inode_hash(struct super_block *sb, unsigned long hashval) in inode_hash() argument 234 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in inode_hash()
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | auth_gss.c | 1172 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/ext4/ |
| H A D | namei.c | 1161 __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()
|
| /linux/fs/nfsd/ |
| H A D | nfs4state.c | 584 find_openstateowner_str(unsigned int hashval, struct nfsd4_open *open, in find_openstateowner_str() argument 591 list_for_each_entry(so, &clp->cl_ownerstr_hashtbl[hashval], in find_openstateowner_str()
|
| /linux/fs/btrfs/ |
| H A D | inode.c | 5959 unsigned long hashval = btrfs_inode_hash(ino, root); in btrfs_iget_locked() local 5964 inode = iget5_locked_rcu(root->fs_info->sb, hashval, btrfs_find_actor, in btrfs_iget_locked()
|