Searched refs:endio (Results 1 – 4 of 4) sorted by relevance
480 struct io_notify *endio = context; in writecache_notify_io() local483 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() local501 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 …]
137 static void endio(struct bio *bio) in endio() function351 bio->bi_end_io = endio; in do_region()
885 dm_endio_fn endio = tio->ti->type->end_io; in clone_endio() local903 if (endio) { in clone_endio()904 int r = endio(tio->ti, bio, &error); in clone_endio()
826 and passed on in some way to the endio completion routine.
Completed in 17 milliseconds