Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/md/
Ddm-bufio.c96 struct dm_io_client *dm_io; member
589 .client = b->c->dm_io, in use_dmio()
605 r = dm_io(&io_req, 1, &region, NULL); in use_dmio()
1349 .client = c->dm_io, in dm_bufio_issue_flush()
1359 return dm_io(&io_req, 1, &io_reg, NULL); in dm_bufio_issue_flush()
1373 .client = c->dm_io, in dm_bufio_issue_discard()
1383 return dm_io(&io_req, 1, &io_reg, NULL); in dm_bufio_issue_discard()
1543 return c->dm_io; in dm_bufio_get_dm_io_client()
1765 c->dm_io = dm_io_client_create(); in dm_bufio_client_create()
1766 if (IS_ERR(c->dm_io)) { in dm_bufio_client_create()
[all …]
Ddm.c71 struct dm_io *io;
82 struct dm_io *io;
95 struct dm_io { struct
113 …return (char *)bio - offsetof(struct dm_target_io, clone) - offsetof(struct dm_io, tio) - data_siz… in dm_per_bio_data() argument
119 struct dm_io *io = (struct dm_io *)((char *)data + data_size); in dm_bio_from_per_bio_data()
121 …return (struct bio *)((char *)io + offsetof(struct dm_io, tio) + offsetof(struct dm_target_io, clo… in dm_bio_from_per_bio_data()
592 struct dm_io *io = tio->io; in dm_start_time_ns_from_clone()
598 static void start_io_acct(struct dm_io *io) in start_io_acct()
610 static void end_io_acct(struct dm_io *io) in end_io_acct()
628 static struct dm_io *alloc_io(struct mapped_device *md, struct bio *bio) in alloc_io()
[all …]
Ddm-writecache.c185 struct dm_io_client *dm_io; member
507 req.client = wc->dm_io; in ssd_commit_flushed()
512 (void) dm_io(&req, 1, &region, NULL); in ssd_commit_flushed()
546 req.client = wc->dm_io; in ssd_commit_superblock()
550 r = dm_io(&req, 1, &region, NULL); in ssd_commit_superblock()
576 req.client = wc->dm_io; in writecache_disk_flush()
579 r = dm_io(&req, 1, &region, NULL); in writecache_disk_flush()
965 req.client = wc->dm_io; in writecache_read_metadata()
968 return dm_io(&req, 1, &region, NULL); in writecache_read_metadata()
2072 if (wc->dm_io) in writecache_dtr()
[all …]
Ddm-io.c537 int dm_io(struct dm_io_request *io_req, unsigned num_regions, in dm_io() function
556 EXPORT_SYMBOL(dm_io);
Ddm-log.c299 return dm_io(&lc->io_req, 1, &lc->header_location, NULL); in rw_header()
313 return dm_io(&lc->io_req, 1, &null_location, NULL); in flush_header()
Ddm-snap-persistent.c223 req->result = dm_io(req->io_req, 1, req->where, NULL); in do_metadata()
248 return dm_io(&io_req, 1, &where, NULL); in chunk_io()
Ddm-kcopyd.c577 r = dm_io(&io_req, 1, &job->source, NULL); in run_io_job()
579 r = dm_io(&io_req, job->num_dests, job->dests, NULL); in run_io_job()
Ddm-raid1.c277 dm_io(&io_req, ms->nr_mirrors, io, &error_bits); in mirror_flush()
549 BUG_ON(dm_io(&io_req, 1, &io, NULL)); in read_async_bio()
676 BUG_ON(dm_io(&io_req, ms->nr_mirrors, io, NULL)); in do_write()
Ddm-integrity.c508 return dm_io(&io_req, 1, &io_loc, NULL); in sync_rw_sb()
987 r = dm_io(&io_req, 1, &io_loc, NULL); in rw_journal_sectors()
1101 r = dm_io(&io_req, 1, &io_loc, NULL); in copy_from_journal()
1427 r = dm_io(&fr.io_req, 1, &fr.io_reg, NULL); in dm_integrity_flush_buffers()
2597 r = dm_io(&io_req, 1, &io_loc, NULL); in integrity_recalc()
/kernel/linux/linux-5.10/include/linux/
Ddm-io.h81 int dm_io(struct dm_io_request *io_req, unsigned num_regions,