Searched refs:BHDR (Results 1 – 2 of 2) sorted by relevance
164 ext4_xattr_block_csum_set(inode, bh->b_blocknr, BHDR(bh)); in ext4_handle_dirty_xattr_block()223 if (BHDR(bh)->h_magic != cpu_to_le32(EXT4_XATTR_MAGIC) || in ext4_xattr_check_block()224 BHDR(bh)->h_blocks != cpu_to_le32(1)) in ext4_xattr_check_block()226 if (!ext4_xattr_block_csum_verify(inode, bh->b_blocknr, BHDR(bh))) in ext4_xattr_check_block()295 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get()443 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list()556 if (BHDR(bh)->h_refcount == cpu_to_le32(1)) { in ext4_xattr_release_block()566 le32_add_cpu(&BHDR(bh)->h_refcount, -1); in ext4_xattr_release_block()590 le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_release_block()749 le32_to_cpu(BHDR(bs->bh)->h_refcount)); in ext4_xattr_block_find()[all …]
71 #define BHDR(bh) ((struct ext4_xattr_header *)((bh)->b_data)) macro73 #define BFIRST(bh) ENTRY(BHDR(bh)+1)