Home
last modified time | relevance | path

Searched refs:endio (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/md/
Ddm-writecache.c436 struct io_notify *endio = context; in writecache_notify_io() local
439 writecache_error(endio->wc, -EIO, "error writing metadata"); in writecache_notify_io()
440 BUG_ON(atomic_read(&endio->count) <= 0); in writecache_notify_io()
441 if (atomic_dec_and_test(&endio->count)) in writecache_notify_io()
442 complete(&endio->c); in writecache_notify_io()
449 struct io_notify endio = { in ssd_commit_flushed() local
451 COMPLETION_INITIALIZER_ONSTACK(endio.c), in ssd_commit_flushed()
474 atomic_inc(&endio.count); in ssd_commit_flushed()
481 req.notify.context = &endio; in ssd_commit_flushed()
488 writecache_notify_io(0, &endio); in ssd_commit_flushed()
[all …]
Ddm-io.c137 static void endio(struct bio *bio) in endio() function
351 bio->bi_end_io = endio; in do_region()
Ddm.c979 dm_endio_fn endio = tio->ti->type->end_io; in clone_endio() local
993 if (endio) { in clone_endio()
994 int r = endio(tio->ti, bio, &error); in clone_endio()
/Linux-v5.4/Documentation/block/
Dbiodoc.rst826 and passed on in some way to the endio completion routine.