Lines Matching refs:EXT2_I
215 down_read(&EXT2_I(inode)->xattr_sem); in ext2_xattr_get()
217 if (!EXT2_I(inode)->i_file_acl) in ext2_xattr_get()
219 ea_idebug(inode, "reading block %d", EXT2_I(inode)->i_file_acl); in ext2_xattr_get()
220 bh = sb_bread(inode->i_sb, EXT2_I(inode)->i_file_acl); in ext2_xattr_get()
231 EXT2_I(inode)->i_file_acl); in ext2_xattr_get()
272 up_read(&EXT2_I(inode)->xattr_sem); in ext2_xattr_get()
301 down_read(&EXT2_I(inode)->xattr_sem); in ext2_xattr_list()
303 if (!EXT2_I(inode)->i_file_acl) in ext2_xattr_list()
305 ea_idebug(inode, "reading block %d", EXT2_I(inode)->i_file_acl); in ext2_xattr_list()
306 bh = sb_bread(inode->i_sb, EXT2_I(inode)->i_file_acl); in ext2_xattr_list()
317 EXT2_I(inode)->i_file_acl); in ext2_xattr_list()
362 up_read(&EXT2_I(inode)->xattr_sem); in ext2_xattr_list()
443 down_write(&EXT2_I(inode)->xattr_sem); in ext2_xattr_set()
444 if (EXT2_I(inode)->i_file_acl) { in ext2_xattr_set()
446 bh = sb_bread(sb, EXT2_I(inode)->i_file_acl); in ext2_xattr_set()
459 EXT2_I(inode)->i_file_acl); in ext2_xattr_set()
650 up_write(&EXT2_I(inode)->xattr_sem); in ext2_xattr_set()
746 EXT2_I(inode)->i_block_group); in ext2_xattr_set2()
777 EXT2_I(inode)->i_file_acl = new_bh ? new_bh->b_blocknr : 0; in ext2_xattr_set2()
828 if (WARN_ON_ONCE(!down_write_trylock(&EXT2_I(inode)->xattr_sem))) in ext2_xattr_delete_inode()
830 if (!EXT2_I(inode)->i_file_acl) in ext2_xattr_delete_inode()
833 if (!ext2_data_block_valid(sbi, EXT2_I(inode)->i_file_acl, 1)) { in ext2_xattr_delete_inode()
836 inode->i_ino, EXT2_I(inode)->i_file_acl); in ext2_xattr_delete_inode()
840 bh = sb_bread(inode->i_sb, EXT2_I(inode)->i_file_acl); in ext2_xattr_delete_inode()
844 EXT2_I(inode)->i_file_acl); in ext2_xattr_delete_inode()
851 EXT2_I(inode)->i_file_acl); in ext2_xattr_delete_inode()
855 EXT2_I(inode)->i_file_acl = 0; in ext2_xattr_delete_inode()
859 up_write(&EXT2_I(inode)->xattr_sem); in ext2_xattr_delete_inode()