Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
H A Dxfs_da_btree.c648 * Update the btree to show the new hashval for this child. in xfs_da3_split()
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()
887 * (updating last hashval in the process). in xfs_da3_node_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()
1689 xfs_dahash_t hashval; xfs_da3_node_lookup_int() local
[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()
1309 nargs.hashval = be32_to_cpu(entry->hashval);
1377 icnodehdr.btree[0].hashval = entries[icleafhdr.count - 1].hashval;
1523 * Update last hashval i
2568 xfs_dahash_t hashval; xfs_attr3_leaf_lookup_int() local
[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_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()
/linux/fs/
H A Dinode.c654 static unsigned long hash(struct super_block *sb, u64 hashval)
658 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in hash()
667 * @hashval: u64 value used to locate this object in the
672 void __insert_inode_hash(struct inode *inode, u64 hashval)
674 struct hlist_head *b = inode_hashtable + hash(inode->i_sb, hashval); in __insert_inode_hash()
1302 * @hashval: hash value (usually inode number) to get in inode_insert5()
1307 * Search for the inode specified by @hashval and @data in the inode cache, in inode_insert5()
1318 struct inode *inode_insert5(struct inode *inode, u64 hashval, in inode_insert5()
1322 struct hlist_head *head = inode_hashtable + hash(inode->i_sb, hashval); in inode_insert5()
655 hash(struct super_block * sb,u64 hashval) hash() argument
673 __insert_inode_hash(struct inode * inode,u64 hashval) __insert_inode_hash() argument
1296 inode_insert5(struct inode * inode,u64 hashval,int (* test)(struct inode *,void *),int (* set)(struct inode *,void *),void * data) inode_insert5() argument
1373 iget5_locked(struct super_block * sb,u64 hashval,int (* test)(struct inode *,void *),int (* set)(struct inode *,void *),void * data) iget5_locked() argument
1403 iget5_locked_rcu(struct super_block * sb,u64 hashval,int (* test)(struct inode *,void *),int (* set)(struct inode *,void *),void * data) iget5_locked_rcu() argument
1667 ilookup5_nowait(struct super_block * sb,u64 hashval,int (* test)(struct inode *,void *),void * data,bool * isnew) ilookup5_nowait() argument
1698 ilookup5(struct super_block * sb,u64 hashval,int (* test)(struct inode *,void *),void * data) ilookup5() argument
1777 find_inode_nowait(struct super_block * sb,u64 hashval,int (* match)(struct inode *,u64,void *),void * data) find_inode_nowait() argument
1824 find_inode_rcu(struct super_block * sb,u64 hashval,int (* test)(struct inode *,void *),void * data) find_inode_rcu() argument
1935 insert_inode_locked4(struct inode * inode,u64 hashval,int (* test)(struct inode *,void *),void * data) insert_inode_locked4() argument
[all...]
/linux/tools/testing/selftests/vDSO/
H A Dparse_vdso.c269 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 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/include/linux/
H A Dfs.h2992 struct inode *ilookup5_nowait(struct super_block *sb, u64 hashval,
2995 struct inode *ilookup5(struct super_block *sb, u64 hashval,
2999 struct inode *inode_insert5(struct inode *inode, u64 hashval,
3002 struct inode *iget5_locked(struct super_block *sb, u64 hashval,
3005 struct inode *iget5_locked_rcu(struct super_block *sb, u64 hashval,
3009 struct inode *find_inode_nowait(struct super_block *sb, u64 hashval,
3012 struct inode *find_inode_rcu(struct super_block *sb, u64 hashval,
3015 int insert_inode_locked4(struct inode *inode, u64 hashval,
3071 void __insert_inode_hash(struct inode *inode, u64 hashval); in remove_inode_hash()
/linux/fs/xfs/scrub/
H A Ddir.c421 error = xchk_da_btree_hash(ds, level, &ent->hashval); in xchk_dir_rec()
496 hash = be32_to_cpu(ent->hashval); in xchk_directory_data_bestfree()
785 hash = be32_to_cpu(leafhdr.ents[i].hashval); in xchk_directory_free_bestfree()
H A Ddir_repair.c755 rd->args.hashval = xfs_dir2_hashname(rd->sc->mp, name); in xrep_dir_replay_update()
/linux/fs/xfs/
H A Dxfs_trace.h123 __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);
651 "node hashval %u, node before %u",
654 __entry->hashval,
[all...]
H A Dxfs_handle.c432 (context.cursor.hashval || context.cursor.blkno || in xfs_ioc_attr_list()
/linux/fs/smb/server/
H A Dvfs_cache.c306 static unsigned long inode_hash(struct super_block *sb, unsigned long hashval) in ksmbd_inode_pending_delete()
310 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in ksmbd_inode_pending_delete()
230 inode_hash(struct super_block * sb,unsigned long hashval) inode_hash() argument
/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/ext4/
H A Dnamei.c1003 __u32 hashval; in ext4_htree_next_block()
1081 hashval = ~0; in htree_dirblock_to_tree()
1083 frame, frames, &hashval); in htree_dirblock_to_tree()
1084 *next_hash = hashval; in htree_dirblock_to_tree()
1095 (count && ((hashval & 1) == 0))) in htree_dirblock_to_tree()
1161 __u32 hashval; ext4_htree_fill_tree() local
/linux/fs/nfsd/
H A Dnfs4state.c588 find_openstateowner_str(unsigned int hashval, struct nfsd4_open *open, in find_openstateowner_str()
595 list_for_each_entry(so, &clp->cl_ownerstr_hashtbl[hashval], in find_openstateowner_str()
584 find_openstateowner_str(unsigned int hashval,struct nfsd4_open * open,struct nfs4_client * clp) find_openstateowner_str() argument
/linux/fs/btrfs/
H A Dinode.c5880 unsigned long hashval = btrfs_inode_hash(ino, root); in fixup_tree_root_location()
5885 inode = iget5_locked_rcu(root->fs_info->sb, hashval, btrfs_find_actor, in fixup_tree_root_location()
5959 unsigned long hashval = btrfs_inode_hash(ino, root); btrfs_iget_locked() local