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