Lines Matching refs:operation

450 			     enum req_op operation)
455 if ((operation != REQ_OP_READ) && vbd->readonly)
683 pending_req->operation, pending_req->status);
908 (pending_req->operation != BLKIF_OP_READ));
1005 make_response(ring, req->u.discard.id, req->operation, status);
1015 make_response(ring, req->u.other.id, req->operation,
1041 if (pending_req->operation == BLKIF_OP_FLUSH_DISKCACHE &&
1046 } else if (pending_req->operation == BLKIF_OP_WRITE_BARRIER &&
1052 pr_debug("Buffer not up-to-date at end of operation,"
1080 dst->operation = READ_ONCE(src->operation);
1082 switch (dst->operation) {
1133 dst->operation = READ_ONCE(src->operation);
1135 switch (dst->operation) {
1243 switch (req.operation) {
1300 enum req_op operation;
1307 req_operation = req->operation == BLKIF_OP_INDIRECT ?
1308 req->u.indirect.indirect_op : req->operation;
1310 if ((req->operation == BLKIF_OP_INDIRECT) &&
1313 pr_debug("Invalid indirect operation (%u)\n", req_operation);
1320 operation = REQ_OP_READ;
1324 operation = REQ_OP_WRITE;
1332 operation = REQ_OP_WRITE;
1336 operation = 0; /* make gcc happy */
1342 nseg = req->operation == BLKIF_OP_INDIRECT ?
1346 unlikely((req->operation != BLKIF_OP_INDIRECT) &&
1348 unlikely((req->operation == BLKIF_OP_INDIRECT) &&
1359 pending_req->operation = req_operation;
1363 if (req->operation != BLKIF_OP_INDIRECT) {
1384 if (xen_vbd_translate(&preq, ring->blkif, operation) != 0) {
1386 operation == REQ_OP_READ ? "read" : "write",
1435 operation | operation_flags,
1446 /* This will be hit if the operation was a flush or discard. */
1450 bio = bio_alloc(preq.bdev, 0, operation | operation_flags,
1466 if (operation == REQ_OP_READ)
1468 else if (operation == REQ_OP_WRITE)
1487 * Put a response on the ring on how the operation fared.
1518 resp->operation = op;