Lines Matching refs:newext
1042 struct ext4_extent *newext, int at) in ext4_ext_split() argument
1070 border = newext->ee_block; in ext4_ext_split()
1096 newext, &err, flags); in ext4_ext_split()
1381 struct ext4_extent *newext) in ext4_ext_create_new_leaf() argument
1402 err = ext4_ext_split(handle, inode, mb_flags, path, newext, i); in ext4_ext_create_new_leaf()
1408 (ext4_lblk_t)le32_to_cpu(newext->ee_block), in ext4_ext_create_new_leaf()
1420 (ext4_lblk_t)le32_to_cpu(newext->ee_block), in ext4_ext_create_new_leaf()
1914 struct ext4_extent *newext, in ext4_ext_check_overlap() argument
1921 b1 = le32_to_cpu(newext->ee_block); in ext4_ext_check_overlap()
1922 len1 = ext4_ext_get_actual_len(newext); in ext4_ext_check_overlap()
1942 newext->ee_len = cpu_to_le16(len1); in ext4_ext_check_overlap()
1948 newext->ee_len = cpu_to_le16(b2 - b1); in ext4_ext_check_overlap()
1963 struct ext4_extent *newext, int gb_flags) in ext4_ext_insert_extent() argument
1976 if (unlikely(ext4_ext_get_actual_len(newext) == 0)) { in ext4_ext_insert_extent()
2001 le32_to_cpu(newext->ee_block))) { in ext4_ext_insert_extent()
2005 (le32_to_cpu(newext->ee_block) + in ext4_ext_insert_extent()
2006 ext4_ext_get_actual_len(newext) < in ext4_ext_insert_extent()
2011 if (ext4_can_extents_be_merged(inode, ex, newext)) { in ext4_ext_insert_extent()
2014 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2015 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2026 + ext4_ext_get_actual_len(newext)); in ext4_ext_insert_extent()
2036 if (ext4_can_extents_be_merged(inode, newext, ex)) { in ext4_ext_insert_extent()
2039 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2040 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2041 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2052 ex->ee_block = newext->ee_block; in ext4_ext_insert_extent()
2053 ext4_ext_store_pblock(ex, ext4_ext_pblock(newext)); in ext4_ext_insert_extent()
2055 + ext4_ext_get_actual_len(newext)); in ext4_ext_insert_extent()
2072 if (le32_to_cpu(newext->ee_block) > le32_to_cpu(fex->ee_block)) in ext4_ext_insert_extent()
2099 ppath, newext); in ext4_ext_insert_extent()
2115 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2116 ext4_ext_pblock(newext), in ext4_ext_insert_extent()
2117 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2118 ext4_ext_get_actual_len(newext)); in ext4_ext_insert_extent()
2121 if (le32_to_cpu(newext->ee_block) in ext4_ext_insert_extent()
2126 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2127 ext4_ext_pblock(newext), in ext4_ext_insert_extent()
2128 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2129 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2134 BUG_ON(newext->ee_block == nearex->ee_block); in ext4_ext_insert_extent()
2137 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2138 ext4_ext_pblock(newext), in ext4_ext_insert_extent()
2139 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2140 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2147 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2148 ext4_ext_pblock(newext), in ext4_ext_insert_extent()
2149 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2150 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2159 nearex->ee_block = newext->ee_block; in ext4_ext_insert_extent()
2160 ext4_ext_store_pblock(nearex, ext4_ext_pblock(newext)); in ext4_ext_insert_extent()
2161 nearex->ee_len = newext->ee_len; in ext4_ext_insert_extent()