Home
last modified time | relevance | path

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

/arch/um/drivers/
Dubd_kern.c1213 static void prepare_request(struct request *req, struct io_thread_req *io_req, in prepare_request() argument
1220 io_req->req = req; in prepare_request()
1221 io_req->fds[0] = (ubd_dev->cow.file != NULL) ? ubd_dev->cow.fd : in prepare_request()
1223 io_req->fds[1] = ubd_dev->fd; in prepare_request()
1224 io_req->cow_offset = -1; in prepare_request()
1225 io_req->offset = offset; in prepare_request()
1226 io_req->length = len; in prepare_request()
1227 io_req->error = 0; in prepare_request()
1228 io_req->sector_mask = 0; in prepare_request()
1230 io_req->op = (rq_data_dir(req) == READ) ? UBD_READ : UBD_WRITE; in prepare_request()
[all …]