Lines Matching refs:next_extent
1269 struct ext2fs_extent extent, next_extent, prev_extent; in ext2fs_extent_set_bmap() local
1349 retval = ext2fs_extent_get(handle, EXT2_EXTENT_NEXT_LEAF, &next_extent); in ext2fs_extent_set_bmap()
1356 &next_extent); in ext2fs_extent_set_bmap()
1358 if (next_extent.e_flags & EXT2_EXTENT_FLAGS_UNINIT) in ext2fs_extent_set_bmap()
1408 (logical == next_extent.e_lblk - 1) && in ext2fs_extent_set_bmap()
1409 (physical == next_extent.e_pblk - 1) && in ext2fs_extent_set_bmap()
1411 ((int) next_extent.e_len < max_len - 1)) { in ext2fs_extent_set_bmap()
1414 &next_extent); in ext2fs_extent_set_bmap()
1417 next_extent.e_len++; in ext2fs_extent_set_bmap()
1418 next_extent.e_lblk--; in ext2fs_extent_set_bmap()
1419 next_extent.e_pblk--; in ext2fs_extent_set_bmap()
1420 retval = ext2fs_extent_replace(handle, 0, &next_extent); in ext2fs_extent_set_bmap()
1454 (logical == (next_extent.e_lblk - 1)) && in ext2fs_extent_set_bmap()
1455 (physical == (next_extent.e_pblk - 1)) && in ext2fs_extent_set_bmap()
1457 ((int) next_extent.e_len < max_len - 1)) { in ext2fs_extent_set_bmap()
1459 EXT2_EXTENT_NEXT_LEAF, &next_extent); in ext2fs_extent_set_bmap()
1462 next_extent.e_len++; in ext2fs_extent_set_bmap()
1463 next_extent.e_lblk--; in ext2fs_extent_set_bmap()
1464 next_extent.e_pblk--; in ext2fs_extent_set_bmap()
1466 &next_extent); in ext2fs_extent_set_bmap()