Lines Matching refs:ex2

1748 				struct ext4_extent *ex2)  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()
1756 ext2_ee_len = ext4_ext_get_actual_len(ex2); in ext4_can_extents_be_merged()
1759 le32_to_cpu(ex2->ee_block)) 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()
3208 struct ext4_extent *ex2 = NULL; in ext4_split_extent_at() local
3268 ex2 = &newex; in ext4_split_extent_at()
3269 ex2->ee_block = cpu_to_le32(split); in ext4_split_extent_at()
3270 ex2->ee_len = cpu_to_le16(ee_len - (split - ee_block)); in ext4_split_extent_at()
3271 ext4_ext_store_pblock(ex2, newblock); in ext4_split_extent_at()
3273 ext4_ext_mark_unwritten(ex2); in ext4_split_extent_at()
3282 err = ext4_ext_zeroout(inode, ex2); in ext4_split_extent_at()
3283 zero_ex.ee_block = ex2->ee_block; in ext4_split_extent_at()
3285 ext4_ext_get_actual_len(ex2)); in ext4_split_extent_at()
3287 ext4_ext_pblock(ex2)); in ext4_split_extent_at()
4304 struct ext4_extent newex, *ex, *ex2; in ext4_ext_map_blocks() local
4437 ex2 = NULL; in ext4_ext_map_blocks()
4438 err = ext4_ext_search_right(inode, path, &ar.lright, &ar.pright, &ex2); in ext4_ext_map_blocks()
4444 if ((sbi->s_cluster_ratio > 1) && ex2 && in ext4_ext_map_blocks()
4445 get_implied_cluster_alloc(inode->i_sb, map, ex2, path)) { in ext4_ext_map_blocks()
5841 struct ext4_extent *ex1, *ex2, tmp_ex; in ext4_swap_extents() local
5861 ex2 = path2[path2->p_depth].p_ext; in ext4_swap_extents()
5863 if (unlikely(!ex2 || !ex1)) in ext4_swap_extents()
5867 e2_blk = le32_to_cpu(ex2->ee_block); in ext4_swap_extents()
5869 e2_len = ext4_ext_get_actual_len(ex2); in ext4_swap_extents()
5955 ext4_ext_store_pblock(ex1, ext4_ext_pblock(ex2)); in ext4_swap_extents()
5956 ext4_ext_store_pblock(ex2, ext4_ext_pblock(&tmp_ex)); in ext4_swap_extents()
5958 ex2->ee_len = cpu_to_le16(e1_len); in ext4_swap_extents()
5960 ext4_ext_mark_unwritten(ex2); in ext4_swap_extents()
5964 ext4_ext_try_to_merge(handle, inode2, path2, ex2); in ext4_swap_extents()