Lines Matching refs:opf
296 static void do_region(const blk_opf_t opf, unsigned region, in do_region() argument
309 const enum req_op op = opf & REQ_OP_MASK; in do_region()
343 bio = bio_alloc_bioset(where->bdev, num_bvecs, opf, GFP_NOIO, in do_region()
372 static void dispatch_io(blk_opf_t opf, unsigned int num_regions, in dispatch_io() argument
382 opf |= REQ_SYNC; in dispatch_io()
390 if (where[i].count || (opf & REQ_PREFLUSH)) in dispatch_io()
391 do_region(opf, i, where + i, dp, io); in dispatch_io()
415 struct dm_io_region *where, blk_opf_t opf, struct dpages *dp, in sync_io() argument
421 if (num_regions > 1 && !op_is_write(opf)) { in sync_io()
438 dispatch_io(opf, num_regions, where, dp, io, 1); in sync_io()
449 struct dm_io_region *where, blk_opf_t opf, in async_io() argument
454 if (num_regions > 1 && !op_is_write(opf)) { in async_io()
470 dispatch_io(opf, num_regions, where, dp, io, 0); in async_io()