Home
last modified time | relevance | path

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

/linux/drivers/md/
A Ddm-writecache.c480 struct io_notify *endio = context; in writecache_notify_io() local
483 writecache_error(endio->wc, -EIO, "error writing metadata"); in writecache_notify_io()
484 BUG_ON(atomic_read(&endio->count) <= 0); in writecache_notify_io()
485 if (atomic_dec_and_test(&endio->count)) in writecache_notify_io()
486 complete(&endio->c); in writecache_notify_io()
499 struct io_notify endio = { in ssd_commit_flushed() local
501 COMPLETION_INITIALIZER_ONSTACK(endio.c), in ssd_commit_flushed()
524 atomic_inc(&endio.count); in ssd_commit_flushed()
531 req.notify.context = &endio; in ssd_commit_flushed()
538 writecache_notify_io(0, &endio); in ssd_commit_flushed()
[all …]
A Ddm-io.c137 static void endio(struct bio *bio) in endio() function
351 bio->bi_end_io = endio; in do_region()
A Ddm.c885 dm_endio_fn endio = tio->ti->type->end_io; in clone_endio() local
903 if (endio) { in clone_endio()
904 int r = endio(tio->ti, bio, &error); in clone_endio()
/linux/Documentation/block/
A Dbiodoc.rst826 and passed on in some way to the endio completion routine.

Completed in 17 milliseconds