Lines Matching refs:nearex
1666 struct ext4_extent *nearex; /* nearest extent */ in ext4_ext_insert_extent() local
1709 nearex = ex; in ext4_ext_insert_extent()
1752 nearex = path[depth].p_ext; in ext4_ext_insert_extent()
1758 if (!nearex) { in ext4_ext_insert_extent()
1767 > le32_to_cpu(nearex->ee_block)) { in ext4_ext_insert_extent()
1769 if (nearex != EXT_LAST_EXTENT(eh)) { in ext4_ext_insert_extent()
1770 len = EXT_MAX_EXTENT(eh) - nearex; in ext4_ext_insert_extent()
1779 nearex, len, nearex + 1, nearex + 2); in ext4_ext_insert_extent()
1780 memmove(nearex + 2, nearex + 1, len); in ext4_ext_insert_extent()
1782 path[depth].p_ext = nearex + 1; in ext4_ext_insert_extent()
1784 BUG_ON(newext->ee_block == nearex->ee_block); in ext4_ext_insert_extent()
1785 len = (EXT_MAX_EXTENT(eh) - nearex) * sizeof(struct ext4_extent); in ext4_ext_insert_extent()
1793 nearex, len, nearex + 1, nearex + 2); in ext4_ext_insert_extent()
1794 memmove(nearex + 1, nearex, len); in ext4_ext_insert_extent()
1795 path[depth].p_ext = nearex; in ext4_ext_insert_extent()
1799 nearex = path[depth].p_ext; in ext4_ext_insert_extent()
1800 nearex->ee_block = newext->ee_block; in ext4_ext_insert_extent()
1801 ext4_ext_store_pblock(nearex, ext4_ext_pblock(newext)); in ext4_ext_insert_extent()
1802 nearex->ee_len = newext->ee_len; in ext4_ext_insert_extent()
1807 ext4_ext_try_to_merge(inode, path, nearex); in ext4_ext_insert_extent()