Lines Matching refs:HDR
69 #define HDR(bh) ((struct ext2_xattr_header *)((bh)->b_data)) macro
71 #define FIRST_ENTRY(bh) ENTRY(HDR(bh)+1)
225 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_get()
227 if (!ext2_xattr_header_valid(HDR(bh))) { in ext2_xattr_get()
311 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_list()
313 if (!ext2_xattr_header_valid(HDR(bh))) { in ext2_xattr_list()
452 le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_set()
453 header = HDR(bh); in ext2_xattr_set()
540 header = kmemdup(HDR(bh), bh->b_size, GFP_KERNEL); in ext2_xattr_set()
636 if (bh && header == HDR(bh)) in ext2_xattr_set()
641 if (bh && header == HDR(bh)) in ext2_xattr_set()
647 if (!(bh && header == HDR(bh))) in ext2_xattr_set()
662 if (HDR(bh)->h_refcount == cpu_to_le32(1)) { in ext2_xattr_release_block()
663 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); in ext2_xattr_release_block()
693 le32_add_cpu(&HDR(bh)->h_refcount, -1); in ext2_xattr_release_block()
698 le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_release_block()
732 le32_add_cpu(&HDR(new_bh)->h_refcount, 1); in ext2_xattr_set2()
734 le32_to_cpu(HDR(new_bh)->h_refcount)); in ext2_xattr_set2()
737 } else if (old_bh && header == HDR(old_bh)) { in ext2_xattr_set2()
848 if (!ext2_xattr_header_valid(HDR(bh))) { in ext2_xattr_delete_inode()
873 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); in ext2_xattr_cache_insert()
958 if (le32_to_cpu(HDR(bh)->h_refcount) > in ext2_xattr_cache_find()
962 le32_to_cpu(HDR(bh)->h_refcount), in ext2_xattr_cache_find()
964 } else if (!ext2_xattr_cmp(header, HDR(bh))) { in ext2_xattr_cache_find()