Lines Matching refs:h_refcount
178 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_get()
268 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_list()
406 le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_set()
492 if (header->h_refcount == cpu_to_le32(1)) { in ext2_xattr_set()
514 header->h_refcount = cpu_to_le32(1); in ext2_xattr_set()
529 header->h_blocks = header->h_refcount = cpu_to_le32(1); in ext2_xattr_set()
652 le32_add_cpu(&HDR(new_bh)->h_refcount, 1); in ext2_xattr_set2()
654 le32_to_cpu(HDR(new_bh)->h_refcount)); in ext2_xattr_set2()
721 if (HDR(old_bh)->h_refcount == cpu_to_le32(1)) { in ext2_xattr_set2()
740 le32_add_cpu(&HDR(old_bh)->h_refcount, -1); in ext2_xattr_set2()
745 le32_to_cpu(HDR(old_bh)->h_refcount)); in ext2_xattr_set2()
795 if (HDR(bh)->h_refcount == cpu_to_le32(1)) { in ext2_xattr_delete_inode()
809 le32_add_cpu(&HDR(bh)->h_refcount, -1); in ext2_xattr_delete_inode()
811 le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_delete_inode()
934 } else if (le32_to_cpu(HDR(bh)->h_refcount) > in ext2_xattr_cache_find()
938 le32_to_cpu(HDR(bh)->h_refcount), in ext2_xattr_cache_find()