Lines Matching refs:path
35 struct btrfs_path *path;
44 path = btrfs_alloc_path();
45 if (!path) {
51 path->skip_locking = 1;
52 path->search_commit_root = 1;
53 path->reada = READA_FORWARD;
62 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0);
70 leaf = path->nodes[0];
71 slot = path->slots[0];
73 ret = btrfs_next_leaf(root, path);
81 leaf = path->nodes[0];
91 btrfs_release_path(path);
116 path->slots[0]++;
134 btrfs_free_path(path);
170 * through the extent tree, and this can keep ino allocation path
402 struct btrfs_path *path;
425 path = btrfs_alloc_path();
426 if (!path)
449 inode = lookup_free_ino_inode(root, path);
459 ret = create_free_ino_inode(root, trans, path);
511 ret = btrfs_write_out_ino_cache(root, trans, path, inode);
524 btrfs_free_path(path);