Lines Matching refs:ex1
1747 ext4_can_extents_be_merged(struct inode *inode, struct ext4_extent *ex1, in ext4_can_extents_be_merged() argument
1752 if (ext4_ext_is_unwritten(ex1) != ext4_ext_is_unwritten(ex2)) in ext4_can_extents_be_merged()
1755 ext1_ee_len = ext4_ext_get_actual_len(ex1); in ext4_can_extents_be_merged()
1758 if (le32_to_cpu(ex1->ee_block) + ext1_ee_len != in ext4_can_extents_be_merged()
1775 if (ext4_ext_is_unwritten(ex1) && in ext4_can_extents_be_merged()
1785 if (ext4_ext_pblock(ex1) + ext1_ee_len == ext4_ext_pblock(ex2)) in ext4_can_extents_be_merged()
5841 struct ext4_extent *ex1, *ex2, tmp_ex; in ext4_swap_extents() local
5860 ex1 = path1[path1->p_depth].p_ext; in ext4_swap_extents()
5863 if (unlikely(!ex2 || !ex1)) in ext4_swap_extents()
5866 e1_blk = le32_to_cpu(ex1->ee_block); in ext4_swap_extents()
5868 e1_len = ext4_ext_get_actual_len(ex1); in ext4_swap_extents()
5954 tmp_ex = *ex1; in ext4_swap_extents()
5955 ext4_ext_store_pblock(ex1, ext4_ext_pblock(ex2)); in ext4_swap_extents()
5957 ex1->ee_len = cpu_to_le16(e2_len); in ext4_swap_extents()
5962 ext4_ext_mark_unwritten(ex1); in ext4_swap_extents()
5965 ext4_ext_try_to_merge(handle, inode1, path1, ex1); in ext4_swap_extents()