Lines Matching refs:orig_path

230 	struct ext4_ext_path *orig_path = NULL;  in mext_insert_across_blocks()  local
295 err = get_ext_path(orig_inode, eblock, &orig_path); in mext_insert_across_blocks()
300 orig_path, new_ext, 0)) in mext_insert_across_blocks()
306 le32_to_cpu(end_ext->ee_block) - 1, &orig_path); in mext_insert_across_blocks()
311 orig_path, end_ext, 0)) in mext_insert_across_blocks()
315 if (orig_path) { in mext_insert_across_blocks()
316 ext4_ext_drop_refs(orig_path); in mext_insert_across_blocks()
317 kfree(orig_path); in mext_insert_across_blocks()
394 struct ext4_ext_path *orig_path, in mext_insert_extents() argument
418 depth = orig_path->p_depth; in mext_insert_extents()
419 orig_path += depth; in mext_insert_extents()
420 eh = orig_path->p_hdr; in mext_insert_extents()
424 ret = ext4_journal_get_write_access(handle, orig_path->p_bh); in mext_insert_extents()
444 orig_path->p_bh); in mext_insert_extents()
475 struct ext4_ext_path *orig_path, struct ext4_extent *dext, in mext_leaf_block() argument
486 o_start = o_end = oext = orig_path[depth].p_ext; in mext_leaf_block()
509 } else if (oext > EXT_FIRST_EXTENT(orig_path[depth].p_hdr)) { in mext_leaf_block()
562 ret = mext_insert_extents(handle, orig_inode, orig_path, o_start, in mext_leaf_block()
658 struct ext4_ext_path *orig_path = NULL; in mext_replace_branches() local
671 *err = get_ext_path(orig_inode, orig_off, &orig_path); in mext_replace_branches()
680 oext = orig_path[depth].p_ext; in mext_replace_branches()
712 orig_path, &tmp_dext, &orig_off); in mext_replace_branches()
731 if (orig_path) in mext_replace_branches()
732 ext4_ext_drop_refs(orig_path); in mext_replace_branches()
733 *err = get_ext_path(orig_inode, orig_off, &orig_path); in mext_replace_branches()
737 oext = orig_path[depth].p_ext; in mext_replace_branches()
756 if (orig_path) { in mext_replace_branches()
757 ext4_ext_drop_refs(orig_path); in mext_replace_branches()
758 kfree(orig_path); in mext_replace_branches()
1186 struct ext4_ext_path *orig_path = NULL, *holecheck_path = NULL; in ext4_move_extents() local
1232 ret1 = get_ext_path(orig_inode, block_start, &orig_path); in ext4_move_extents()
1260 last_extent = mext_next_extent(orig_inode, orig_path, in ext4_move_extents()
1391 if (orig_path) in ext4_move_extents()
1392 ext4_ext_drop_refs(orig_path); in ext4_move_extents()
1393 ret1 = get_ext_path(orig_inode, seq_start, &orig_path); in ext4_move_extents()
1408 if (orig_path) { in ext4_move_extents()
1409 ext4_ext_drop_refs(orig_path); in ext4_move_extents()
1410 kfree(orig_path); in ext4_move_extents()