Lines Matching defs:where
307 struct dm_io_region *where, struct dpages *dp,
315 sector_t remaining = where->count;
316 struct request_queue *q = bdev_get_queue(where->bdev);
325 special_cmd_max_sectors = bdev_max_discard_sectors(where->bdev);
336 * where->count may be zero if op holds a flush and we need to
353 bio = bio_alloc_bioset(where->bdev, num_bvecs, opf, GFP_NOIO,
355 bio->bi_iter.bi_sector = where->sector + (where->count - remaining);
386 struct dm_io_region *where, struct dpages *dp,
403 if (where[i].count || (opf & REQ_PREFLUSH))
404 do_region(opf, i, where + i, dp, io, ioprio);
428 struct dm_io_region *where, blk_opf_t opf, struct dpages *dp,
451 dispatch_io(opf, num_regions, where, dp, io, 1, ioprio);
462 struct dm_io_region *where, blk_opf_t opf,
484 dispatch_io(opf, num_regions, where, dp, io, 0, ioprio);
526 struct dm_io_region *where, unsigned long *sync_error_bits,
532 r = dp_init(io_req, &dp, (unsigned long)where->count << SECTOR_SHIFT);
537 return sync_io(io_req->client, num_regions, where,
540 return async_io(io_req->client, num_regions, where,