Home
last modified time | relevance | path

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

/linux/fs/ext4/
H A Dxattr.c152 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()
196 if (BHDR(bh)->h_magic != cpu_to_le32(EXT4_XATTR_MAGIC) || in check_xattrs()
197 BHDR(bh)->h_blocks != cpu_to_le32(1)) { in check_xattrs()
607 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get()
776 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list()
1294 hash = le32_to_cpu(BHDR(bh)->h_hash); in ext4_xattr_release_block()
1295 ref = le32_to_cpu(BHDR(bh)->h_refcount); in ext4_xattr_release_block()
1328 BHDR(bh)->h_refcount = cpu_to_le32(ref); in ext4_xattr_release_block()
[all …]
H A Dxattr.h93 #define BHDR(bh) ((struct ext4_xattr_header *)((bh)->b_data)) macro
95 #define BFIRST(bh) ENTRY(BHDR(bh)+1)