Home
last modified time | relevance | path

Searched refs:ctx_buf (Results 1 – 25 of 39) sorted by relevance

12

/spdk/test/external_code/accel/
H A Dmodule.c93 ex_accel_create_cb(void *io_device, void *ctx_buf) in ex_accel_create_cb() argument
95 struct ex_accel_io_channel *ex_ch = ctx_buf; in ex_accel_create_cb()
104 ex_accel_destroy_cb(void *io_device, void *ctx_buf) in ex_accel_destroy_cb() argument
106 struct ex_accel_io_channel *ex_ch = ctx_buf; in ex_accel_destroy_cb()
H A Ddriver.c32 ex_driver_create_cb(void *io_device, void *ctx_buf) in ex_driver_create_cb() argument
38 ex_driver_destroy_cb(void *io_device, void *ctx_buf) in ex_driver_destroy_cb() argument
/spdk/test/unit/lib/thread/thread.c/
H A Dthread_ut.c488 channel_create(void *io_device, void *ctx_buf) in channel_create() argument
497 channel_destroy(void *io_device, void *ctx_buf) in channel_destroy() argument
713 create_cb_1(void *io_device, void *ctx_buf) in create_cb_1() argument
716 *(uint64_t *)ctx_buf = g_ctx1; in create_cb_1()
722 destroy_cb_1(void *io_device, void *ctx_buf) in destroy_cb_1() argument
725 CU_ASSERT(*(uint64_t *)ctx_buf == g_ctx1); in destroy_cb_1()
730 create_cb_2(void *io_device, void *ctx_buf) in create_cb_2() argument
733 *(uint64_t *)ctx_buf = g_ctx2; in create_cb_2()
739 destroy_cb_2(void *io_device, void *ctx_buf) in destroy_cb_2() argument
742 CU_ASSERT(*(uint64_t *)ctx_buf in destroy_cb_2()
809 create_cb(void * io_device,void * ctx_buf) create_cb() argument
820 destroy_cb(void * io_device,void * ctx_buf) destroy_cb() argument
1121 ut_nested_ch_create_cb(void * io_device,void * ctx_buf) ut_nested_ch_create_cb() argument
1143 ut_nested_ch_destroy_cb(void * io_device,void * ctx_buf) ut_nested_ch_destroy_cb() argument
1287 create_cb2(void * io_device,void * ctx_buf) create_cb2() argument
1297 destroy_cb2(void * io_device,void * ctx_buf) destroy_cb2() argument
1642 dummy_create_cb(void * io_device,void * ctx_buf) dummy_create_cb() argument
1648 dummy_destroy_cb(void * io_device,void * ctx_buf) dummy_destroy_cb() argument
[all...]
/spdk/module/accel/ioat/
H A Daccel_ioat.c197 ioat_create_cb(void *io_device, void *ctx_buf) in ioat_create_cb() argument
199 struct ioat_io_channel *ch = ctx_buf; in ioat_create_cb()
215 ioat_destroy_cb(void *io_device, void *ctx_buf) in ioat_destroy_cb() argument
217 struct ioat_io_channel *ch = ctx_buf; in ioat_destroy_cb()
/spdk/module/bdev/xnvme/
H A Dbdev_xnvme.c362 bdev_xnvme_queue_create_cb(void *io_device, void *ctx_buf) in create_xnvme_bdev()
365 struct bdev_xnvme_io_channel *ch = ctx_buf; in create_xnvme_bdev()
383 bdev_xnvme_queue_destroy_cb(void *io_device, void *ctx_buf) in create_xnvme_bdev()
385 struct bdev_xnvme_io_channel *ch = ctx_buf; in create_xnvme_bdev()
526 bdev_xnvme_module_create_cb(void *io_device, void *ctx_buf)
532 bdev_xnvme_module_destroy_cb(void *io_device, void *ctx_buf)
293 bdev_xnvme_queue_create_cb(void * io_device,void * ctx_buf) bdev_xnvme_queue_create_cb() argument
314 bdev_xnvme_queue_destroy_cb(void * io_device,void * ctx_buf) bdev_xnvme_queue_destroy_cb() argument
448 bdev_xnvme_module_create_cb(void * io_device,void * ctx_buf) bdev_xnvme_module_create_cb() argument
454 bdev_xnvme_module_destroy_cb(void * io_device,void * ctx_buf) bdev_xnvme_module_destroy_cb() argument
/spdk/module/accel/iaa/
H A Daccel_iaa.c304 idxd_create_cb(void *io_device, void *ctx_buf) in idxd_destroy_cb()
306 struct idxd_io_channel *chan = ctx_buf;
325 idxd_destroy_cb(void *io_device, void *ctx_buf) in attach_cb()
327 struct idxd_io_channel *chan = ctx_buf; in attach_cb()
278 idxd_create_cb(void * io_device,void * ctx_buf) idxd_create_cb() argument
299 idxd_destroy_cb(void * io_device,void * ctx_buf) idxd_destroy_cb() argument
/spdk/module/bdev/uring/
H A Dbdev_uring.c660 bdev_uring_create_cb(void *io_device, void *ctx_buf) in _bdev_uring_submit_request()
662 struct bdev_uring_io_channel *ch = ctx_buf; in _bdev_uring_submit_request()
670 bdev_uring_destroy_cb(void *io_device, void *ctx_buf) in _bdev_uring_submit_request()
672 struct bdev_uring_io_channel *ch = ctx_buf;
741 bdev_uring_group_create_cb(void *io_device, void *ctx_buf) in bdev_uring_write_json_config()
743 struct bdev_uring_group_channel *ch = ctx_buf; in bdev_uring_write_json_config()
757 bdev_uring_group_destroy_cb(void *io_device, void *ctx_buf)
759 struct bdev_uring_group_channel *ch = ctx_buf;
698 bdev_uring_create_cb(void * io_device,void * ctx_buf) bdev_uring_create_cb() argument
708 bdev_uring_destroy_cb(void * io_device,void * ctx_buf) bdev_uring_destroy_cb() argument
779 bdev_uring_group_create_cb(void * io_device,void * ctx_buf) bdev_uring_group_create_cb() argument
795 bdev_uring_group_destroy_cb(void * io_device,void * ctx_buf) bdev_uring_group_destroy_cb() argument
/spdk/module/bdev/aio/
H A Dbdev_aio.c730 bdev_aio_create_cb(void *io_device, void *ctx_buf) in bdev_aio_destroy_cb()
732 struct bdev_aio_io_channel *ch = ctx_buf; in bdev_aio_destroy_cb()
747 bdev_aio_destroy_cb(void *io_device, void *ctx_buf) in bdev_aio_dump_info_json()
749 struct bdev_aio_io_channel *ch = ctx_buf; in bdev_aio_dump_info_json()
863 bdev_aio_group_create_cb(void *io_device, void *ctx_buf)
865 struct bdev_aio_group_channel *ch = ctx_buf; in bdev_aio_group_destroy_cb()
886 bdev_aio_group_destroy_cb(void *io_device, void *ctx_buf) in create_aio_bdev()
888 struct bdev_aio_group_channel *ch = ctx_buf; in create_aio_bdev()
706 bdev_aio_create_cb(void * io_device,void * ctx_buf) bdev_aio_create_cb() argument
723 bdev_aio_destroy_cb(void * io_device,void * ctx_buf) bdev_aio_destroy_cb() argument
841 bdev_aio_group_create_cb(void * io_device,void * ctx_buf) bdev_aio_group_create_cb() argument
864 bdev_aio_group_destroy_cb(void * io_device,void * ctx_buf) bdev_aio_group_destroy_cb() argument
/spdk/module/bdev/virtio/
H A Dbdev_virtio_blk.c83 static int bdev_virtio_blk_ch_create_cb(void *io_device, void *ctx_buf);
84 static void bdev_virtio_blk_ch_destroy_cb(void *io_device, void *ctx_buf);
342 bdev_virtio_blk_ch_create_cb(void *io_device, void *ctx_buf) in bdev_virtio_blk_ch_create_cb() argument
346 struct bdev_virtio_blk_io_channel *ch = ctx_buf; in bdev_virtio_blk_ch_create_cb()
366 bdev_virtio_blk_ch_destroy_cb(void *io_device, void *ctx_buf) in bdev_virtio_blk_ch_destroy_cb() argument
370 struct bdev_virtio_blk_io_channel *ch = ctx_buf; in bdev_virtio_blk_ch_destroy_cb()
H A Dbdev_virtio_scsi.c174 static int bdev_virtio_scsi_ch_create_cb(void *io_device, void *ctx_buf);
175 static void bdev_virtio_scsi_ch_destroy_cb(void *io_device, void *ctx_buf);
983 bdev_virtio_scsi_ch_create_cb(void *io_device, void *ctx_buf) in bdev_virtio_scsi_ch_create_cb() argument
987 struct bdev_virtio_io_channel *ch = ctx_buf; in bdev_virtio_scsi_ch_create_cb()
1008 bdev_virtio_scsi_ch_destroy_cb(void *io_device, void *ctx_buf) in bdev_virtio_scsi_ch_destroy_cb() argument
1010 struct bdev_virtio_io_channel *ch = ctx_buf; in bdev_virtio_scsi_ch_destroy_cb()
/spdk/module/bdev/null/
H A Dbdev_null.c410 null_bdev_create_cb(void *io_device, void *ctx_buf) in bdev_null_initialize()
412 struct null_io_channel *ch = ctx_buf; in bdev_null_initialize()
421 null_bdev_destroy_cb(void *io_device, void *ctx_buf)
423 struct null_io_channel *ch = ctx_buf; in dummy_bdev_event_cb()
379 null_bdev_create_cb(void * io_device,void * ctx_buf) null_bdev_create_cb() argument
390 null_bdev_destroy_cb(void * io_device,void * ctx_buf) null_bdev_destroy_cb() argument
/spdk/module/accel/dpdk_compressdev/
H A Daccel_dpdk_compressdev.c710 static int compress_create_cb(void *io_device, void *ctx_buf); in accel_compress_init()
711 static void compress_destroy_cb(void *io_device, void *ctx_buf); in accel_compress_init()
746 compress_create_cb(void *io_device, void *ctx_buf) in compress_create_cb()
748 struct compress_io_channel *chan = ctx_buf; in compress_create_cb()
820 compress_destroy_cb(void *io_device, void *ctx_buf) in compress_supports_opcode()
822 struct compress_io_channel *chan = ctx_buf; in compress_supports_opcode()
719 compress_create_cb(void * io_device,void * ctx_buf) compress_create_cb() argument
793 compress_destroy_cb(void * io_device,void * ctx_buf) compress_destroy_cb() argument
/spdk/module/accel/dsa/
H A Daccel_dsa.c512 dsa_create_cb(void *io_device, void *ctx_buf) in accel_dsa_init()
514 struct idxd_io_channel *chan = ctx_buf; in accel_dsa_init()
541 dsa_destroy_cb(void *io_device, void *ctx_buf) in accel_dsa_exit()
543 struct idxd_io_channel *chan = ctx_buf; in accel_dsa_exit()
417 dsa_create_cb(void * io_device,void * ctx_buf) dsa_create_cb() argument
438 dsa_destroy_cb(void * io_device,void * ctx_buf) dsa_destroy_cb() argument
/spdk/test/unit/lib/bdev/part.c/
H A Dpart_ut.c112 bdev_ut_create_ch(void *io_device, void *ctx_buf) in _part_cleanup()
114 struct bdev_ut_channel *ch = ctx_buf;
127 bdev_ut_destroy_ch(void *io_device, void *ctx_buf) in bdev_ut_create_ch() argument
142 bdev_ut_destroy_ch(void * io_device,void * ctx_buf) bdev_ut_destroy_ch() argument
/spdk/test/external_code/passthru/
H A Dvbdev_passthru.c422 pt_bdev_ch_create_cb(void *io_device, void *ctx_buf) in pt_bdev_ch_create_cb() argument
424 struct pt_io_channel *pt_ch = ctx_buf; in pt_bdev_ch_create_cb()
437 pt_bdev_ch_destroy_cb(void *io_device, void *ctx_buf) in pt_bdev_ch_destroy_cb() argument
439 struct pt_io_channel *pt_ch = ctx_buf; in pt_bdev_ch_destroy_cb()
/spdk/module/bdev/passthru/
H A Dvbdev_passthru.c434 pt_bdev_ch_create_cb(void *io_device, void *ctx_buf) in pt_bdev_ch_create_cb()
436 struct pt_io_channel *pt_ch = ctx_buf; in pt_bdev_ch_create_cb()
449 pt_bdev_ch_destroy_cb(void *io_device, void *ctx_buf) in pt_bdev_ch_destroy_cb()
451 struct pt_io_channel *pt_ch = ctx_buf; in pt_bdev_ch_destroy_cb()
433 pt_bdev_ch_create_cb(void * io_device,void * ctx_buf) pt_bdev_ch_create_cb() argument
448 pt_bdev_ch_destroy_cb(void * io_device,void * ctx_buf) pt_bdev_ch_destroy_cb() argument
/spdk/module/bdev/rbd/
H A Dbdev_rbd.c815 bdev_rbd_create_cb(void *io_device, void *ctx_buf) in bdev_rbd_create_cb() argument
817 struct bdev_rbd_io_channel *ch = ctx_buf; in bdev_rbd_create_cb()
828 bdev_rbd_destroy_cb(void *io_device, void *ctx_buf) in bdev_rbd_destroy_cb() argument
830 struct bdev_rbd_io_channel *ch = ctx_buf; in bdev_rbd_destroy_cb()
1441 bdev_rbd_group_create_cb(void *io_device, void *ctx_buf) in bdev_rbd_group_create_cb() argument
1447 bdev_rbd_group_destroy_cb(void *io_device, void *ctx_buf) in bdev_rbd_group_destroy_cb() argument
/spdk/module/bdev/daos/
H A Dbdev_daos.c650 bdev_daos_io_channel_create_cb(void *io_device, void *ctx_buf) in bdev_daos_io_channel_create_cb() argument
653 struct bdev_daos_io_channel *ch = ctx_buf; in bdev_daos_io_channel_create_cb()
670 bdev_daos_io_channel_destroy_cb(void *io_device, void *ctx_buf) in bdev_daos_io_channel_destroy_cb() argument
673 struct bdev_daos_io_channel *ch = ctx_buf; in bdev_daos_io_channel_destroy_cb()
/spdk/module/bdev/crypto/
H A Dvbdev_crypto.c513 crypto_bdev_ch_create_cb(void *io_device, void *ctx_buf) in crypto_bdev_ch_create_cb() argument
515 struct crypto_io_channel *crypto_ch = ctx_buf; in crypto_bdev_ch_create_cb()
543 crypto_bdev_ch_destroy_cb(void *io_device, void *ctx_buf) in crypto_bdev_ch_destroy_cb() argument
545 struct crypto_io_channel *crypto_ch = ctx_buf; in crypto_bdev_ch_destroy_cb()
/spdk/module/bdev/zone_block/
H A Dvbdev_zone_block.c591 _zone_block_ch_create_cb(void *io_device, void *ctx_buf) in _zone_block_ch_create_cb() argument
593 struct zone_block_io_channel *bdev_ch = ctx_buf; in _zone_block_ch_create_cb()
605 _zone_block_ch_destroy_cb(void *io_device, void *ctx_buf) in _zone_block_ch_destroy_cb() argument
607 struct zone_block_io_channel *bdev_ch = ctx_buf; in _zone_block_ch_destroy_cb()
/spdk/module/bdev/delay/
H A Dvbdev_delay.c562 delay_bdev_ch_create_cb(void *io_device, void *ctx_buf) in delay_bdev_ch_create_cb() argument
564 struct delay_io_channel *delay_ch = ctx_buf; in delay_bdev_ch_create_cb()
584 delay_bdev_ch_destroy_cb(void *io_device, void *ctx_buf) in delay_bdev_ch_destroy_cb() argument
586 struct delay_io_channel *delay_ch = ctx_buf; in delay_bdev_ch_destroy_cb()
/spdk/module/bdev/raid/
H A Draid1.c353 raid1_ioch_destroy(void *io_device, void *ctx_buf) in raid1_ioch_destroy() argument
358 raid1_ioch_create(void *io_device, void *ctx_buf) in raid1_ioch_create() argument
H A Draid5f.c978 raid5f_ioch_destroy(void *io_device, void *ctx_buf) in raid5f_ioch_destroy() argument
980 struct raid5f_io_channel *r5ch = ctx_buf; in raid5f_ioch_destroy()
1005 raid5f_ioch_create(void *io_device, void *ctx_buf) in raid5f_ioch_create() argument
1007 struct raid5f_io_channel *r5ch = ctx_buf; in raid5f_ioch_create()
/spdk/module/accel/mlx5/
H A Daccel_mlx5.c2519 accel_mlx5_destroy_cb(void *io_device, void *ctx_buf)
2521 struct accel_mlx5_io_channel *ch = ctx_buf;
2551 accel_mlx5_create_cb(void *io_device, void *ctx_buf)
2554 struct accel_mlx5_io_channel *ch = ctx_buf;
2630 dev->ch = spdk_io_channel_from_ctx(ctx_buf);
2639 accel_mlx5_destroy_cb(&g_accel_mlx5, ctx_buf);
879 accel_mlx5_destroy_cb(void * io_device,void * ctx_buf) accel_mlx5_destroy_cb() argument
899 accel_mlx5_create_cb(void * io_device,void * ctx_buf) accel_mlx5_create_cb() argument
/spdk/lib/iscsi/
H A Discsi_subsystem.c991 iscsi_poll_group_create(void *io_device, void *ctx_buf) in iscsi_poll_group_create() argument
993 struct spdk_iscsi_poll_group *pg = ctx_buf; in iscsi_poll_group_create()
1007 iscsi_poll_group_destroy(void *io_device, void *ctx_buf) in iscsi_poll_group_destroy() argument
1009 struct spdk_iscsi_poll_group *pg = ctx_buf; in iscsi_poll_group_destroy()

12