Lines Matching refs:io_test_internal
241 struct nvme_io_test_internal *io_test_internal;
254 io_test_internal = malloc(sizeof(*io_test_internal), M_NVME,
256 io_test_internal->opc = io_test->opc;
257 io_test_internal->ns = ns;
258 io_test_internal->td_active = io_test->num_threads;
259 io_test_internal->time = io_test->time;
260 io_test_internal->size = io_test->size;
261 io_test_internal->flags = io_test->flags;
268 getmicrouptime(&io_test_internal->start);
271 kthread_add(fn, io_test_internal,
274 tsleep(io_test_internal, 0, "nvme_test", io_test->time * 2 * hz);
276 while (io_test_internal->td_active > 0)
279 memcpy(io_test->io_completed, io_test_internal->io_completed,
282 free(io_test_internal, M_NVME);