Lines Matching refs:name_hash
169 void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash);
1491 static void ocfs2_xa_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_add_entry() argument
1493 loc->xl_ops->xlo_add_entry(loc, name_hash); in ocfs2_xa_add_entry()
1494 loc->xl_entry->xe_name_hash = cpu_to_le32(name_hash); in ocfs2_xa_add_entry()
1656 static void ocfs2_xa_block_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_block_add_entry() argument
1809 static void ocfs2_xa_bucket_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_bucket_add_entry() argument
1824 if (name_hash > le32_to_cpu(tmp_xe->xe_name_hash)) in ocfs2_xa_bucket_add_entry()
1826 else if (name_hash < le32_to_cpu(tmp_xe->xe_name_hash)) in ocfs2_xa_bucket_add_entry()
2123 u32 name_hash, in ocfs2_xa_prepare_entry() argument
2156 ocfs2_xa_add_entry(loc, name_hash); in ocfs2_xa_prepare_entry()
2225 u32 name_hash = ocfs2_xattr_name_hash(loc->xl_inode, xi->xi_name, in ocfs2_xa_set() local
2247 ret = ocfs2_xa_prepare_entry(loc, xi, name_hash, ctxt); in ocfs2_xa_set()
3684 u32 name_hash, in ocfs2_xattr_get_rec() argument
3697 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, name_hash, in ocfs2_xattr_get_rec()
3719 if (le32_to_cpu(rec->e_cpos) <= name_hash) { in ocfs2_xattr_get_rec()
3750 u32 name_hash, in ocfs2_find_xe_in_bucket() argument
3767 if (name_hash > le32_to_cpu(xe->xe_name_hash)) in ocfs2_find_xe_in_bucket()
3769 else if (name_hash < le32_to_cpu(xe->xe_name_hash)) in ocfs2_find_xe_in_bucket()
3813 u32 name_hash, in ocfs2_xattr_bucket_find() argument
3856 if (name_hash < le32_to_cpu(xe->xe_name_hash)) { in ocfs2_xattr_bucket_find()
3872 if (name_hash > le32_to_cpu(xe->xe_name_hash)) { in ocfs2_xattr_bucket_find()
3879 name_index, name, name_hash, in ocfs2_xattr_bucket_find()
3910 name, name_index, name_hash, in ocfs2_xattr_bucket_find()
3934 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name)); in ocfs2_xattr_index_block_find() local
3940 name, name_index, name_hash, in ocfs2_xattr_index_block_find()
3944 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, &first_hash, in ocfs2_xattr_index_block_find()
3951 BUG_ON(p_blkno == 0 || num_clusters == 0 || first_hash > name_hash); in ocfs2_xattr_index_block_find()
3958 ret = ocfs2_xattr_bucket_find(inode, name_index, name, name_hash, in ocfs2_xattr_index_block_find()
4088 u32 name_hash = UINT_MAX, e_cpos = 0, num_clusters = 0; in ocfs2_iterate_xattr_index_block() local
4094 while (name_hash > 0) { in ocfs2_iterate_xattr_index_block()
4095 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, in ocfs2_iterate_xattr_index_block()
4113 name_hash = e_cpos - 1; in ocfs2_iterate_xattr_index_block()
5276 u32 name_hash = in ocfs2_add_new_xattr_bucket() local
5296 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, &e_cpos, in ocfs2_add_new_xattr_bucket()
5521 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name)); in ocfs2_check_xattr_bucket_collision() local
5523 if (name_hash != le32_to_cpu(xh->xh_entries[0].xe_name_hash)) in ocfs2_check_xattr_bucket_collision()