Searched refs:h_refcount (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/fs/ext2/ |
D | xattr.c | 177 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_get() 266 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_list() 400 le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_set() 490 if (header->h_refcount == cpu_to_le32(1)) { in ext2_xattr_set() 507 header->h_refcount = cpu_to_le32(1); in ext2_xattr_set() 522 header->h_blocks = header->h_refcount = cpu_to_le32(1); in ext2_xattr_set() 644 le32_add_cpu(&HDR(new_bh)->h_refcount, 1); in ext2_xattr_set2() 646 le32_to_cpu(HDR(new_bh)->h_refcount)); in ext2_xattr_set2() 717 if (HDR(old_bh)->h_refcount == cpu_to_le32(1)) { in ext2_xattr_set2() 730 le32_add_cpu(&HDR(old_bh)->h_refcount, -1); in ext2_xattr_set2() [all …]
|
D | xattr.h | 28 __le32 h_refcount; /* reference count */ member
|
/linux-4.1.27/fs/ext3/ |
D | xattr.c | 230 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext3_xattr_block_get() 374 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext3_xattr_block_list() 486 if (BHDR(bh)->h_refcount == cpu_to_le32(1)) { in ext3_xattr_release_block() 494 le32_add_cpu(&BHDR(bh)->h_refcount, -1); in ext3_xattr_release_block() 500 le32_to_cpu(BHDR(bh)->h_refcount)); in ext3_xattr_release_block() 648 le32_to_cpu(BHDR(bs->bh)->h_refcount)); in ext3_xattr_block_find() 696 if (header(s->base)->h_refcount == cpu_to_le32(1)) { in ext3_xattr_block_set() 735 header(s->base)->h_refcount = cpu_to_le32(1); in ext3_xattr_block_set() 748 header(s->base)->h_refcount = cpu_to_le32(1); in ext3_xattr_block_set() 780 le32_add_cpu(&BHDR(new_bh)->h_refcount, 1); in ext3_xattr_block_set() [all …]
|
D | xattr.h | 27 __le32 h_refcount; /* reference count */ member
|
/linux-4.1.27/fs/ext4/ |
D | xattr.c | 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() 799 if (header(s->base)->h_refcount == cpu_to_le32(1)) { in ext4_xattr_block_set() 838 header(s->base)->h_refcount = cpu_to_le32(1); in ext4_xattr_block_set() 851 header(s->base)->h_refcount = cpu_to_le32(1); in ext4_xattr_block_set() 885 le32_add_cpu(&BHDR(new_bh)->h_refcount, 1); in ext4_xattr_block_set() [all …]
|
D | xattr.h | 30 __le32 h_refcount; /* reference count */ member
|
/linux-4.1.27/fs/f2fs/ |
D | xattr.h | 41 __le32 h_refcount; /* reference count */ member
|
D | xattr.c | 319 header->h_refcount = cpu_to_le32(1); in read_all_xattrs()
|