Searched refs:BHDR (Results 1 – 2 of 2) sorted by relevance
91 #define BHDR(bh) ((struct ext4_xattr_header *)((bh)->b_data)) macro93 #define BFIRST(bh) ENTRY(BHDR(bh)+1)
154 struct ext4_xattr_header *hdr = BHDR(bh); in ext4_xattr_block_csum_verify()170 BHDR(bh)->h_checksum = ext4_xattr_block_csum(inode, in ext4_xattr_block_csum_set()171 bh->b_blocknr, BHDR(bh)); in ext4_xattr_block_csum_set()237 if (BHDR(bh)->h_magic != cpu_to_le32(EXT4_XATTR_MAGIC) || in __ext4_xattr_check_block()238 BHDR(bh)->h_blocks != cpu_to_le32(1)) in __ext4_xattr_check_block()550 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get()723 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list()1241 hash = le32_to_cpu(BHDR(bh)->h_hash); in ext4_xattr_release_block()1242 ref = le32_to_cpu(BHDR(bh)->h_refcount); in ext4_xattr_release_block()1276 BHDR(bh)->h_refcount = cpu_to_le32(ref); in ext4_xattr_release_block()[all …]