Lines Matching defs:path
69 * requested by subvol=/path. That way the callchain is straightforward and we
978 struct btrfs_path *path = NULL;
984 path = btrfs_alloc_path();
985 if (!path) {
1007 ret = btrfs_search_backwards(root, &key, path);
1017 root_ref = btrfs_item_ptr(path->nodes[0], path->slots[0],
1019 len = btrfs_root_ref_name_len(path->nodes[0], root_ref);
1025 read_extent_buffer(path->nodes[0], ptr + 1,
1028 dirid = btrfs_root_ref_dirid(path->nodes[0], root_ref);
1029 btrfs_release_path(path);
1047 ret = btrfs_search_backwards(fs_root, &key, path);
1057 inode_ref = btrfs_item_ptr(path->nodes[0],
1058 path->slots[0],
1060 len = btrfs_inode_ref_name_len(path->nodes[0],
1067 read_extent_buffer(path->nodes[0], ptr + 1,
1070 btrfs_release_path(path);
1076 btrfs_free_path(path);
1087 btrfs_free_path(path);
1096 struct btrfs_path *path;
1101 path = btrfs_alloc_path();
1102 if (!path)
1111 di = btrfs_lookup_dir_item(NULL, root, path, dir_id, &name, 0);
1113 btrfs_free_path(path);
1122 btrfs_free_path(path);
1127 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &location);
1128 btrfs_free_path(path);