Home
last modified time | relevance | path

Searched refs:io_req (Results 1 – 1 of 1) sorted by relevance

/arch/um/drivers/
Dubd_kern.c481 struct io_thread_req *io_req = (*irq_req_buffer)[count]; in ubd_handler() local
483 if ((io_req->error == BLK_STS_NOTSUPP) && (req_op(io_req->req) == REQ_OP_DISCARD)) { in ubd_handler()
484 blk_queue_max_discard_sectors(io_req->req->q, 0); in ubd_handler()
485 blk_queue_max_write_zeroes_sectors(io_req->req->q, 0); in ubd_handler()
486 blk_queue_flag_clear(QUEUE_FLAG_DISCARD, io_req->req->q); in ubd_handler()
488 blk_mq_end_request(io_req->req, io_req->error); in ubd_handler()
489 kfree(io_req); in ubd_handler()
1256 static void ubd_map_req(struct ubd *dev, struct io_thread_req *io_req, in ubd_map_req() argument
1262 unsigned long byte_offset = io_req->offset; in ubd_map_req()
1266 io_req->io_desc[0].buffer = NULL; in ubd_map_req()
[all …]