Lines Matching refs:newext
1055 struct ext4_extent *newext, int at) in ext4_ext_split() argument
1087 border = newext->ee_block; in ext4_ext_split()
1113 newext, &err, flags); in ext4_ext_split()
1402 struct ext4_extent *newext) in ext4_ext_create_new_leaf() argument
1423 err = ext4_ext_split(handle, inode, mb_flags, path, newext, i); in ext4_ext_create_new_leaf()
1429 (ext4_lblk_t)le32_to_cpu(newext->ee_block), in ext4_ext_create_new_leaf()
1441 (ext4_lblk_t)le32_to_cpu(newext->ee_block), in ext4_ext_create_new_leaf()
1920 struct ext4_extent *newext, in ext4_ext_check_overlap() argument
1927 b1 = le32_to_cpu(newext->ee_block); in ext4_ext_check_overlap()
1928 len1 = ext4_ext_get_actual_len(newext); in ext4_ext_check_overlap()
1948 newext->ee_len = cpu_to_le16(len1); in ext4_ext_check_overlap()
1954 newext->ee_len = cpu_to_le16(b2 - b1); in ext4_ext_check_overlap()
1969 struct ext4_extent *newext, int gb_flags) in ext4_ext_insert_extent() argument
1982 if (unlikely(ext4_ext_get_actual_len(newext) == 0)) { in ext4_ext_insert_extent()
2007 le32_to_cpu(newext->ee_block))) { in ext4_ext_insert_extent()
2011 (le32_to_cpu(newext->ee_block) + in ext4_ext_insert_extent()
2012 ext4_ext_get_actual_len(newext) < in ext4_ext_insert_extent()
2017 if (ext4_can_extents_be_merged(inode, ex, newext)) { in ext4_ext_insert_extent()
2020 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2021 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2032 + ext4_ext_get_actual_len(newext)); in ext4_ext_insert_extent()
2041 if (ext4_can_extents_be_merged(inode, newext, ex)) { in ext4_ext_insert_extent()
2044 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2045 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2046 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2057 ex->ee_block = newext->ee_block; in ext4_ext_insert_extent()
2058 ext4_ext_store_pblock(ex, ext4_ext_pblock(newext)); in ext4_ext_insert_extent()
2060 + ext4_ext_get_actual_len(newext)); in ext4_ext_insert_extent()
2076 if (le32_to_cpu(newext->ee_block) > le32_to_cpu(fex->ee_block)) in ext4_ext_insert_extent()
2103 ppath, newext); in ext4_ext_insert_extent()
2119 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2120 ext4_ext_pblock(newext), in ext4_ext_insert_extent()
2121 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2122 ext4_ext_get_actual_len(newext)); in ext4_ext_insert_extent()
2125 if (le32_to_cpu(newext->ee_block) in ext4_ext_insert_extent()
2130 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2131 ext4_ext_pblock(newext), in ext4_ext_insert_extent()
2132 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2133 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2138 BUG_ON(newext->ee_block == nearex->ee_block); in ext4_ext_insert_extent()
2141 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2142 ext4_ext_pblock(newext), in ext4_ext_insert_extent()
2143 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2144 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2151 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2152 ext4_ext_pblock(newext), in ext4_ext_insert_extent()
2153 ext4_ext_is_unwritten(newext), in ext4_ext_insert_extent()
2154 ext4_ext_get_actual_len(newext), in ext4_ext_insert_extent()
2163 nearex->ee_block = newext->ee_block; in ext4_ext_insert_extent()
2164 ext4_ext_store_pblock(nearex, ext4_ext_pblock(newext)); in ext4_ext_insert_extent()
2165 nearex->ee_len = newext->ee_len; in ext4_ext_insert_extent()