Lines Matching refs:orig_path
230 struct ext4_ext_path *orig_path = NULL;
295 err = get_ext_path(orig_inode, eblock, &orig_path);
300 orig_path, new_ext, 0))
306 le32_to_cpu(end_ext->ee_block) - 1, &orig_path);
311 orig_path, end_ext, 0))
315 if (orig_path) {
316 ext4_ext_drop_refs(orig_path);
317 kfree(orig_path);
380 * @orig_path: path indicates first extent to be changed
394 struct ext4_ext_path *orig_path,
418 depth = orig_path->p_depth;
419 orig_path += depth;
420 eh = orig_path->p_hdr;
424 ret = ext4_journal_get_write_access(handle, orig_path->p_bh);
444 orig_path->p_bh);
461 * @orig_path: path indicates first extent to be changed
475 struct ext4_ext_path *orig_path, struct ext4_extent *dext,
486 o_start = o_end = oext = orig_path[depth].p_ext;
509 } else if (oext > EXT_FIRST_EXTENT(orig_path[depth].p_hdr)) {
562 ret = mext_insert_extents(handle, orig_inode, orig_path, o_start,
658 struct ext4_ext_path *orig_path = NULL;
671 *err = get_ext_path(orig_inode, orig_off, &orig_path);
680 oext = orig_path[depth].p_ext;
712 orig_path, &tmp_dext, &orig_off);
731 if (orig_path)
732 ext4_ext_drop_refs(orig_path);
733 *err = get_ext_path(orig_inode, orig_off, &orig_path);
737 oext = orig_path[depth].p_ext;
756 if (orig_path) {
757 ext4_ext_drop_refs(orig_path);
758 kfree(orig_path);
1156 * pointed by ext_cur (current extent), holecheck_path, orig_path are set
1171 * 5:Update holecheck_path and orig_path to points a next proceeding extent,
1173 * 6:Release holecheck_path, orig_path and set the len to moved_len
1186 struct ext4_ext_path *orig_path = NULL, *holecheck_path = NULL;
1232 ret1 = get_ext_path(orig_inode, block_start, &orig_path);
1260 last_extent = mext_next_extent(orig_inode, orig_path,
1391 if (orig_path)
1392 ext4_ext_drop_refs(orig_path);
1393 ret1 = get_ext_path(orig_inode, seq_start, &orig_path);
1408 if (orig_path) {
1409 ext4_ext_drop_refs(orig_path);
1410 kfree(orig_path);