Searched refs:BHDR (Results 1 – 2 of 2) sorted by relevance
90 #define BHDR(bh) ((struct ext4_xattr_header *)((bh)->b_data)) macro92 #define BFIRST(bh) ENTRY(BHDR(bh)+1)
156 struct ext4_xattr_header *hdr = BHDR(bh); in ext4_xattr_block_csum_verify()172 BHDR(bh)->h_checksum = ext4_xattr_block_csum(inode, in ext4_xattr_block_csum_set()173 bh->b_blocknr, BHDR(bh)); in ext4_xattr_block_csum_set()200 if (BHDR(bh)->h_magic != cpu_to_le32(EXT4_XATTR_MAGIC) || in check_xattrs()201 BHDR(bh)->h_blocks != cpu_to_le32(1)) { in check_xattrs()595 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get()767 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list()1285 hash = le32_to_cpu(BHDR(bh)->h_hash); in ext4_xattr_release_block()1286 ref = le32_to_cpu(BHDR(bh)->h_refcount); in ext4_xattr_release_block()1320 BHDR(bh)->h_refcount = cpu_to_le32(ref); in ext4_xattr_release_block()[all …]