Lines Matching refs:path
16 * get_ext_path() - Find an extent path for designated logical block number.
18 * @lblock: logical block number to find an extent path
19 * @ppath: pointer to an extent path pointer (for output)
28 struct ext4_ext_path *path;
30 path = ext4_find_extent(inode, lblock, ppath, EXT4_EX_NOCACHE);
31 if (IS_ERR(path))
32 return PTR_ERR(path);
33 if (path[ext_depth(inode)].p_ext == NULL) {
34 ext4_ext_drop_refs(path);
35 kfree(path);
39 *ppath = path;
93 struct ext4_ext_path *path = NULL;
98 *err = get_ext_path(inode, from, &path);
101 ext = path[ext_depth(inode)].p_ext;
105 ext4_ext_drop_refs(path);
109 ext4_ext_drop_refs(path);
110 kfree(path);
558 struct ext4_ext_path *path = NULL;
626 ret = get_ext_path(orig_inode, o_start, &path);
629 ex = path[path->p_depth].p_ext;
630 next_blk = ext4_ext_next_allocated_block(path);
691 ext4_ext_drop_refs(path);
692 kfree(path);