Lines Matching defs:io_req
548 struct dm_io_request io_req;
553 io_req.bi_opf = opf;
554 io_req.mem.type = DM_IO_KMEM;
555 io_req.mem.ptr.addr = ic->sb;
556 io_req.notify.fn = NULL;
557 io_req.client = ic->io;
571 r = dm_io(&io_req, 1, &io_loc, NULL, NULL, IOPRIO_DEFAULT);
1059 struct dm_io_request io_req;
1073 io_req.bi_opf = opf;
1074 io_req.mem.type = DM_IO_PAGE_LIST;
1076 io_req.mem.ptr.pl = &ic->journal_io[pl_index];
1078 io_req.mem.ptr.pl = &ic->journal[pl_index];
1079 io_req.mem.offset = pl_offset;
1081 io_req.notify.fn = complete_journal_io;
1082 io_req.notify.context = comp;
1084 io_req.notify.fn = NULL;
1086 io_req.client = ic->io;
1091 r = dm_io(&io_req, 1, &io_loc, NULL, NULL, IOPRIO_DEFAULT);
1180 struct dm_io_request io_req;
1197 io_req.bi_opf = REQ_OP_WRITE;
1198 io_req.mem.type = DM_IO_PAGE_LIST;
1199 io_req.mem.ptr.pl = &ic->journal[pl_index];
1200 io_req.mem.offset = pl_offset;
1201 io_req.notify.fn = fn;
1202 io_req.notify.context = data;
1203 io_req.client = ic->io;
1208 r = dm_io(&io_req, 1, &io_loc, NULL, NULL, IOPRIO_DEFAULT);
1498 struct dm_io_request io_req;
1523 fr.io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC;
1524 fr.io_req.mem.type = DM_IO_KMEM;
1525 fr.io_req.mem.ptr.addr = NULL;
1526 fr.io_req.notify.fn = flush_notify;
1527 fr.io_req.notify.context = &fr;
1528 fr.io_req.client = dm_bufio_get_dm_io_client(ic->bufio);
1534 r = dm_io(&fr.io_req, 1, &fr.io_reg, NULL, NULL, IOPRIO_DEFAULT);
1892 struct dm_io_request io_req;
1894 io_req.bi_opf = REQ_OP_READ;
1895 io_req.mem.type = DM_IO_KMEM;
1896 io_req.mem.ptr.addr = buffer;
1897 io_req.notify.fn = NULL;
1898 io_req.client = ic->io;
1911 r = dm_io(&io_req, 1, &io_loc, NULL, NULL, IOPRIO_DEFAULT);
3196 struct dm_io_request io_req;
3288 io_req.bi_opf = REQ_OP_READ;
3289 io_req.mem.type = DM_IO_KMEM;
3290 io_req.mem.ptr.addr = recalc_buffer;
3291 io_req.notify.fn = NULL;
3292 io_req.client = ic->io;
3297 r = dm_io(&io_req, 1, &io_loc, NULL, NULL, IOPRIO_DEFAULT);