Lines Matching refs:operation

450 			     enum req_op operation)  in xen_vbd_translate()  argument
455 if ((operation != REQ_OP_READ) && vbd->readonly) in xen_vbd_translate()
683 pending_req->operation, pending_req->status); in xen_blkbk_unmap_and_respond_callback()
908 (pending_req->operation != BLKIF_OP_READ)); in xen_blkbk_map_seg()
1005 make_response(ring, req->u.discard.id, req->operation, status); in dispatch_discard_io()
1015 make_response(ring, req->u.other.id, req->operation, in dispatch_other_io()
1041 if (pending_req->operation == BLKIF_OP_FLUSH_DISKCACHE && in __end_block_io_op()
1046 } else if (pending_req->operation == BLKIF_OP_WRITE_BARRIER && in __end_block_io_op()
1080 dst->operation = READ_ONCE(src->operation); in blkif_get_x86_32_req()
1082 switch (dst->operation) { in blkif_get_x86_32_req()
1133 dst->operation = READ_ONCE(src->operation); in blkif_get_x86_64_req()
1135 switch (dst->operation) { in blkif_get_x86_64_req()
1243 switch (req.operation) { in __do_block_io_op()
1300 enum req_op operation; in dispatch_rw_block_io() local
1307 req_operation = req->operation == BLKIF_OP_INDIRECT ? in dispatch_rw_block_io()
1308 req->u.indirect.indirect_op : req->operation; in dispatch_rw_block_io()
1310 if ((req->operation == BLKIF_OP_INDIRECT) && in dispatch_rw_block_io()
1320 operation = REQ_OP_READ; in dispatch_rw_block_io()
1324 operation = REQ_OP_WRITE; in dispatch_rw_block_io()
1332 operation = REQ_OP_WRITE; in dispatch_rw_block_io()
1336 operation = 0; /* make gcc happy */ in dispatch_rw_block_io()
1342 nseg = req->operation == BLKIF_OP_INDIRECT ? in dispatch_rw_block_io()
1346 unlikely((req->operation != BLKIF_OP_INDIRECT) && in dispatch_rw_block_io()
1348 unlikely((req->operation == BLKIF_OP_INDIRECT) && in dispatch_rw_block_io()
1359 pending_req->operation = req_operation; in dispatch_rw_block_io()
1363 if (req->operation != BLKIF_OP_INDIRECT) { in dispatch_rw_block_io()
1384 if (xen_vbd_translate(&preq, ring->blkif, operation) != 0) { in dispatch_rw_block_io()
1386 operation == REQ_OP_READ ? "read" : "write", in dispatch_rw_block_io()
1435 operation | operation_flags, in dispatch_rw_block_io()
1450 bio = bio_alloc(preq.bdev, 0, operation | operation_flags, in dispatch_rw_block_io()
1466 if (operation == REQ_OP_READ) in dispatch_rw_block_io()
1468 else if (operation == REQ_OP_WRITE) in dispatch_rw_block_io()
1518 resp->operation = op; in make_response()