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)
152 struct ext4_xattr_header *hdr = BHDR(bh); in ext4_xattr_block_csum_verify()168 BHDR(bh)->h_checksum = ext4_xattr_block_csum(inode, in ext4_xattr_block_csum_set()169 bh->b_blocknr, BHDR(bh)); in ext4_xattr_block_csum_set()235 if (BHDR(bh)->h_magic != cpu_to_le32(EXT4_XATTR_MAGIC) || in __ext4_xattr_check_block()236 BHDR(bh)->h_blocks != cpu_to_le32(1)) in __ext4_xattr_check_block()534 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get()709 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list()1260 hash = le32_to_cpu(BHDR(bh)->h_hash); in ext4_xattr_release_block()1261 ref = le32_to_cpu(BHDR(bh)->h_refcount); in ext4_xattr_release_block()1286 BHDR(bh)->h_refcount = cpu_to_le32(ref); in ext4_xattr_release_block()[all …]