Lines Matching refs:name_hash
165 void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash);
1496 static void ocfs2_xa_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_add_entry() argument
1498 loc->xl_ops->xlo_add_entry(loc, name_hash); in ocfs2_xa_add_entry()
1499 loc->xl_entry->xe_name_hash = cpu_to_le32(name_hash); in ocfs2_xa_add_entry()
1661 static void ocfs2_xa_block_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_block_add_entry() argument
1814 static void ocfs2_xa_bucket_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_bucket_add_entry() argument
1829 if (name_hash > le32_to_cpu(tmp_xe->xe_name_hash)) in ocfs2_xa_bucket_add_entry()
1831 else if (name_hash < le32_to_cpu(tmp_xe->xe_name_hash)) in ocfs2_xa_bucket_add_entry()
2127 u32 name_hash, in ocfs2_xa_prepare_entry() argument
2160 ocfs2_xa_add_entry(loc, name_hash); in ocfs2_xa_prepare_entry()
2229 u32 name_hash = ocfs2_xattr_name_hash(loc->xl_inode, xi->xi_name, in ocfs2_xa_set() local
2251 ret = ocfs2_xa_prepare_entry(loc, xi, name_hash, ctxt); in ocfs2_xa_set()
3688 u32 name_hash, in ocfs2_xattr_get_rec() argument
3701 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, name_hash, in ocfs2_xattr_get_rec()
3723 if (le32_to_cpu(rec->e_cpos) <= name_hash) { in ocfs2_xattr_get_rec()
3754 u32 name_hash, in ocfs2_find_xe_in_bucket() argument
3771 if (name_hash > le32_to_cpu(xe->xe_name_hash)) in ocfs2_find_xe_in_bucket()
3773 else if (name_hash < le32_to_cpu(xe->xe_name_hash)) in ocfs2_find_xe_in_bucket()
3817 u32 name_hash, in ocfs2_xattr_bucket_find() argument
3860 if (name_hash < le32_to_cpu(xe->xe_name_hash)) { in ocfs2_xattr_bucket_find()
3876 if (name_hash > le32_to_cpu(xe->xe_name_hash)) { in ocfs2_xattr_bucket_find()
3883 name_index, name, name_hash, in ocfs2_xattr_bucket_find()
3914 name, name_index, name_hash, in ocfs2_xattr_bucket_find()
3938 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name)); in ocfs2_xattr_index_block_find() local
3944 name, name_index, name_hash, in ocfs2_xattr_index_block_find()
3948 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, &first_hash, in ocfs2_xattr_index_block_find()
3955 BUG_ON(p_blkno == 0 || num_clusters == 0 || first_hash > name_hash); in ocfs2_xattr_index_block_find()
3962 ret = ocfs2_xattr_bucket_find(inode, name_index, name, name_hash, in ocfs2_xattr_index_block_find()
4092 u32 name_hash = UINT_MAX, e_cpos = 0, num_clusters = 0; in ocfs2_iterate_xattr_index_block() local
4098 while (name_hash > 0) { in ocfs2_iterate_xattr_index_block()
4099 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, in ocfs2_iterate_xattr_index_block()
4117 name_hash = e_cpos - 1; in ocfs2_iterate_xattr_index_block()
5280 u32 name_hash = in ocfs2_add_new_xattr_bucket() local
5300 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, &e_cpos, in ocfs2_add_new_xattr_bucket()
5525 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name)); in ocfs2_check_xattr_bucket_collision() local
5527 if (name_hash != le32_to_cpu(xh->xh_entries[0].xe_name_hash)) in ocfs2_check_xattr_bucket_collision()