/linux-6.12.1/drivers/md/ |
D | dm-core.h | 28 struct dm_io; 105 struct dm_io *requeue_list; 248 struct dm_io *io; 256 (offsetof(struct dm_target_io, clone) + offsetof(struct dm_io, tio)) 287 struct dm_io { struct 293 struct dm_io *next; argument 317 static inline bool dm_io_flagged(struct dm_io *io, unsigned int bit) in dm_io_flagged() 322 static inline void dm_io_set_flag(struct dm_io *io, unsigned int bit) in dm_io_set_flag() 327 void dm_io_rewind(struct dm_io *io, struct bio_set *bs);
|
D | dm.c | 86 struct dm_io *io; 108 struct dm_io *io = (struct dm_io *)((char *)data + data_size); in dm_bio_from_per_bio_data() 496 static inline unsigned int dm_io_sectors(struct dm_io *io, struct bio *bio) in dm_io_sectors() 509 static void dm_io_acct(struct dm_io *io, bool end) in dm_io_acct() 538 static void __dm_start_io_acct(struct dm_io *io) in __dm_start_io_acct() 543 static void dm_start_io_acct(struct dm_io *io, struct bio *clone) in dm_start_io_acct() 569 static void dm_end_io_acct(struct dm_io *io) in dm_end_io_acct() 574 static struct dm_io *alloc_io(struct mapped_device *md, struct bio *bio, gfp_t gfp_mask) in alloc_io() 576 struct dm_io *io; in alloc_io() 588 io = container_of(tio, struct dm_io, tio); in alloc_io() [all …]
|
D | dm.h | 50 struct dm_io; 107 void dm_zone_endio(struct dm_io *io, struct bio *clone);
|
D | dm-writecache.c | 191 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, IOPRIO_DEFAULT); in ssd_commit_flushed() 567 req.client = wc->dm_io; in ssd_commit_superblock() 571 r = dm_io(&req, 1, ®ion, NULL, IOPRIO_DEFAULT); in ssd_commit_superblock() 596 req.client = wc->dm_io; in writecache_disk_flush() 599 r = dm_io(&req, 1, ®ion, NULL, IOPRIO_DEFAULT); in writecache_disk_flush() 990 req.client = wc->dm_io; in writecache_read_metadata() 993 return dm_io(&req, 1, ®ion, NULL, IOPRIO_DEFAULT); in writecache_read_metadata() 2221 if (wc->dm_io) in writecache_dtr() [all …]
|
D | dm-bufio.c | 992 struct dm_io_client *dm_io; member 1300 .client = b->c->dm_io, in use_dmio() 1316 r = dm_io(&io_req, 1, ®ion, NULL, ioprio); in use_dmio() 2186 .client = c->dm_io, in dm_bufio_issue_flush() 2197 return dm_io(&io_req, 1, &io_reg, NULL, IOPRIO_DEFAULT); in dm_bufio_issue_flush() 2210 .client = c->dm_io, in dm_bufio_issue_discard() 2221 return dm_io(&io_req, 1, &io_reg, NULL, IOPRIO_DEFAULT); in dm_bufio_issue_discard() 2301 return c->dm_io; in dm_bufio_get_dm_io_client() 2516 c->dm_io = dm_io_client_create(); in dm_bufio_client_create() 2517 if (IS_ERR(c->dm_io)) { in dm_bufio_client_create() [all …]
|
D | dm-io-rewind.c | 143 void dm_io_rewind(struct dm_io *io, struct bio_set *bs) in dm_io_rewind()
|
D | dm-io.c | 500 int dm_io(struct dm_io_request *io_req, unsigned int num_regions, in dm_io() function 524 EXPORT_SYMBOL(dm_io);
|
D | dm-snap-persistent.c | 226 req->result = dm_io(req->io_req, 1, req->where, NULL, IOPRIO_DEFAULT); in do_metadata() 250 return dm_io(&io_req, 1, &where, NULL, IOPRIO_DEFAULT); in chunk_io()
|
D | dm-log.c | 303 return dm_io(&lc->io_req, 1, &lc->header_location, NULL, IOPRIO_DEFAULT); in rw_header() 316 return dm_io(&lc->io_req, 1, &null_location, NULL, IOPRIO_DEFAULT); in flush_header()
|
D | dm-raid1.c | 281 dm_io(&io_req, ms->nr_mirrors, io, &error_bits, IOPRIO_DEFAULT); in mirror_flush() 557 BUG_ON(dm_io(&io_req, 1, &io, NULL, IOPRIO_DEFAULT)); in read_async_bio() 684 BUG_ON(dm_io(&io_req, ms->nr_mirrors, io, NULL, IOPRIO_DEFAULT)); in do_write()
|
D | dm-kcopyd.c | 581 r = dm_io(&io_req, 1, &job->source, NULL, IOPRIO_DEFAULT); in run_io_job() 583 r = dm_io(&io_req, job->num_dests, job->dests, NULL, IOPRIO_DEFAULT); in run_io_job()
|
D | dm-zone.c | 414 void dm_zone_endio(struct dm_io *io, struct bio *clone) in dm_zone_endio()
|
D | dm-integrity.c | 554 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT); in sync_rw_sb() 1072 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT); in rw_journal_sectors() 1189 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT); in copy_from_journal() 1518 r = dm_io(&fr.io_req, 1, &fr.io_reg, NULL, IOPRIO_DEFAULT); in dm_integrity_flush_buffers() 1734 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT); in integrity_recheck() 3098 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT); in integrity_recalc()
|
D | dm-verity-target.c | 436 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT); in verity_recheck()
|
D | dm-table.c | 1086 __alignof__(struct dm_io)) + DM_IO_BIO_OFFSET; in dm_table_alloc_md_mempools()
|
/linux-6.12.1/include/linux/ |
D | dm-io.h | 82 int dm_io(struct dm_io_request *io_req, unsigned int num_regions,
|