Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/md/
Ddm-bufio.c102 struct dm_io_client *dm_io; member
513 .client = b->c->dm_io, in use_dmio()
531 r = dm_io(&io_req, 1, &region, NULL); in use_dmio()
1226 .client = c->dm_io, in dm_bufio_issue_flush()
1236 return dm_io(&io_req, 1, &io_reg, NULL); in dm_bufio_issue_flush()
1500 c->dm_io = dm_io_client_create(); in dm_bufio_client_create()
1501 if (IS_ERR(c->dm_io)) { in dm_bufio_client_create()
1502 r = PTR_ERR(c->dm_io); in dm_bufio_client_create()
1561 dm_io_client_destroy(c->dm_io); in dm_bufio_client_create()
1610 dm_io_client_destroy(c->dm_io); in dm_bufio_client_destroy()
Ddm.c56 struct dm_io { struct
71 struct dm_io *io; argument
221 _io_cache = KMEM_CACHE(dm_io, 0); in local_init()
444 static struct dm_io *alloc_io(struct mapped_device *md) in alloc_io()
449 static void free_io(struct mapped_device *md, struct dm_io *io) in free_io()
486 static void start_io_acct(struct dm_io *io) in start_io_acct()
501 static void end_io_acct(struct dm_io *io) in end_io_acct()
604 static void dec_pending(struct dm_io *io, int error) in dec_pending()
660 struct dm_io *io = tio->io; in clone_endio()
1043 struct dm_io *io;
Ddm-io.c491 int dm_io(struct dm_io_request *io_req, unsigned num_regions, in dm_io() function
508 EXPORT_SYMBOL(dm_io);
Ddm-kcopyd.c393 r = dm_io(&io_req, 1, &job->source, NULL); in run_io_job()
395 r = dm_io(&io_req, job->num_dests, job->dests, NULL); in run_io_job()
Ddm-snap-persistent.c224 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-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-raid1.c273 dm_io(&io_req, ms->nr_mirrors, io, &error_bits); in mirror_flush()
537 BUG_ON(dm_io(&io_req, 1, &io, NULL)); in read_async_bio()
653 BUG_ON(dm_io(&io_req, ms->nr_mirrors, io, NULL)); in do_write()
/linux-3.4.99/include/linux/
Ddm-io.h80 int dm_io(struct dm_io_request *io_req, unsigned num_regions,