Lines Matching defs:name_hash

165 	void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash);
1487 static void ocfs2_xa_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash)
1489 loc->xl_ops->xlo_add_entry(loc, name_hash);
1490 loc->xl_entry->xe_name_hash = cpu_to_le32(name_hash);
1652 static void ocfs2_xa_block_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash)
1805 static void ocfs2_xa_bucket_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash)
1813 * We keep buckets sorted by name_hash, so we need to find
1820 if (name_hash > le32_to_cpu(tmp_xe->xe_name_hash))
1822 else if (name_hash < le32_to_cpu(tmp_xe->xe_name_hash))
2119 u32 name_hash,
2152 ocfs2_xa_add_entry(loc, name_hash);
2221 u32 name_hash = ocfs2_xattr_name_hash(loc->xl_inode, xi->xi_name,
2243 ret = ocfs2_xa_prepare_entry(loc, xi, name_hash, ctxt);
3675 * Find the xattr extent rec which may contains name_hash.
3680 u32 name_hash,
3693 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, name_hash,
3715 if (le32_to_cpu(rec->e_cpos) <= name_hash) {
3746 u32 name_hash,
3763 if (name_hash > le32_to_cpu(xe->xe_name_hash))
3765 else if (name_hash < le32_to_cpu(xe->xe_name_hash))
3809 u32 name_hash,
3852 if (name_hash < le32_to_cpu(xe->xe_name_hash)) {
3868 if (name_hash > le32_to_cpu(xe->xe_name_hash)) {
3875 name_index, name, name_hash,
3906 name, name_index, name_hash,
3930 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name));
3936 name, name_index, name_hash,
3940 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, &first_hash,
3947 BUG_ON(p_blkno == 0 || num_clusters == 0 || first_hash > name_hash);
3954 ret = ocfs2_xattr_bucket_find(inode, name_index, name, name_hash,
4084 u32 name_hash = UINT_MAX, e_cpos = 0, num_clusters = 0;
4090 while (name_hash > 0) {
4091 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno,
4109 name_hash = e_cpos - 1;
4469 /* sort the entries by their name_hash. */
4499 * first_hash will be set as the 1st xe's name_hash in the new extent.
5272 u32 name_hash =
5292 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, &e_cpos,
5517 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name));
5519 if (name_hash != le32_to_cpu(xh->xh_entries[0].xe_name_hash))