Lines Matching refs:oext
478 struct ext4_extent *oext, *o_start, *o_end, *prev_ext;
486 o_start = o_end = oext = orig_path[depth].p_ext;
487 oext_alen = ext4_ext_get_actual_len(oext);
498 * oext |--------|
502 if (le32_to_cpu(oext->ee_block) < le32_to_cpu(new_ext.ee_block) &&
504 le32_to_cpu(oext->ee_block) + oext_alen) {
506 le32_to_cpu(oext->ee_block));
507 start_ext.ee_block = oext->ee_block;
508 copy_extent_status(oext, &start_ext);
509 } else if (oext > EXT_FIRST_EXTENT(orig_path[depth].p_hdr)) {
510 prev_ext = oext - 1;
521 start_ext.ee_block = oext->ee_block;
528 * Case: new_ext_end must be less than oext
529 * oext |-----------|
532 if (le32_to_cpu(oext->ee_block) + oext_alen - 1 < new_ext_end) {
535 "oext->ee_block(%u) + oext_alen(%d) - 1",
536 new_ext_end, le32_to_cpu(oext->ee_block),
544 * oext |---------------|
548 if (le32_to_cpu(oext->ee_block) <= new_ext_end &&
549 new_ext_end < le32_to_cpu(oext->ee_block) + oext_alen - 1) {
551 cpu_to_le16(le32_to_cpu(oext->ee_block) +
553 copy_extent_status(oext, &end_ext);
660 struct ext4_extent *oext, *dext;
680 oext = orig_path[depth].p_ext;
681 tmp_oext = *oext;
737 oext = orig_path[depth].p_ext;
738 tmp_oext = *oext;