Lines Matching refs:newext
1049 struct ext4_extent *newext, int at) in ext4_ext_split() argument
1077 border = newext->ee_block; in ext4_ext_split()
1103 newext, &err, flags); in ext4_ext_split()
1388 struct ext4_extent *newext) in ext4_ext_create_new_leaf() argument
1409 err = ext4_ext_split(handle, inode, mb_flags, path, newext, i); in ext4_ext_create_new_leaf()
1415 (ext4_lblk_t)le32_to_cpu(newext->ee_block), in ext4_ext_create_new_leaf()
1427 (ext4_lblk_t)le32_to_cpu(newext->ee_block), in ext4_ext_create_new_leaf()
1915 struct ext4_extent *newext, in ext4_ext_check_overlap() argument
1922 b1 = le32_to_cpu(newext->ee_block); in ext4_ext_check_overlap()
1923 len1 = ext4_ext_get_actual_len(newext); in ext4_ext_check_overlap()
1943 newext->ee_len = cpu_to_le16(len1); in ext4_ext_check_overlap()
1949 newext->ee_len = cpu_to_le16(b2 - b1); in ext4_ext_check_overlap()
1964 struct ext4_extent *newext, int gb_flags) in ext4_ext_insert_extent() argument
1977 if (unlikely(ext4_ext_get_actual_len(newext) == 0)) { in ext4_ext_insert_extent()
2002 le32_to_cpu(newext->ee_block))) { in ext4_ext_insert_extent()
2006 (le32_to_cpu(newext->ee_block) + in ext4_ext_insert_extent()
2007 ext4_ext_get_actual_len(newext) < in ext4_ext_insert_extent()
2012 if (ext4_can_extents_be_merged(inode, ex, newext)) { in ext4_ext_insert_extent()
2015 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2016 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2027 + ext4_ext_get_actual_len(newext)); in ext4_ext_insert_extent()
2037 if (ext4_can_extents_be_merged(inode, newext, ex)) { in ext4_ext_insert_extent()
2040 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2041 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2042 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2053 ex->ee_block = newext->ee_block; in ext4_ext_insert_extent()
2054 ext4_ext_store_pblock(ex, ext4_ext_pblock(newext)); in ext4_ext_insert_extent()
2056 + ext4_ext_get_actual_len(newext)); in ext4_ext_insert_extent()
2073 if (le32_to_cpu(newext->ee_block) > le32_to_cpu(fex->ee_block)) in ext4_ext_insert_extent()
2100 ppath, newext); in ext4_ext_insert_extent()
2116 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2117 ext4_ext_pblock(newext), in ext4_ext_insert_extent()
2118 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2119 ext4_ext_get_actual_len(newext)); in ext4_ext_insert_extent()
2122 if (le32_to_cpu(newext->ee_block) in ext4_ext_insert_extent()
2127 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2128 ext4_ext_pblock(newext), in ext4_ext_insert_extent()
2129 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2130 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2135 BUG_ON(newext->ee_block == nearex->ee_block); in ext4_ext_insert_extent()
2138 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2139 ext4_ext_pblock(newext), in ext4_ext_insert_extent()
2140 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2141 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2148 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2149 ext4_ext_pblock(newext), in ext4_ext_insert_extent()
2150 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2151 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2160 nearex->ee_block = newext->ee_block; in ext4_ext_insert_extent()
2161 ext4_ext_store_pblock(nearex, ext4_ext_pblock(newext)); in ext4_ext_insert_extent()
2162 nearex->ee_len = newext->ee_len; in ext4_ext_insert_extent()