Home
last modified time | relevance | path

Searched refs:endio (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/hyperhold/
H A Dhp_core.c667 goto endio; in hp_endio_work()
681 endio: in hp_endio_work()
684 if (hpio->endio) in hp_endio_work()
685 hpio->endio(hpio); in hp_endio_work()
754 static int rw_extent_async(struct hpio *hpio, hp_endio endio, void *priv, unsigned int op) in rw_extent_async() argument
762 hpio->endio = endio; in rw_extent_async()
774 int hyperhold_write_async(struct hpio *hpio, hp_endio endio, void *priv) in hyperhold_write_async() argument
784 return rw_extent_async(hpio, endio, priv, REQ_OP_WRITE); in hyperhold_write_async()
788 int hyperhold_read_async(struct hpio *hpio, hp_endio endio, voi argument
[all...]
H A Dhyperhold.h49 int hyperhold_write_async(struct hpio *hpio, hp_endio endio, void *priv);
50 int hyperhold_read_async(struct hpio *hpio, hp_endio endio, void *priv);
H A Dhp_iotab.h39 hp_endio endio; member
/kernel/linux/linux-6.6/drivers/hyperhold/
H A Dhp_core.c707 goto endio; in hp_endio_work()
721 endio: in hp_endio_work()
724 if (hpio->endio) in hp_endio_work()
725 hpio->endio(hpio); in hp_endio_work()
804 static int rw_extent_async(struct hpio *hpio, hp_endio endio, void *priv, unsigned int op) in rw_extent_async() argument
812 hpio->endio = endio; in rw_extent_async()
824 int hyperhold_write_async(struct hpio *hpio, hp_endio endio, void *priv) in hyperhold_write_async() argument
834 return rw_extent_async(hpio, endio, priv, REQ_OP_WRITE); in hyperhold_write_async()
838 int hyperhold_read_async(struct hpio *hpio, hp_endio endio, voi argument
[all...]
H A Dhyperhold.h49 int hyperhold_write_async(struct hpio *hpio, hp_endio endio, void *priv);
50 int hyperhold_read_async(struct hpio *hpio, hp_endio endio, void *priv);
H A Dhp_iotab.h39 hp_endio endio; member
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-writecache.c458 struct io_notify *endio = context; in writecache_notify_io() local
461 writecache_error(endio->wc, -EIO, "error writing metadata"); in writecache_notify_io()
462 BUG_ON(atomic_read(&endio->count) <= 0); in writecache_notify_io()
463 if (atomic_dec_and_test(&endio->count)) in writecache_notify_io()
464 complete(&endio->c); in writecache_notify_io()
477 struct io_notify endio = { in ssd_commit_flushed() local
479 COMPLETION_INITIALIZER_ONSTACK(endio.c), in ssd_commit_flushed()
502 atomic_inc(&endio.count); in ssd_commit_flushed()
509 req.notify.context = &endio; in ssd_commit_flushed()
516 writecache_notify_io(0, &endio); in ssd_commit_flushed()
[all...]
H A Ddm-io.c137 static void endio(struct bio *bio) in endio() function
351 bio->bi_end_io = endio; in do_region()
H A Ddm.c994 dm_endio_fn endio = tio->ti->type->end_io; in clone_endio() local
1021 if (endio) { in clone_endio()
1022 int r = endio(tio->ti, bio, &error); in clone_endio()
1033 DMWARN("unimplemented target endio return value: %d", r); in clone_endio()
/kernel/linux/linux-6.6/drivers/md/
H 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()
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...]
H A Ddm-io.c142 static void endio(struct bio *bio) in endio() function
356 bio->bi_end_io = endio; in do_region()
H A Ddm.c1097 dm_endio_fn endio = ti->type->end_io; in clone_endio() local
1114 if (endio) { in clone_endio()
1115 int r = endio(ti, bio, &error); in clone_endio()
1138 DMCRIT("unimplemented target endio return value: %d", r); in clone_endio()

Completed in 18 milliseconds