Lines Matching refs:BTRFS_I

175 	struct btrfs_inode *binode = BTRFS_I(inode);  in btrfs_sync_inode_flags_to_i_flags()
240 struct btrfs_inode *binode = BTRFS_I(d_inode(dentry)); in btrfs_fileattr_get()
251 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_fileattr_set()
388 ret = btrfs_update_inode(trans, root, BTRFS_I(inode)); in btrfs_fileattr_set()
593 struct btrfs_root *root = BTRFS_I(dir)->root; in create_subvol()
732 BTRFS_I(new_inode_args.inode)->root = new_root; in create_subvol()
825 ret = btrfs_subvolume_reserve_metadata(BTRFS_I(dir)->root, in create_snapshot()
984 error = btrfs_check_dir_item_collision(BTRFS_I(dir)->root, in btrfs_mksubvol()
991 if (btrfs_root_refs(&BTRFS_I(dir)->root->root_item) == 0) in btrfs_mksubvol()
1006 btrfs_inode_unlock(BTRFS_I(dir), 0); in btrfs_mksubvol()
1101 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_resize()
1284 btrfs_info(BTRFS_I(file_inode(file))->root->fs_info, in __btrfs_ioctl_snap_create()
1296 BTRFS_I(src_inode)->root, in __btrfs_ioctl_snap_create()
1397 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_subvol_getflags()
1401 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) in btrfs_ioctl_subvol_getflags()
1420 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_subvol_setflags()
1433 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_subvol_setflags()
1685 root = btrfs_grab_root(BTRFS_I(inode)->root); in search_ioctl()
1878 struct btrfs_fs_info *fs_info = BTRFS_I(inode)->root->fs_info; in btrfs_search_path_in_tree_user()
1880 struct btrfs_key upper_limit = BTRFS_I(inode)->location; in btrfs_search_path_in_tree_user()
1881 u64 treeid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_search_path_in_tree_user()
2102 BTRFS_I(inode)->location.objectid != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_ino_lookup_user()
2146 fs_info = BTRFS_I(inode)->root->fs_info; in btrfs_ioctl_get_subvol_info()
2149 key.objectid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_ioctl_get_subvol_info()
2341 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_ioctl_snap_destroy()
2493 dest = BTRFS_I(inode)->root; in btrfs_ioctl_snap_destroy()
2533 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_snap_destroy()
2538 btrfs_inode_lock(BTRFS_I(inode), 0); in btrfs_ioctl_snap_destroy()
2539 err = btrfs_delete_subvolume(BTRFS_I(dir), dentry); in btrfs_ioctl_snap_destroy()
2540 btrfs_inode_unlock(BTRFS_I(inode), 0); in btrfs_ioctl_snap_destroy()
2547 btrfs_inode_unlock(BTRFS_I(dir), 0); in btrfs_ioctl_snap_destroy()
2564 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_defrag()
2888 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_default_subvol()
3538 struct btrfs_root *root = BTRFS_I(file_inode(file))->root; in btrfs_ioctl_balance()
3721 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_qgroup_assign()
3773 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_qgroup_create()
3823 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_qgroup_limit()
3936 struct btrfs_root *root = BTRFS_I(inode)->root; in _btrfs_ioctl_set_received_subvol()
3952 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in _btrfs_ioctl_set_received_subvol()
4124 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_set_fslabel()
4267 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_set_features()
4557 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl()