/spdk/test/env/env_dpdk_post_init/ |
H A D | env_dpdk_post_init.c | 70 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in main() local 95 spdk_nvme_detach_async(dev->ctrlr, &detach_ctx); in main() 98 if (detach_ctx) { in main() 99 spdk_nvme_detach_poll(detach_ctx); in main()
|
/spdk/test/nvme/startup/ |
H A D | startup.c | 75 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in cleanup() local 84 spdk_nvme_detach_async(ctrlr_entry->ctrlr, &detach_ctx); in cleanup() 88 if (detach_ctx) { in cleanup() 89 spdk_nvme_detach_poll(detach_ctx); in cleanup()
|
/spdk/test/app/stub/ |
H A D | stub.c | 30 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in cleanup() local 35 spdk_nvme_detach_async(ctrlr_entry->ctrlr, &detach_ctx); in cleanup() 39 if (detach_ctx) { in cleanup() 40 spdk_nvme_detach_poll(detach_ctx); in cleanup()
|
/spdk/lib/nvme/ |
H A D | nvme.c | 138 struct spdk_nvme_detach_ctx *detach_ctx; in spdk_nvme_detach_async() local 149 detach_ctx = *_detach_ctx; in spdk_nvme_detach_async() 150 if (detach_ctx == NULL) { in spdk_nvme_detach_async() 151 detach_ctx = calloc(1, sizeof(*detach_ctx)); in spdk_nvme_detach_async() 152 if (detach_ctx == NULL) { in spdk_nvme_detach_async() 155 TAILQ_INIT(&detach_ctx->head); in spdk_nvme_detach_async() 163 if (TAILQ_EMPTY(&detach_ctx->head)) { in spdk_nvme_detach_async() 164 free(detach_ctx); in spdk_nvme_detach_async() 170 TAILQ_INSERT_TAIL(&detach_ctx in spdk_nvme_detach_async() 178 spdk_nvme_detach_poll_async(struct spdk_nvme_detach_ctx * detach_ctx) spdk_nvme_detach_poll_async() argument 206 spdk_nvme_detach_poll(struct spdk_nvme_detach_ctx * detach_ctx) spdk_nvme_detach_poll() argument [all...] |
/spdk/test/nvme/err_injection/ |
H A D | err_injection.c | 191 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in main() local 248 spdk_nvme_detach_async(dev->ctrlr, &detach_ctx); in main() 250 if (detach_ctx) { in main() 251 spdk_nvme_detach_poll(detach_ctx); in main()
|
/spdk/test/nvme/doorbell_aers/ |
H A D | doorbell_aers.c | 280 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in main() local 310 spdk_nvme_detach_async(g_ctrlr, &detach_ctx); in main() 312 if (detach_ctx) { in main() 313 spdk_nvme_detach_poll(detach_ctx); in main()
|
/spdk/test/unit/lib/nvme/nvme.c/ |
H A D | nvme_ut.c | 1540 struct spdk_nvme_detach_ctx *detach_ctx; in test_spdk_nvme_detach_async() 1543 detach_ctx = NULL; in test_spdk_nvme_detach_async() 1556 rc = spdk_nvme_detach_async(&ctrlr1, &detach_ctx); in test_spdk_nvme_detach_async() 1559 CU_ASSERT(detach_ctx != NULL); in test_spdk_nvme_detach_async() 1561 rc = spdk_nvme_detach_async(&ctrlr2, &detach_ctx); in test_spdk_nvme_detach_async() 1564 CU_ASSERT(detach_ctx != NULL); in test_spdk_nvme_detach_async() 1568 rc = spdk_nvme_detach_poll_async(detach_ctx); in test_spdk_nvme_detach_async() 1575 detach_ctx = NULL; in test_spdk_nvme_detach_async() 1584 rc = spdk_nvme_detach_async(&ctrlr1, &detach_ctx); in test_spdk_nvme_detach_async() 1587 CU_ASSERT(detach_ctx ! in test_spdk_nvme_detach_async() 1503 struct spdk_nvme_detach_ctx *detach_ctx; test_spdk_nvme_detach_async() local [all...] |
/spdk/test/nvme/reserve/ |
H A D | reserve.c | 398 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in main() local 425 spdk_nvme_detach_async(iter->ctrlr, &detach_ctx); in main() 428 if (detach_ctx) { in main() 429 spdk_nvme_detach_poll(detach_ctx); in main()
|
/spdk/test/nvme/simple_copy/ |
H A D | simple_copy.c | 356 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in cleanup() local 362 spdk_nvme_detach_async(ns_entry->ctrlr, &detach_ctx); in cleanup() 368 if (detach_ctx) { in cleanup() 369 spdk_nvme_detach_poll(detach_ctx); in cleanup()
|
/spdk/test/nvme/reset/ |
H A D | reset.c | 529 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in unregister_controllers() local 533 spdk_nvme_detach_async(entry->ctrlr, &detach_ctx); in unregister_controllers() 537 if (detach_ctx) { in unregister_controllers() 538 spdk_nvme_detach_poll(detach_ctx); in unregister_controllers()
|
/spdk/test/nvme/aer/ |
H A D | aer.c | 577 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in main() local 711 spdk_nvme_detach_async(dev->ctrlr, &detach_ctx); in main() 714 if (detach_ctx) { in main() 715 spdk_nvme_detach_poll(detach_ctx); in main()
|
/spdk/test/nvme/sgl/ |
H A D | sgl.c | 485 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in main() local 528 spdk_nvme_detach_async(iter->ctrlr, &detach_ctx); in main() 531 if (detach_ctx) { in main() 532 spdk_nvme_detach_poll(detach_ctx); in main()
|
/spdk/test/nvme/overhead/ |
H A D | overhead.c | 671 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in cleanup() local 684 spdk_nvme_detach_async(ctrlr_entry->ctrlr, &detach_ctx); in cleanup() 688 if (detach_ctx) { in cleanup() 689 spdk_nvme_detach_poll(detach_ctx); in cleanup()
|
/spdk/test/nvme/e2edp/ |
H A D | nvme_dp.c | 626 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in main() local 682 spdk_nvme_detach_async(iter->ctrlr, &detach_ctx); in main() 685 if (detach_ctx) { in main() 686 spdk_nvme_detach_poll(detach_ctx); in main()
|
/spdk/test/app/fuzz/nvme_fuzz/ |
H A D | nvme_fuzz.c | 517 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in free_controllers() local 521 spdk_nvme_detach_async(ctrlr->ctrlr, &detach_ctx); in free_controllers() 525 if (detach_ctx) { in free_controllers() 526 spdk_nvme_detach_poll(detach_ctx); in free_controllers()
|
/spdk/test/nvme/fdp/ |
H A D | fdp.c | 951 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in cleanup() local 956 spdk_nvme_detach_async(ns_entry->ctrlr, &detach_ctx); in cleanup() 962 if (detach_ctx) { in cleanup() 963 spdk_nvme_detach_poll(detach_ctx); in cleanup()
|
/spdk/test/app/fuzz/llvm_nvme_fuzz/ |
H A D | llvm_nvme_fuzz.c | 782 struct spdk_nvme_detach_ctx *detach_ctx = NULL; in TestOneInput() local 808 spdk_nvme_detach_async(g_ctrlr, &detach_ctx); in TestOneInput() 810 if (detach_ctx) { in TestOneInput() 811 spdk_nvme_detach_poll(detach_ctx); in TestOneInput()
|
/spdk/module/bdev/nvme/ |
H A D | bdev_nvme.h | 123 struct spdk_nvme_detach_ctx *detach_ctx; 141 struct spdk_nvme_detach_ctx *detach_ctx; global() member
|
H A D | bdev_nvme.c | 667 rc = spdk_nvme_detach_poll_async(nvme_ctrlr->detach_ctx); in _bdev_nvme_add_io_path() 699 rc = spdk_nvme_detach_async(nvme_ctrlr->ctrlr, &nvme_ctrlr->detach_ctx); in bdev_nvme_clear_retry_io_path() 7090 struct spdk_nvme_detach_ctx *detach_ctx; in discovery_poller() 7536 if (ctx->detach_ctx) { in bdev_nvme_get_zone_info_done() 7537 rc = spdk_nvme_detach_poll_async(ctx->detach_ctx); in bdev_nvme_get_zone_info_done() 7539 ctx->detach_ctx = NULL; in bdev_nvme_get_zone_info_done() 7544 rc = spdk_nvme_detach_async(ctx->ctrlr, &ctx->detach_ctx); in bdev_nvme_get_zone_info_done() 7628 rc = spdk_nvme_detach_async(ctx->ctrlr, &ctx->detach_ctx); in bdev_nvme_abort_done() 6557 struct spdk_nvme_detach_ctx *detach_ctx; global() member
|