Lines Matching refs:EXT4_I
406 if (!(EXT4_I(inode)->i_flags & EXT4_EA_INODE_FL)) { in ext4_xattr_inode_iget()
542 if (!EXT4_I(inode)->i_file_acl) in ext4_xattr_block_get()
545 (unsigned long long)EXT4_I(inode)->i_file_acl); in ext4_xattr_block_get()
546 bh = ext4_sb_bread(inode->i_sb, EXT4_I(inode)->i_file_acl, REQ_PRIO); in ext4_xattr_block_get()
665 down_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_get()
671 up_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_get()
715 if (!EXT4_I(inode)->i_file_acl) in ext4_xattr_block_list()
718 (unsigned long long)EXT4_I(inode)->i_file_acl); in ext4_xattr_block_list()
719 bh = ext4_sb_bread(inode->i_sb, EXT4_I(inode)->i_file_acl, REQ_PRIO); in ext4_xattr_block_list()
781 down_read(&EXT4_I(d_inode(dentry))->xattr_sem); in ext4_listxattr()
794 up_read(&EXT4_I(d_inode(dentry))->xattr_sem); in ext4_listxattr()
830 lockdep_assert_held_read(&EXT4_I(inode)->xattr_sem); in ext4_get_inode_usage()
849 if (EXT4_I(inode)->i_file_acl) { in ext4_get_inode_usage()
850 bh = ext4_sb_bread(inode->i_sb, EXT4_I(inode)->i_file_acl, REQ_PRIO); in ext4_get_inode_usage()
1495 (EXT4_I(ea_inode)->i_flags & EXT4_EA_INODE_FL) && in ext4_xattr_inode_cache_find()
1825 if (EXT4_I(inode)->i_file_acl) { in ext4_xattr_block_find()
1827 bs->bh = ext4_sb_bread(sb, EXT4_I(inode)->i_file_acl, REQ_PRIO); in ext4_xattr_block_find()
2075 EXT4_I(inode)->i_block_group); in ext4_xattr_block_set()
2132 EXT4_I(inode)->i_file_acl = new_bh ? new_bh->b_blocknr : 0; in ext4_xattr_block_set()
2174 EXT4_I(inode)->i_file_acl); in ext4_xattr_block_set()
2253 if (!EXT4_I(inode)->i_file_acl) in ext4_xattr_get_block()
2255 bh = ext4_sb_bread(inode->i_sb, EXT4_I(inode)->i_file_acl, REQ_PRIO); in ext4_xattr_get_block()
2382 if (EXT4_I(inode)->i_file_acl && !bs.s.base) { in ext4_xattr_set_handle()
2442 down_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_set_credits()
2454 up_read(&EXT4_I(inode)->xattr_sem); in ext4_xattr_set_credits()
2700 isize_diff = new_extra_isize - EXT4_I(inode)->i_extra_isize; in ext4_expand_extra_isize_ea()
2701 if (EXT4_I(inode)->i_extra_isize >= new_extra_isize) in ext4_expand_extra_isize_ea()
2728 if (EXT4_I(inode)->i_file_acl) { in ext4_expand_extra_isize_ea()
2731 bh = ext4_sb_bread(inode->i_sb, EXT4_I(inode)->i_file_acl, REQ_PRIO); in ext4_expand_extra_isize_ea()
2774 ext4_xattr_shift_entries(IFIRST(header), EXT4_I(inode)->i_extra_isize in ext4_expand_extra_isize_ea()
2778 EXT4_I(inode)->i_extra_isize = new_extra_isize; in ext4_expand_extra_isize_ea()
2887 if (EXT4_I(inode)->i_file_acl) { in ext4_xattr_delete_inode()
2888 bh = ext4_sb_bread(inode->i_sb, EXT4_I(inode)->i_file_acl, REQ_PRIO); in ext4_xattr_delete_inode()
2894 EXT4_I(inode)->i_file_acl); in ext4_xattr_delete_inode()
2927 EXT4_I(inode)->i_file_acl = 0; in ext4_xattr_delete_inode()