• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/ocfs2/

Lines Matching defs:name_hash

179 	void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash);
1471 static void ocfs2_xa_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash)
1473 loc->xl_ops->xlo_add_entry(loc, name_hash);
1474 loc->xl_entry->xe_name_hash = cpu_to_le32(name_hash);
1636 static void ocfs2_xa_block_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash)
1789 static void ocfs2_xa_bucket_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash)
1797 * We keep buckets sorted by name_hash, so we need to find
1804 if (name_hash > le32_to_cpu(tmp_xe->xe_name_hash))
1806 else if (name_hash < le32_to_cpu(tmp_xe->xe_name_hash))
2103 u32 name_hash,
2136 ocfs2_xa_add_entry(loc, name_hash);
2205 u32 name_hash = ocfs2_xattr_name_hash(loc->xl_inode, xi->xi_name,
2227 ret = ocfs2_xa_prepare_entry(loc, xi, name_hash, ctxt);
3651 * Find the xattr extent rec which may contains name_hash.
3656 u32 name_hash,
3669 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, name_hash,
3692 if (le32_to_cpu(rec->e_cpos) <= name_hash) {
3724 u32 name_hash,
3741 if (name_hash > le32_to_cpu(xe->xe_name_hash))
3743 else if (name_hash < le32_to_cpu(xe->xe_name_hash))
3787 u32 name_hash,
3831 if (name_hash < le32_to_cpu(xe->xe_name_hash)) {
3849 if (name_hash > le32_to_cpu(xe->xe_name_hash)) {
3856 name_index, name, name_hash,
3909 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name));
3915 name, name_hash, name_index);
3917 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, &first_hash,
3924 BUG_ON(p_blkno == 0 || num_clusters == 0 || first_hash > name_hash);
3930 ret = ocfs2_xattr_bucket_find(inode, name_index, name, name_hash,
4062 u32 name_hash = UINT_MAX, e_cpos = 0, num_clusters = 0;
4068 while (name_hash > 0) {
4069 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno,
4087 name_hash = e_cpos - 1;
4445 /* sort the entries by their name_hash. */
4475 * first_hash will be set as the 1st xe's name_hash in the new extent.
5250 u32 name_hash =
5270 ret = ocfs2_xattr_get_rec(inode, name_hash, &p_blkno, &e_cpos,
5503 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name));
5505 if (name_hash != le32_to_cpu(xh->xh_entries[0].xe_name_hash))