Lines Matching refs:root
39 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_getxattr() local
50 di = btrfs_lookup_xattr(NULL, root, path, btrfs_ino(BTRFS_I(inode)), in __btrfs_getxattr()
96 struct btrfs_root *root = BTRFS_I(inode)->root; in do_setxattr() local
97 struct btrfs_fs_info *fs_info = root->fs_info; in do_setxattr()
102 if (name_len + size > BTRFS_MAX_XATTR_SIZE(root->fs_info)) in do_setxattr()
111 di = btrfs_lookup_xattr(trans, root, path, in do_setxattr()
118 ret = btrfs_delete_one_dir_name(trans, root, path, di); in do_setxattr()
131 di = btrfs_lookup_xattr(NULL, root, path, in do_setxattr()
143 ret = btrfs_insert_xattr_item(trans, root, path, btrfs_ino(BTRFS_I(inode)), in do_setxattr()
206 ret = btrfs_delete_one_dir_name(trans, root, path, di); in do_setxattr()
239 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_setxattr() local
242 if (btrfs_root_readonly(root)) in __btrfs_setxattr()
248 trans = btrfs_start_transaction(root, 2); in __btrfs_setxattr()
259 ret = btrfs_update_inode(trans, root, inode); in __btrfs_setxattr()
271 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_listxattr() local
291 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_listxattr()
312 ret = btrfs_next_leaf(root, path); in btrfs_listxattr()