Lines Matching refs:name_hash
171 void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash);
1493 static void ocfs2_xa_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash)
1495 loc->xl_ops->xlo_add_entry(loc, name_hash);
1496 loc->xl_entry->xe_name_hash = cpu_to_le32(name_hash);
1658 static void ocfs2_xa_block_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash)
1811 static void ocfs2_xa_bucket_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash)
1819 * We keep buckets sorted by name_hash, so we need to find
1826 if (name_hash > le32_to_cpu(tmp_xe->xe_name_hash))
1828 else if (name_hash < le32_to_cpu(tmp_xe->xe_name_hash))
2125 u32 name_hash,
2158 ocfs2_xa_add_entry(loc, name_hash);
2227 u32 name_hash = ocfs2_xattr_name_hash(loc->xl_inode, xi->xi_name,
2249 ret = ocfs2_xa_prepare_entry(loc, xi, name_hash, ctxt);
3681 * Find the xattr extent rec which may contains name_hash.
3686 u32 name_hash,
3699 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, name_hash,
3721 if (le32_to_cpu(rec->e_cpos) <= name_hash) {
3752 u32 name_hash,
3769 if (name_hash > le32_to_cpu(xe->xe_name_hash))
3771 else if (name_hash < le32_to_cpu(xe->xe_name_hash))
3815 u32 name_hash,
3858 if (name_hash < le32_to_cpu(xe->xe_name_hash)) {
3874 if (name_hash > le32_to_cpu(xe->xe_name_hash)) {
3881 name_index, name, name_hash,
3912 name, name_index, name_hash,
3936 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name));
3942 name, name_index, name_hash,
3946 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, &first_hash,
3953 BUG_ON(p_blkno == 0 || num_clusters == 0 || first_hash > name_hash);
3960 ret = ocfs2_xattr_bucket_find(inode, name_index, name, name_hash,
4090 u32 name_hash = UINT_MAX, e_cpos = 0, num_clusters = 0;
4096 while (name_hash > 0) {
4097 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno,
4115 name_hash = e_cpos - 1;
4475 /* sort the entries by their name_hash. */
4505 * first_hash will be set as the 1st xe's name_hash in the new extent.
5278 u32 name_hash =
5298 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, &e_cpos,
5523 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name));
5525 if (name_hash != le32_to_cpu(xh->xh_entries[0].xe_name_hash))