Lines Matching refs:where
307 struct dm_io_region *where, struct dpages *dp, in do_region() argument
315 sector_t remaining = where->count; in do_region()
316 struct request_queue *q = bdev_get_queue(where->bdev); in do_region()
325 special_cmd_max_sectors = bdev_max_discard_sectors(where->bdev); in do_region()
353 bio = bio_alloc_bioset(where->bdev, num_bvecs, opf, GFP_NOIO, in do_region()
355 bio->bi_iter.bi_sector = where->sector + (where->count - remaining); in do_region()
387 struct dm_io_region *where, struct dpages *dp, in dispatch_io() argument
401 if (where[i].count || (opf & REQ_PREFLUSH)) in dispatch_io()
402 do_region(opf, i, where + i, dp, io, ioprio); in dispatch_io()
413 struct dm_io_region *where, blk_opf_t opf, in async_io() argument
429 dispatch_io(opf, num_regions, where, dp, io, ioprio); in async_io()
446 struct dm_io_region *where, blk_opf_t opf, struct dpages *dp, in sync_io() argument
453 async_io(client, num_regions, where, opf | REQ_SYNC, dp, in sync_io()
502 struct dm_io_region *where, unsigned long *sync_error_bits, in dm_io() argument
513 r = dp_init(io_req, &dp, (unsigned long)where->count << SECTOR_SHIFT); in dm_io()
518 return sync_io(io_req->client, num_regions, where, in dm_io()
521 async_io(io_req->client, num_regions, where, io_req->bi_opf, &dp, in dm_io()