Home
last modified time | relevance | path

Searched refs:tmp_dext (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/fs/ext4/
Dmove_extent.c580 mext_calc_swap_extents(struct ext4_extent *tmp_dext, in mext_calc_swap_extents() argument
596 if (orig_off < le32_to_cpu(tmp_dext->ee_block) || in mext_calc_swap_extents()
597 le32_to_cpu(tmp_dext->ee_block) + in mext_calc_swap_extents()
598 ext4_ext_get_actual_len(tmp_dext) - 1 < orig_off) in mext_calc_swap_extents()
601 dext_old = *tmp_dext; in mext_calc_swap_extents()
605 diff = donor_off - le32_to_cpu(tmp_dext->ee_block); in mext_calc_swap_extents()
607 ext4_ext_store_pblock(tmp_dext, ext4_ext_pblock(tmp_dext) + diff); in mext_calc_swap_extents()
608 tmp_dext->ee_block = in mext_calc_swap_extents()
609 cpu_to_le32(le32_to_cpu(tmp_dext->ee_block) + diff); in mext_calc_swap_extents()
610 tmp_dext->ee_len = cpu_to_le16(le16_to_cpu(tmp_dext->ee_len) - diff); in mext_calc_swap_extents()
[all …]