Lines Matching refs:abut_ex
3433 struct ext4_extent *ex, *abut_ex;
3486 abut_ex = ex - 1;
3487 prev_lblk = le32_to_cpu(abut_ex->ee_block);
3488 prev_len = ext4_ext_get_actual_len(abut_ex);
3489 prev_pblk = ext4_ext_pblock(abut_ex);
3493 * A transfer of blocks from 'ex' to 'abut_ex' is allowed
3495 * - C1: abut_ex is initialized,
3496 * - C2: abut_ex is logically abutting ex,
3497 * - C3: abut_ex is physically abutting ex,
3498 * - C4: abut_ex can receive the additional blocks without
3501 if ((!ext4_ext_is_unwritten(abut_ex)) && /*C1*/
3510 map, ex, abut_ex);
3518 /* Extend abut_ex by 'map_len' blocks */
3519 abut_ex->ee_len = cpu_to_le16(prev_len + map_len);
3532 abut_ex = ex + 1;
3533 next_lblk = le32_to_cpu(abut_ex->ee_block);
3534 next_len = ext4_ext_get_actual_len(abut_ex);
3535 next_pblk = ext4_ext_pblock(abut_ex);
3539 * A transfer of blocks from 'ex' to 'abut_ex' is allowed
3541 * - C1: abut_ex is initialized,
3542 * - C2: abut_ex is logically abutting ex,
3543 * - C3: abut_ex is physically abutting ex,
3544 * - C4: abut_ex can receive the additional blocks without
3547 if ((!ext4_ext_is_unwritten(abut_ex)) && /*C1*/
3556 map, ex, abut_ex);
3558 /* Shift the start of abut_ex by 'map_len' blocks */
3559 abut_ex->ee_block = cpu_to_le32(next_lblk - map_len);
3560 ext4_ext_store_pblock(abut_ex, next_pblk - map_len);
3564 /* Extend abut_ex by 'map_len' blocks */
3565 abut_ex->ee_len = cpu_to_le16(next_len + map_len);
3576 path[depth].p_ext = abut_ex;