• Home
  • Raw
  • Download

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(inode), name, in __btrfs_getxattr()
96 struct btrfs_root *root = BTRFS_I(inode)->root; in do_setxattr() local
101 if (name_len + size > BTRFS_MAX_XATTR_SIZE(root)) in do_setxattr()
110 di = btrfs_lookup_xattr(trans, root, path, btrfs_ino(inode), in do_setxattr()
117 ret = btrfs_delete_one_dir_name(trans, root, path, di); in do_setxattr()
130 di = btrfs_lookup_xattr(NULL, root, path, btrfs_ino(inode), in do_setxattr()
142 ret = btrfs_insert_xattr_item(trans, root, path, btrfs_ino(inode), in do_setxattr()
152 di = btrfs_match_dir_item_name(root, path, name, name_len); in do_setxattr()
159 di = btrfs_match_dir_item_name(root, path, name, name_len); in do_setxattr()
188 if (btrfs_leaf_free_space(root, leaf) < in do_setxattr()
198 btrfs_extend_item(root, path, in do_setxattr()
201 btrfs_truncate_item(root, path, data_size, 1); in do_setxattr()
204 ret = btrfs_delete_one_dir_name(trans, root, path, di); in do_setxattr()
207 btrfs_extend_item(root, path, data_size); in do_setxattr()
237 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_setxattr() local
243 trans = btrfs_start_transaction(root, 2); in __btrfs_setxattr()
254 ret = btrfs_update_inode(trans, root, inode); in __btrfs_setxattr()
257 btrfs_end_transaction(trans, root); in __btrfs_setxattr()
265 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_listxattr() local
289 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_listxattr()
303 ret = btrfs_next_leaf(root, path); in btrfs_listxattr()
322 if (verify_dir_item(root, leaf, di)) in btrfs_listxattr()
422 struct btrfs_root *root = BTRFS_I(d_inode(dentry))->root; in btrfs_setxattr() local
429 if (btrfs_root_readonly(root)) in btrfs_setxattr()
457 struct btrfs_root *root = BTRFS_I(d_inode(dentry))->root; in btrfs_removexattr() local
464 if (btrfs_root_readonly(root)) in btrfs_removexattr()