Lines Matching refs:name_hash

179 	void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash);
1476 static void ocfs2_xa_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_add_entry() argument
1478 loc->xl_ops->xlo_add_entry(loc, name_hash); in ocfs2_xa_add_entry()
1479 loc->xl_entry->xe_name_hash = cpu_to_le32(name_hash); in ocfs2_xa_add_entry()
1641 static void ocfs2_xa_block_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_block_add_entry() argument
1794 static void ocfs2_xa_bucket_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_bucket_add_entry() argument
1809 if (name_hash > le32_to_cpu(tmp_xe->xe_name_hash)) in ocfs2_xa_bucket_add_entry()
1811 else if (name_hash < le32_to_cpu(tmp_xe->xe_name_hash)) in ocfs2_xa_bucket_add_entry()
2108 u32 name_hash, in ocfs2_xa_prepare_entry() argument
2141 ocfs2_xa_add_entry(loc, name_hash); in ocfs2_xa_prepare_entry()
2210 u32 name_hash = ocfs2_xattr_name_hash(loc->xl_inode, xi->xi_name, in ocfs2_xa_set() local
2232 ret = ocfs2_xa_prepare_entry(loc, xi, name_hash, ctxt); in ocfs2_xa_set()
3667 u32 name_hash, in ocfs2_xattr_get_rec() argument
3680 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, name_hash, in ocfs2_xattr_get_rec()
3702 if (le32_to_cpu(rec->e_cpos) <= name_hash) { in ocfs2_xattr_get_rec()
3733 u32 name_hash, in ocfs2_find_xe_in_bucket() argument
3750 if (name_hash > le32_to_cpu(xe->xe_name_hash)) in ocfs2_find_xe_in_bucket()
3752 else if (name_hash < le32_to_cpu(xe->xe_name_hash)) in ocfs2_find_xe_in_bucket()
3796 u32 name_hash, in ocfs2_xattr_bucket_find() argument
3840 if (name_hash < le32_to_cpu(xe->xe_name_hash)) { in ocfs2_xattr_bucket_find()
3858 if (name_hash > le32_to_cpu(xe->xe_name_hash)) { in ocfs2_xattr_bucket_find()
3865 name_index, name, name_hash, in ocfs2_xattr_bucket_find()
3896 name, name_index, name_hash, in ocfs2_xattr_bucket_find()
3920 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name)); in ocfs2_xattr_index_block_find() local
3926 name, name_index, name_hash, in ocfs2_xattr_index_block_find()
3930 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, &first_hash, in ocfs2_xattr_index_block_find()
3937 BUG_ON(p_blkno == 0 || num_clusters == 0 || first_hash > name_hash); in ocfs2_xattr_index_block_find()
3944 ret = ocfs2_xattr_bucket_find(inode, name_index, name, name_hash, in ocfs2_xattr_index_block_find()
4076 u32 name_hash = UINT_MAX, e_cpos = 0, num_clusters = 0; in ocfs2_iterate_xattr_index_block() local
4082 while (name_hash > 0) { in ocfs2_iterate_xattr_index_block()
4083 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, in ocfs2_iterate_xattr_index_block()
4101 name_hash = e_cpos - 1; in ocfs2_iterate_xattr_index_block()
5264 u32 name_hash = in ocfs2_add_new_xattr_bucket() local
5284 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, &e_cpos, in ocfs2_add_new_xattr_bucket()
5509 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name)); in ocfs2_check_xattr_bucket_collision() local
5511 if (name_hash != le32_to_cpu(xh->xh_entries[0].xe_name_hash)) in ocfs2_check_xattr_bucket_collision()