Lines Matching refs:BHDR
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()
444 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list()
557 if (BHDR(bh)->h_refcount == cpu_to_le32(1)) { in ext4_xattr_release_block()
567 le32_add_cpu(&BHDR(bh)->h_refcount, -1); in ext4_xattr_release_block()
591 le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_release_block()
750 le32_to_cpu(BHDR(bs->bh)->h_refcount)); in ext4_xattr_block_find()
758 bs->s.base = BHDR(bs->bh); in ext4_xattr_block_find()
836 memcpy(s->base, BHDR(bs->bh), bs->bh->b_size); in ext4_xattr_block_set()
885 le32_add_cpu(&BHDR(new_bh)->h_refcount, 1); in ext4_xattr_block_set()
887 le32_to_cpu(BHDR(new_bh)->h_refcount)); in ext4_xattr_block_set()
1320 base = BHDR(bh); in ext4_expand_extra_isize_ea()
1499 if (BHDR(bh)->h_magic != cpu_to_le32(EXT4_XATTR_MAGIC) || in ext4_xattr_delete_inode()
1500 BHDR(bh)->h_blocks != cpu_to_le32(1)) { in ext4_xattr_delete_inode()
1534 __u32 hash = le32_to_cpu(BHDR(bh)->h_hash); in ext4_xattr_cache_insert()
1630 } else if (le32_to_cpu(BHDR(bh)->h_refcount) >= in ext4_xattr_cache_find()
1634 le32_to_cpu(BHDR(bh)->h_refcount), in ext4_xattr_cache_find()
1636 } else if (ext4_xattr_cmp(header, BHDR(bh)) == 0) { in ext4_xattr_cache_find()