Lines Matching refs:io_test_internal
240 struct nvme_io_test_internal *io_test_internal;
253 io_test_internal = malloc(sizeof(*io_test_internal), M_NVME,
255 io_test_internal->opc = io_test->opc;
256 io_test_internal->ns = ns;
257 io_test_internal->td_active = io_test->num_threads;
258 io_test_internal->time = io_test->time;
259 io_test_internal->size = io_test->size;
260 io_test_internal->flags = io_test->flags;
267 getmicrouptime(&io_test_internal->start);
270 kthread_add(fn, io_test_internal,
273 tsleep(io_test_internal, 0, "nvme_test", io_test->time * 2 * hz);
275 while (io_test_internal->td_active > 0)
278 memcpy(io_test->io_completed, io_test_internal->io_completed,
281 free(io_test_internal, M_NVME);