Searched refs:endio (Results 1 – 3 of 3) sorted by relevance
481 struct io_notify *endio = context; in writecache_notify_io() local484 writecache_error(endio->wc, -EIO, "error writing metadata"); in writecache_notify_io()485 BUG_ON(atomic_read(&endio->count) <= 0); in writecache_notify_io()486 if (atomic_dec_and_test(&endio->count)) in writecache_notify_io()487 complete(&endio->c); in writecache_notify_io()500 struct io_notify endio = { in ssd_commit_flushed() local502 COMPLETION_INITIALIZER_ONSTACK(endio.c), in ssd_commit_flushed()525 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() function346 bio->bi_end_io = endio; in do_region()
1112 dm_endio_fn endio = ti->type->end_io; in clone_endio() local1129 if (endio) { in clone_endio()1130 int r = endio(ti, bio, &error); in clone_endio()