Lines Matching refs:root

83 			  struct btrfs_root *root,
96 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow);
107 struct btrfs_root *root,
130 ret = btrfs_search_slot(trans, root, &key, path, -1, 1);
144 btrfs_handle_fs_error(root->fs_info, -ENOENT, NULL);
159 ret = btrfs_del_item(trans, root, path);
178 struct btrfs_root *root, const struct fscrypt_str *name,
201 ret = btrfs_search_slot(trans, root, &key, path, -1, 1);
223 ret = btrfs_del_item(trans, root, path);
241 return btrfs_del_inode_extref(trans, root, name,
254 struct btrfs_root *root,
275 ret = btrfs_insert_empty_item(trans, root, path, &key,
310 struct btrfs_root *root, const struct fscrypt_str *name,
313 struct btrfs_fs_info *fs_info = root->fs_info;
330 ret = btrfs_insert_empty_item(trans, root, path, &key,
377 ret = btrfs_insert_inode_extref(trans, root, name,
386 struct btrfs_root *root,
395 ret = btrfs_insert_empty_item(trans, root, path, &key,
401 *root, struct btrfs_path *path,
411 ret = btrfs_search_slot(trans, root, location, path, ins_len, cow);
441 * Remove inode items from a given root.
444 * @root: The root from which to remove items.
449 * Remove all keys associated with the inode from the given root that have a key
459 struct btrfs_root *root,
462 struct btrfs_fs_info *fs_info = root->fs_info;
491 if (test_bit(BTRFS_ROOT_SHAREABLE, &root->state))
515 ret = btrfs_search_slot(trans, root, &key, path, -1, 1);
677 .owning_root = btrfs_root_id(root),
684 btrfs_root_id(root), false);
701 ret = btrfs_del_items(trans, root, path,
739 err = btrfs_del_items(trans, root, path, pending_del_slot,