Lines Matching refs:opf
306 static void do_region(const blk_opf_t opf, unsigned int region, in do_region() argument
319 const enum req_op op = opf & REQ_OP_MASK; in do_region()
353 bio = bio_alloc_bioset(where->bdev, num_bvecs, opf, GFP_NOIO, in do_region()
385 static void dispatch_io(blk_opf_t opf, unsigned int num_regions, in dispatch_io() argument
395 opf |= REQ_SYNC; in dispatch_io()
403 if (where[i].count || (opf & REQ_PREFLUSH)) in dispatch_io()
404 do_region(opf, i, where + i, dp, io, ioprio); in dispatch_io()
428 struct dm_io_region *where, blk_opf_t opf, struct dpages *dp, in sync_io() argument
434 if (num_regions > 1 && !op_is_write(opf)) { in sync_io()
451 dispatch_io(opf, num_regions, where, dp, io, 1, ioprio); in sync_io()
462 struct dm_io_region *where, blk_opf_t opf, in async_io() argument
468 if (num_regions > 1 && !op_is_write(opf)) { in async_io()
484 dispatch_io(opf, num_regions, where, dp, io, 0, ioprio); in async_io()