/linux-6.1.9/drivers/md/ |
D | dm-core.h | 25 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);
|
D | dm.c | 84 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 …]
|
D | dm-bufio.c | 98 struct dm_io_client *dm_io; member 601 .client = b->c->dm_io, in use_dmio() 617 r = dm_io(&io_req, 1, ®ion, 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 …]
|
D | dm.h | 49 struct dm_io; 102 void dm_zone_endio(struct dm_io *io, struct bio *clone);
|
D | dm-writecache.c | 194 struct dm_io_client *dm_io; member 529 req.client = wc->dm_io; in ssd_commit_flushed() 534 (void) dm_io(&req, 1, ®ion, NULL); in ssd_commit_flushed() 567 req.client = wc->dm_io; in ssd_commit_superblock() 571 r = dm_io(&req, 1, ®ion, NULL); in ssd_commit_superblock() 596 req.client = wc->dm_io; in writecache_disk_flush() 599 r = dm_io(&req, 1, ®ion, NULL); in writecache_disk_flush() 984 req.client = wc->dm_io; in writecache_read_metadata() 987 return dm_io(&req, 1, ®ion, NULL); in writecache_read_metadata() 2202 if (wc->dm_io) in writecache_dtr() [all …]
|
D | dm-io-rewind.c | 145 void dm_io_rewind(struct dm_io *io, struct bio_set *bs) in dm_io_rewind()
|
D | dm-io.c | 511 int dm_io(struct dm_io_request *io_req, unsigned num_regions, in dm_io() function 529 EXPORT_SYMBOL(dm_io);
|
D | dm-zone.c | 515 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()
|
D | dm-log.c | 298 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()
|
D | dm-snap-persistent.c | 223 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()
|
D | dm-kcopyd.c | 575 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()
|
D | dm-raid1.c | 276 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()
|
D | dm-integrity.c | 580 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()
|
D | dm-table.c | 1036 __alignof__(struct dm_io)) + DM_IO_BIO_OFFSET; in dm_table_alloc_md_mempools()
|
/linux-6.1.9/include/linux/ |
D | dm-io.h | 81 int dm_io(struct dm_io_request *io_req, unsigned num_regions,
|