Lines Matching refs:abut_ex
3402 struct ext4_extent *ex, *abut_ex;
3455 abut_ex = ex - 1;
3456 prev_lblk = le32_to_cpu(abut_ex->ee_block);
3457 prev_len = ext4_ext_get_actual_len(abut_ex);
3458 prev_pblk = ext4_ext_pblock(abut_ex);
3462 * A transfer of blocks from 'ex' to 'abut_ex' is allowed
3464 * - C1: abut_ex is initialized,
3465 * - C2: abut_ex is logically abutting ex,
3466 * - C3: abut_ex is physically abutting ex,
3467 * - C4: abut_ex can receive the additional blocks without
3470 if ((!ext4_ext_is_unwritten(abut_ex)) && /*C1*/
3479 map, ex, abut_ex);
3487 /* Extend abut_ex by 'map_len' blocks */
3488 abut_ex->ee_len = cpu_to_le16(prev_len + map_len);
3501 abut_ex = ex + 1;
3502 next_lblk = le32_to_cpu(abut_ex->ee_block);
3503 next_len = ext4_ext_get_actual_len(abut_ex);
3504 next_pblk = ext4_ext_pblock(abut_ex);
3508 * A transfer of blocks from 'ex' to 'abut_ex' is allowed
3510 * - C1: abut_ex is initialized,
3511 * - C2: abut_ex is logically abutting ex,
3512 * - C3: abut_ex is physically abutting ex,
3513 * - C4: abut_ex can receive the additional blocks without
3516 if ((!ext4_ext_is_unwritten(abut_ex)) && /*C1*/
3525 map, ex, abut_ex);
3527 /* Shift the start of abut_ex by 'map_len' blocks */
3528 abut_ex->ee_block = cpu_to_le32(next_lblk - map_len);
3529 ext4_ext_store_pblock(abut_ex, next_pblk - map_len);
3533 /* Extend abut_ex by 'map_len' blocks */
3534 abut_ex->ee_len = cpu_to_le16(next_len + map_len);
3545 path[depth].p_ext = abut_ex;