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()
451 le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_set()
452 header = HDR(bh); in ext2_xattr_set()
539 header = kmemdup(HDR(bh), bh->b_size, GFP_KERNEL); in ext2_xattr_set()
634 if (bh && header == HDR(bh)) in ext2_xattr_set()
639 if (bh && header == HDR(bh)) in ext2_xattr_set()
645 if (!(bh && header == HDR(bh))) in ext2_xattr_set()
660 if (HDR(bh)->h_refcount == cpu_to_le32(1)) { in ext2_xattr_release_block()
661 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); in ext2_xattr_release_block()
691 le32_add_cpu(&HDR(bh)->h_refcount, -1); in ext2_xattr_release_block()
696 le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_release_block()
730 le32_add_cpu(&HDR(new_bh)->h_refcount, 1); in ext2_xattr_set2()
732 le32_to_cpu(HDR(new_bh)->h_refcount)); in ext2_xattr_set2()
735 } else if (old_bh && header == HDR(old_bh)) { in ext2_xattr_set2()
849 if (!ext2_xattr_header_valid(HDR(bh))) { in ext2_xattr_delete_inode()
874 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); in ext2_xattr_cache_insert()
959 if (le32_to_cpu(HDR(bh)->h_refcount) > in ext2_xattr_cache_find()
963 le32_to_cpu(HDR(bh)->h_refcount), in ext2_xattr_cache_find()
965 } else if (!ext2_xattr_cmp(header, HDR(bh))) { in ext2_xattr_cache_find()