Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm-core.h25 struct dm_io;
102 struct dm_io *requeue_list;
244 struct dm_io *io;
252 (offsetof(struct dm_target_io, clone) + offsetof(struct dm_io, tio))
283 struct dm_io { struct
289 struct dm_io *next; argument
312 static inline bool dm_io_flagged(struct dm_io *io, unsigned int bit) in dm_io_flagged()
317 static inline void dm_io_set_flag(struct dm_io *io, unsigned int bit) in dm_io_set_flag()
322 void dm_io_rewind(struct dm_io *io, struct bio_set *bs);
Ddm.c84 struct dm_io *io;
106 struct dm_io *io = (struct dm_io *)((char *)data + data_size); in dm_bio_from_per_bio_data()
494 static void dm_io_acct(struct dm_io *io, bool end) in dm_io_acct()
534 static void __dm_start_io_acct(struct dm_io *io) in __dm_start_io_acct()
539 static void dm_start_io_acct(struct dm_io *io, struct bio *clone) in dm_start_io_acct()
565 static void dm_end_io_acct(struct dm_io *io) in dm_end_io_acct()
570 static struct dm_io *alloc_io(struct mapped_device *md, struct bio *bio) in alloc_io()
572 struct dm_io *io; in alloc_io()
582 io = container_of(tio, struct dm_io, tio); in alloc_io()
601 static void free_io(struct dm_io *io) in free_io()
[all …]
Ddm-bufio.c98 struct dm_io_client *dm_io; member
601 .client = b->c->dm_io, in use_dmio()
617 r = dm_io(&io_req, 1, &region, NULL); in use_dmio()
1368 .client = c->dm_io, in dm_bufio_issue_flush()
1378 return dm_io(&io_req, 1, &io_reg, NULL); in dm_bufio_issue_flush()
1391 .client = c->dm_io, in dm_bufio_issue_discard()
1401 return dm_io(&io_req, 1, &io_reg, NULL); in dm_bufio_issue_discard()
1561 return c->dm_io; in dm_bufio_get_dm_io_client()
1791 c->dm_io = dm_io_client_create(); in dm_bufio_client_create()
1792 if (IS_ERR(c->dm_io)) { in dm_bufio_client_create()
[all …]
Ddm.h49 struct dm_io;
102 void dm_zone_endio(struct dm_io *io, struct bio *clone);
Ddm-writecache.c194 struct dm_io_client *dm_io; member
529 req.client = wc->dm_io; in ssd_commit_flushed()
534 (void) dm_io(&req, 1, &region, NULL); in ssd_commit_flushed()
567 req.client = wc->dm_io; in ssd_commit_superblock()
571 r = dm_io(&req, 1, &region, NULL); in ssd_commit_superblock()
596 req.client = wc->dm_io; in writecache_disk_flush()
599 r = dm_io(&req, 1, &region, NULL); in writecache_disk_flush()
984 req.client = wc->dm_io; in writecache_read_metadata()
987 return dm_io(&req, 1, &region, NULL); in writecache_read_metadata()
2202 if (wc->dm_io) in writecache_dtr()
[all …]
Ddm-io-rewind.c145 void dm_io_rewind(struct dm_io *io, struct bio_set *bs) in dm_io_rewind()
Ddm-io.c511 int dm_io(struct dm_io_request *io_req, unsigned num_regions, in dm_io() function
529 EXPORT_SYMBOL(dm_io);
Ddm-zone.c515 struct dm_io *io = tio->io; in dm_zone_map_bio()
586 void dm_zone_endio(struct dm_io *io, struct bio *clone) in dm_zone_endio()
Ddm-log.c298 return dm_io(&lc->io_req, 1, &lc->header_location, NULL); in rw_header()
311 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()
247 return dm_io(&io_req, 1, &where, NULL); in chunk_io()
Ddm-kcopyd.c575 r = dm_io(&io_req, 1, &job->source, NULL); in run_io_job()
577 r = dm_io(&io_req, job->num_dests, job->dests, NULL); in run_io_job()
Ddm-raid1.c276 dm_io(&io_req, ms->nr_mirrors, io, &error_bits); in mirror_flush()
547 BUG_ON(dm_io(&io_req, 1, &io, NULL)); in read_async_bio()
674 BUG_ON(dm_io(&io_req, ms->nr_mirrors, io, NULL)); in do_write()
Ddm-integrity.c580 r = dm_io(&io_req, 1, &io_loc, NULL); in sync_rw_sb()
1090 r = dm_io(&io_req, 1, &io_loc, NULL); in rw_journal_sectors()
1206 r = dm_io(&io_req, 1, &io_loc, NULL); in copy_from_journal()
1533 r = dm_io(&fr.io_req, 1, &fr.io_reg, NULL); in dm_integrity_flush_buffers()
2718 r = dm_io(&io_req, 1, &io_loc, NULL); in integrity_recalc()
Ddm-table.c1036 __alignof__(struct dm_io)) + DM_IO_BIO_OFFSET; in dm_table_alloc_md_mempools()
/linux-6.1.9/include/linux/
Ddm-io.h81 int dm_io(struct dm_io_request *io_req, unsigned num_regions,