Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm-writecache.c481 struct io_notify *endio = context; in writecache_notify_io() local
484 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() local
502 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 …]
Ddm-io.c137 static void endio(struct bio *bio) in endio() function
346 bio->bi_end_io = endio; in do_region()
Ddm.c1112 dm_endio_fn endio = ti->type->end_io; in clone_endio() local
1129 if (endio) { in clone_endio()
1130 int r = endio(ti, bio, &error); in clone_endio()