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()
361 up_read(&EXT2_I(inode)->xattr_sem); in ext2_xattr_list()
442 down_write(&EXT2_I(inode)->xattr_sem); in ext2_xattr_set()
443 if (EXT2_I(inode)->i_file_acl) { in ext2_xattr_set()
445 bh = sb_bread(sb, EXT2_I(inode)->i_file_acl); in ext2_xattr_set()
458 EXT2_I(inode)->i_file_acl); in ext2_xattr_set()
648 up_write(&EXT2_I(inode)->xattr_sem); in ext2_xattr_set()
744 EXT2_I(inode)->i_block_group); in ext2_xattr_set2()
778 EXT2_I(inode)->i_file_acl = new_bh ? new_bh->b_blocknr : 0; in ext2_xattr_set2()
829 if (WARN_ON_ONCE(!down_write_trylock(&EXT2_I(inode)->xattr_sem))) in ext2_xattr_delete_inode()
831 if (!EXT2_I(inode)->i_file_acl) in ext2_xattr_delete_inode()
834 if (!ext2_data_block_valid(sbi, EXT2_I(inode)->i_file_acl, 1)) { in ext2_xattr_delete_inode()
837 inode->i_ino, EXT2_I(inode)->i_file_acl); in ext2_xattr_delete_inode()
841 bh = sb_bread(inode->i_sb, EXT2_I(inode)->i_file_acl); in ext2_xattr_delete_inode()
845 EXT2_I(inode)->i_file_acl); in ext2_xattr_delete_inode()
852 EXT2_I(inode)->i_file_acl); in ext2_xattr_delete_inode()
856 EXT2_I(inode)->i_file_acl = 0; in ext2_xattr_delete_inode()
860 up_write(&EXT2_I(inode)->xattr_sem); in ext2_xattr_delete_inode()