Searched refs:dm_io (Results 1 - 16 of 16) sorted by relevance

/linux-master/drivers/md/
H A Ddm-core.h28 struct dm_io;
101 * to represent the dm_io to be requeued, since each
102 * dm_io may point to the original bio from FS.
105 struct dm_io *requeue_list;
247 struct dm_io *io;
255 (offsetof(struct dm_target_io, clone) + offsetof(struct dm_io, tio))
286 struct dm_io { struct
292 struct dm_io *next;
308 * dm_io flags
316 static inline bool dm_io_flagged(struct dm_io *i
[all...]
H A Ddm.c46 * dm_io into one list, and reuse bio->bi_private as the list head. Before
85 struct dm_io *io;
107 struct dm_io *io = (struct dm_io *)((char *)data + data_size);
495 static inline unsigned int dm_io_sectors(struct dm_io *io, struct bio *bio)
508 static void dm_io_acct(struct dm_io *io, bool end)
537 static void __dm_start_io_acct(struct dm_io *io)
542 static void dm_start_io_acct(struct dm_io *io, struct bio *clone)
568 static void dm_end_io_acct(struct dm_io *io)
573 static struct dm_io *alloc_i
[all...]
H A Ddm-io-rewind.c143 void dm_io_rewind(struct dm_io *io, struct bio_set *bs)
H A Ddm.h50 struct dm_io;
105 void dm_zone_endio(struct dm_io *io, struct bio *clone);
H A Ddm-writecache.c191 struct dm_io_client *dm_io; member in struct:dm_writecache
529 req.client = wc->dm_io;
534 (void) dm_io(&req, 1, &region, NULL, IOPRIO_DEFAULT);
567 req.client = wc->dm_io;
571 r = dm_io(&req, 1, &region, NULL, IOPRIO_DEFAULT);
596 req.client = wc->dm_io;
599 r = dm_io(&req, 1, &region, NULL, IOPRIO_DEFAULT);
990 req.client = wc->dm_io;
993 return dm_io(&req, 1, &region, NULL, IOPRIO_DEFAULT);
2221 if (wc->dm_io)
[all...]
H A Ddm-bufio.c995 struct dm_io_client *dm_io; member in struct:dm_bufio_client
1303 .client = b->c->dm_io,
1319 r = dm_io(&io_req, 1, &region, NULL, ioprio);
2189 .client = c->dm_io,
2200 return dm_io(&io_req, 1, &io_reg, NULL, IOPRIO_DEFAULT);
2213 .client = c->dm_io,
2224 return dm_io(&io_req, 1, &io_reg, NULL, IOPRIO_DEFAULT);
2304 return c->dm_io;
2518 c->dm_io = dm_io_client_create();
2519 if (IS_ERR(c->dm_io)) {
[all...]
H A Ddm-zone.c514 struct dm_io *io = tio->io;
585 void dm_zone_endio(struct dm_io *io, struct bio *clone)
H A Ddm-io.c525 int dm_io(struct dm_io_request *io_req, unsigned int num_regions, function
544 EXPORT_SYMBOL(dm_io); variable
H A Ddm-snap-persistent.c226 req->result = dm_io(req->io_req, 1, req->where, NULL, IOPRIO_DEFAULT);
250 return dm_io(&io_req, 1, &where, NULL, IOPRIO_DEFAULT);
H A Ddm-log.c303 return dm_io(&lc->io_req, 1, &lc->header_location, NULL, IOPRIO_DEFAULT);
316 return dm_io(&lc->io_req, 1, &null_location, NULL, IOPRIO_DEFAULT);
H A Ddm-raid1.c281 dm_io(&io_req, ms->nr_mirrors, io, &error_bits, IOPRIO_DEFAULT);
557 BUG_ON(dm_io(&io_req, 1, &io, NULL, IOPRIO_DEFAULT));
684 BUG_ON(dm_io(&io_req, ms->nr_mirrors, io, NULL, IOPRIO_DEFAULT));
918 ti->error = "Error creating dm_io client";
H A Ddm-kcopyd.c581 r = dm_io(&io_req, 1, &job->source, NULL, IOPRIO_DEFAULT);
583 r = dm_io(&io_req, job->num_dests, job->dests, NULL, IOPRIO_DEFAULT);
H A Ddm-integrity.c558 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT);
1076 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT);
1081 WARN_ONCE(1, "asynchronous dm_io failed: %d", r);
1193 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT);
1195 WARN_ONCE(1, "asynchronous dm_io failed: %d", r);
1522 r = dm_io(&fr.io_req, 1, &fr.io_reg, NULL, IOPRIO_DEFAULT);
1738 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT);
2817 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT);
H A Ddm-verity-target.c517 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT);
H A Ddm-table.c1052 __alignof__(struct dm_io)) + DM_IO_BIO_OFFSET;
/linux-master/include/linux/
H A Ddm-io.h69 * For async io calls, users can alternatively use the dm_io() function below
82 int dm_io(struct dm_io_request *io_req, unsigned int num_regions,

Completed in 206 milliseconds