/Linux-v4.19/drivers/md/ |
D | dm.c | 68 struct dm_io *io; 79 struct dm_io *io; 92 struct dm_io { struct 110 …return (char *)bio - offsetof(struct dm_target_io, clone) - offsetof(struct dm_io, tio) - data_siz… in dm_per_bio_data() argument 116 struct dm_io *io = (struct dm_io *)((char *)data + data_size); in dm_bio_from_per_bio_data() 118 …return (struct bio *)((char *)io + offsetof(struct dm_io, tio) + offsetof(struct dm_target_io, clo… in dm_bio_from_per_bio_data() 532 static void start_io_acct(struct dm_io *io); 534 static struct dm_io *alloc_io(struct mapped_device *md, struct bio *bio) in alloc_io() 536 struct dm_io *io; in alloc_io() 548 io = container_of(tio, struct dm_io, tio); in alloc_io() [all …]
|
D | dm-bufio.c | 95 struct dm_io_client *dm_io; member 542 .client = b->c->dm_io, in use_dmio() 558 r = dm_io(&io_req, 1, ®ion, NULL); in use_dmio() 1339 .client = c->dm_io, in dm_bufio_issue_flush() 1349 return dm_io(&io_req, 1, &io_reg, NULL); in dm_bufio_issue_flush() 1676 c->dm_io = dm_io_client_create(); in dm_bufio_client_create() 1677 if (IS_ERR(c->dm_io)) { in dm_bufio_client_create() 1678 r = PTR_ERR(c->dm_io); in dm_bufio_client_create() 1739 dm_io_client_destroy(c->dm_io); in dm_bufio_client_create() 1787 dm_io_client_destroy(c->dm_io); in dm_bufio_client_destroy()
|
D | dm-writecache.c | 169 struct dm_io_client *dm_io; member 484 req.client = wc->dm_io; in ssd_commit_flushed() 489 (void) dm_io(&req, 1, ®ion, NULL); in ssd_commit_flushed() 522 req.client = wc->dm_io; in writecache_disk_flush() 525 r = dm_io(&req, 1, ®ion, NULL); in writecache_disk_flush() 1808 if (wc->dm_io) in writecache_dtr() 1809 dm_io_client_destroy(wc->dm_io); in writecache_dtr() 1857 wc->dm_io = dm_io_client_create(); in writecache_ctr() 1858 if (IS_ERR(wc->dm_io)) { in writecache_ctr() 1859 r = PTR_ERR(wc->dm_io); in writecache_ctr() [all …]
|
D | dm-io.c | 537 int dm_io(struct dm_io_request *io_req, unsigned num_regions, in dm_io() function 556 EXPORT_SYMBOL(dm_io);
|
D | dm-kcopyd.c | 555 r = dm_io(&io_req, 1, &job->source, NULL); in run_io_job() 557 r = dm_io(&io_req, job->num_dests, job->dests, NULL); in run_io_job()
|
D | dm-log.c | 299 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()
|
D | dm-snap-persistent.c | 223 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()
|
D | dm-raid1.c | 277 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()
|
D | dm-integrity.c | 451 return dm_io(&io_req, 1, &io_loc, NULL); in sync_rw_sb() 798 r = dm_io(&io_req, 1, &io_loc, NULL); in rw_journal() 901 r = dm_io(&io_req, 1, &io_loc, NULL); in copy_from_journal() 2164 r = dm_io(&io_req, 1, &io_loc, NULL); in integrity_recalc()
|
/Linux-v4.19/include/linux/ |
D | dm-io.h | 81 int dm_io(struct dm_io_request *io_req, unsigned num_regions,
|