Home
last modified time | relevance | path

Searched refs:tdata (Results 1 – 2 of 2) sorted by relevance

/xnu-8792.81.2/bsd/tests/
H A Dcopyio_tests.c83 struct copyio_test_thread_data *tdata = arg; in copyio_thread_call_fn() local
84 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() local
97 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()
/xnu-8792.81.2/tools/trace/
H A Dparse_ipc_trace.py565 tdata = 0
568 tdata += self.totals['D'+f]
573 ofile.write("Total Messages,{}\nTotal Data,{}\n".format(tmsgs, tdata))