Lines Matching full:remaining
305 sector_t remaining = where->count; in do_region() local
345 dm_sector_div_up(remaining, (PAGE_SIZE >> SECTOR_SHIFT))); in do_region()
349 bio->bi_iter.bi_sector = where->sector + (where->count - remaining); in do_region()
356 num_sectors = min_t(sector_t, special_cmd_max_sectors, remaining); in do_region()
358 remaining -= num_sectors; in do_region()
365 num_sectors = min_t(sector_t, special_cmd_max_sectors, remaining); in do_region()
369 remaining -= num_sectors; in do_region()
371 } else while (remaining) { in do_region()
376 len = min(len, to_bytes(remaining)); in do_region()
381 remaining -= to_sector(len); in do_region()
387 } while (remaining); in do_region()