Searched refs:tdata (Results 1 – 2 of 2) sorted by relevance
83 struct copyio_test_thread_data *tdata = arg; in copyio_thread_call_fn() local84 tdata->ret = tdata->fn(tdata->data); in copyio_thread_call_fn()85 semaphore_signal(tdata->done); in copyio_thread_call_fn()91 struct copyio_test_thread_data tdata = { in copyio_test_run_in_thread() local97 semaphore_create(current_task(), &tdata.done, SYNC_POLICY_FIFO, 0); in copyio_test_run_in_thread()98 kernel_thread_start(copyio_thread_call_fn, &tdata, &thread); in copyio_test_run_in_thread()100 semaphore_wait(tdata.done); in copyio_test_run_in_thread()103 semaphore_destroy(current_task(), tdata.done); in copyio_test_run_in_thread()105 return tdata.ret; in copyio_test_run_in_thread()
565 tdata = 0568 tdata += self.totals['D'+f]573 ofile.write("Total Messages,{}\nTotal Data,{}\n".format(tmsgs, tdata))