Home
last modified time | relevance | path

Searched refs:BHDR (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/ext4/
Dxattr.h91 #define BHDR(bh) ((struct ext4_xattr_header *)((bh)->b_data)) macro
93 #define BFIRST(bh) ENTRY(BHDR(bh)+1)
Dxattr.c156 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()
239 if (BHDR(bh)->h_magic != cpu_to_le32(EXT4_XATTR_MAGIC) || in __ext4_xattr_check_block()
240 BHDR(bh)->h_blocks != cpu_to_le32(1)) in __ext4_xattr_check_block()
563 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get()
736 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list()
1272 hash = le32_to_cpu(BHDR(bh)->h_hash); in ext4_xattr_release_block()
1273 ref = le32_to_cpu(BHDR(bh)->h_refcount); in ext4_xattr_release_block()
1307 BHDR(bh)->h_refcount = cpu_to_le32(ref); in ext4_xattr_release_block()
[all …]