Home
last modified time | relevance | path

Searched refs:done (Results 1 – 25 of 49) sorted by relevance

12

/spdk/test/nvme/compliance/
H A Dnvme_compliance.c16 bool done; member
37 while (!s->done && spdk_get_ticks() < timeout) { in wait_for_admin_completion()
41 if (!s->done) { in wait_for_admin_completion()
52 while (!s->done && spdk_get_ticks() < timeout) { in wait_for_io_completion()
56 if (!s->done) { in wait_for_io_completion()
66 s->done = true; in test_cb()
95 s.done = false; in admin_identify_ctrlr_verify_dptr()
107 s.done = false; in admin_identify_ctrlr_verify_dptr()
154 s.done = false; in admin_identify_ctrlr_verify_fused()
160 s2.done in admin_identify_ctrlr_verify_fused()
[all...]
/spdk/module/bdev/ocf/
H A Dctx.c79 size_t i, len, done = 0; in iovec_flatten() local
91 if (done >= size) { in iovec_flatten()
95 len = MIN(size - done, iov[i].iov_len - offset); in iovec_flatten()
98 done += len; in iovec_flatten()
102 return done; in iovec_flatten()
120 size_t i, len, done = 0; in buf_to_iovec() local
132 if (done >= size) { in buf_to_iovec()
136 len = MIN(size - done, iov[i].iov_len - offset); in buf_to_iovec()
139 done += len; in buf_to_iovec()
143 return done; in buf_to_iovec()
161 size_t i, len, done = 0; iovset() local
[all...]
/spdk/doc/
H A Dusdt.md75 2111.264281: nqn.2014-08.org.nvmexpress.discovery on thread 2 state to ACTIVE done
76 2111.284083: nqn.2014-08.org.nvmexpress.discovery change state from INACTIVE to ACTIVE done
79 2111.279787: nqn.2014-08.org.nvmexpress.discovery on thread 3 state to ACTIVE done
82 2189.959125: nqn.2016-06.io.spdk:cnode1 on thread 2 state to ACTIVE done
83 2190.005832: nqn.2016-06.io.spdk:cnode1 change state from INACTIVE to ACTIVE done
85 2189.999889: nqn.2016-06.io.spdk:cnode1 on thread 3 state to ACTIVE done
88 2197.883416: nqn.2016-06.io.spdk:cnode1 on thread 2 state to PAUSED done
89 2197.902291: nqn.2016-06.io.spdk:cnode1 change state from ACTIVE to PAUSED done
92 2197.927409: nqn.2016-06.io.spdk:cnode1 on thread 2 state to ACTIVE done
93 2197.949742: nqn.2016-06.io.spdk:cnode1 change state from PAUSED to ACTIVE done
[all …]
H A Dbackporting.md14 `selection` may be done by anyone who knows about a patch that should be introduced to an older
50 progress to a checkpoint file, from which user might resume after they are done fixing merge
55 SPDK uses forks of other repositories as submodules. This is done for two reasons:
61 but updating other submodules should be done by analogy.
H A Dnvmf_multipath_howto.md87 This can be done on the target server by setting the first path's ANA to `non_optimized`:
/spdk/scripts/bash-completion/
H A Dspdk24 done < <(printf '%s\n' "$@")
44 done
45 done < <(_get_help "$1" 2> /dev/null)
61 done
87 done
102 done
161 done < /proc/mounts
/spdk/test/unit/lib/nvmf/vfio_user.c/
H A Dvfio_user_ut.c217 int *done = cb_arg; in ut_transport_destroy_done_cb()
218 *done = 1; in ut_transport_destroy_done_cb()
229 int done; in test_nvmf_vfio_user_create_destroy()
243 done = 0; in test_nvmf_vfio_user_create_destroy()
245 rc = nvmf_vfio_user_destroy(transport, ut_transport_destroy_done_cb, &done); in test_nvmf_vfio_user_create_destroy()
247 CU_ASSERT(done == 1); in test_nvmf_vfio_user_create_destroy()
216 int *done = cb_arg; ut_transport_destroy_done_cb() local
228 int done; test_nvmf_vfio_user_create_destroy() local
/spdk/test/unit/lib/bdev/mt/bdev.c/
H A Dbdev_ut.c313 bdev_init_cb(void *done, int rc)
316 *(bool *)done = true; in bdev_init_cb()
343 bool done = false; in setup_test()
354 spdk_bdev_initialize(bdev_init_cb, &done); in setup_test()
433 _bdev_unregistered(void *done, int rc)
436 *(bool *)done = true; in _bdev_unregistered()
442 bool done, remove_notify; in unregister_and_close()
461 done = false; in unregister_and_close()
462 spdk_bdev_unregister(&g_bdev.bdev, _bdev_unregistered, &done); in unregister_and_close()
469 CU_ASSERT(done in unregister_and_close()
315 bdev_init_cb(void * done,int rc) bdev_init_cb() argument
345 bool done = false; setup_test() local
435 _bdev_unregistered(void * done,int rc) _bdev_unregistered() argument
444 bool done, remove_notify; unregister_and_close() local
519 bool done; unregister_and_close_different_threads() local
568 bool *done = cb_arg; reset_done() local
579 bool done = false; put_channel_during_reset() local
2411 bdev_init_wt_cb(void * done,int rc) bdev_init_wt_cb() argument
[all...]
/spdk/test/nvme/aer/
H A Daer.c474 /* Let parent know init is done and it's okay to continue */ in spdk_aer_temperature_test()
639 goto done; in main()
669 goto done; in main()
677 goto done; in main()
684 goto done; in main()
723 done: in main()
/spdk/test/unit/lib/nvme/nvme.c/
H A Dnvme_ut.c591 CU_ASSERT(status->done == true);
1319 g_status.done = completion_delay_us < timeout_in_usecs && g_process_comp_result == 0 ? true : false; in test_nvme_wait_for_completion()
1342 CU_ASSERT(g_status.done == false); in test_nvme_wait_for_completion()
1353 CU_ASSERT(g_status.done == false); in test_nvme_wait_for_completion()
1365 CU_ASSERT(g_status.done == true); in test_nvme_wait_for_completion()
1375 CU_ASSERT(g_status.done == false); in test_nvme_wait_for_completion()
1385 CU_ASSERT(g_status.done == true); in test_nvme_wait_for_completion()
1394 CU_ASSERT(g_status.done == false); in test_nvme_wait_for_completion()
1406 CU_ASSERT(g_status.done == false); in test_nvme_wait_for_completion()
1419 CU_ASSERT(g_status.done in test_nvme_ctrlr_probe_internal()
[all...]
/spdk/lib/ftl/
H A Dftl_io.c223 io->done = true; in ftl_io_complete()
244 io->done = false; in ftl_io_clear()
H A Dftl_io.h114 bool done; member
/spdk/test/unit/lib/blobfs/blobfs_sync_ut/
H A Dblobfs_sync_ut.c28 volatile int done; member
48 req->done = 1; in ut_call_fn()
58 req.done = 0; in ut_send_request()
63 while (req.done == 0) { } in ut_send_request()
/spdk/test/unit/lib/event/reactor.c/
H A Dreactor_ut.c253 bool *done = arg2; in for_each_reactor_done() local
256 *done = true; in for_each_reactor_done()
271 bool done = false; in test_for_each_reactor() local
280 spdk_for_each_reactor(for_each_reactor_cb, &count, &done, for_each_reactor_done); in test_for_each_reactor()
284 /* We have not processed any event yet, so count and done should be 0 and false, in test_for_each_reactor()
297 CU_ASSERT(done == false); in test_for_each_reactor()
308 CU_ASSERT(done == true); in test_for_each_reactor()
/spdk/lib/nvme/
H A Dnvme_opal_internal.h228 bool done; member
H A Dnvme.c231 status->done = true; in nvme_completion_poll_cb()
267 if (!status->done && status->timeout_tsc && spdk_get_ticks() > status->timeout_tsc) { in nvme_wait_for_completion_robust_lock_timeout_poll()
280 if (!status->done) { in nvme_wait_for_completion_robust_lock_timeout_poll()
292 if (!status->done) { in nvme_wait_for_completion_robust_lock_timeout_poll()
/spdk/test/unit/lib/thread/thread.c/
H A Dthread_ut.c110 bool *done = ctx; in send_msg_cb() local
112 *done = true; in send_msg_cb()
119 bool done = false; in thread_send_msg() local
127 spdk_thread_send_msg(thread0, send_msg_cb, &done); in thread_send_msg()
129 /* We have not polled thread 0 yet, so done should be false. */ in thread_send_msg()
130 CU_ASSERT(!done); in thread_send_msg()
134 * a nop and done should still be false. in thread_send_msg()
137 CU_ASSERT(!done); in thread_send_msg()
140 * Poll thread 0. This should execute the message and done should then in thread_send_msg()
144 CU_ASSERT(done); in thread_send_msg()
[all...]
/spdk/scripts/bpf/
H A Dnvmf.bt16 str(arg1), @subsystem[arg3], @subsystem[arg2], arg4 ? "failed" : "done");
26 printf("%d.%06d: %s on thread %d state to %s done\n",
/spdk/scripts/env_dpdk/
H A DREADME.md25 currently tested DPDK version. This should be done only for cosmetic changes,
/spdk/test/unit/lib/bdev/nvme/bdev_nvme.c/
H A Dbdev_nvme_ut.c6197 bool *done = cb_arg; in test_disable_auto_failback()
6199 *done = true; in test_disable_auto_failback()
6217 bool done; in test_disable_auto_failback()
6297 done = false; in test_set_multipath_policy()
6299 bdev_nvme_set_preferred_path(nbdev->disk.name, cdata->cntlid, _set_preferred_path_cb, &done); in test_set_multipath_policy()
6302 CU_ASSERT(done == true); in test_set_multipath_policy()
6318 done = false; in test_set_multipath_policy()
6320 bdev_nvme_set_preferred_path(nbdev->disk.name, cdata->cntlid, _set_preferred_path_cb, &done); in test_set_multipath_policy()
6323 CU_ASSERT(done == true); in test_set_multipath_policy()
6491 bool done; in test_retry_io_to_same_path()
5850 bool *done = cb_arg; _set_preferred_path_cb() local
5870 bool done; test_set_preferred_path() local
6140 bool done; test_disable_auto_failback() local
6274 int *done = cb_arg; ut_set_multipath_policy_done() local
6294 int done; test_set_multipath_policy() local
6454 int done; test_retry_io_to_same_path() local
[all...]
/spdk/lib/nvmf/
H A Dfc.c551 goto done; in nvmf_fc_poll_group_remove_hwqp()
558 goto done; in nvmf_fc_poll_group_remove_hwqp()
573 goto done; in nvmf_fc_poll_group_remove_hwqp()
577 done: in nvmf_fc_poll_group_remove_hwqp()
2491 "IT delete assoc_cb on nport %d done, port_handle:%d s_id:%d d_id:%d rpi:%d rport_assoc_count:%d rc = %d.\n", in nvmf_fc_adm_i_t_delete_assoc_cb()
2553 "IT delete assoc_cb on nport %d done, s_id:%d d_id:%d rpi:%d rport_assoc_count:%d err = %d.\n", in nvmf_fc_adm_i_t_delete_assoc()
2698 SPDK_DEBUGLOG(nvmf_fc_adm_api, "HW port %d quiesce done, rc = %d.\n", fc_port->port_hdl, in nvmf_fc_adm_hw_queue_quiesce()
2715 goto done; in nvmf_fc_adm_hw_port_quiesce()
2730 done: in nvmf_fc_adm_hw_port_quiesce()
2880 SPDK_DEBUGLOG(nvmf_fc_adm_api, "HW port %d initialize done, r in nvmf_fc_adm_evnt_hw_port_free()
[all...]
/spdk/module/bdev/lvol/
H A Dvbdev_lvol_rpc.c1018 goto done; in rpc_bdev_lvol_delete()
1026 goto done; in rpc_bdev_lvol_delete()
1038 goto done; in rpc_bdev_lvol_delete()
1046 done: in rpc_bdev_lvol_delete()
/spdk/scripts/vagrant/
H A DREADME.md165 This only needs to be done once. This is also not necessary for Fedora VMs provisioned with the -d …
225 The following steps are done by the `update.sh` script. It is recommended that you capture the outp…
/spdk/test/unit/lib/accel/accel.c/
H A Daccel_ut.c617 ut_accel_module_priority_finish_done(void *done) in test_spdk_accel_module_register()
619 *(int *)done = 1; in test_spdk_accel_module_register()
631 int rc, done = 0; in test_spdk_accel_module_register()
656 spdk_accel_finish(ut_accel_module_priority_finish_done, &done); in ut_sequence_step_cb()
657 while (!done) { in ut_sequence_step_cb()
4370 bool *done = cb_arg;
4372 *done = true;
4378 bool done = false;
4380 spdk_accel_finish(finish_cb, &done);
4382 while (!done) {
600 ut_accel_module_priority_finish_done(void * done) ut_accel_module_priority_finish_done() argument
614 int rc, done = 0; test_spdk_accel_module_register() local
4131 bool *done = cb_arg; finish_cb() local
4139 bool done = false; test_sequence_cleanup() local
[all...]
/spdk/test/common/config/pkgdep/
H A Dgit299 done
547 done
581 done

12