Lines Matching refs:path
1285 struct btrfs_path *path,
1298 ret = btrfs_find_root(tree_root, key, path,
1330 struct btrfs_path *path;
1332 path = btrfs_alloc_path();
1333 if (!path)
1335 root = read_tree_root_path(tree_root, path, key);
1336 btrfs_free_path(path);
1546 struct btrfs_path *path;
1590 path = btrfs_alloc_path();
1591 if (!path) {
1599 ret = btrfs_search_slot(NULL, fs_info->tree_root, &key, path, 0, 0);
1600 btrfs_free_path(path);
1670 struct btrfs_path *path,
1676 ASSERT(path->search_commit_root && path->skip_locking);
1695 root = read_tree_root_path(fs_info->tree_root, path, &key);
1696 btrfs_release_path(path);
4279 * This is a fast path so only do this check if we have sanity tests
4804 struct btrfs_path *path;
4811 path = btrfs_alloc_path();
4812 if (!path)
4818 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0);
4822 if (path->slots[0] > 0) {
4823 slot = path->slots[0] - 1;
4824 l = path->nodes[0];
4833 btrfs_free_path(path);