Home
last modified time | relevance | path

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

/xnu-12377.61.12/bsd/tests/
H A Dcopyio_tests.c87 struct copyio_test_thread_data *tdata = arg; in copyio_thread_call_fn() local
88 tdata->ret = tdata->fn(tdata->data); in copyio_thread_call_fn()
89 semaphore_signal(tdata->done); in copyio_thread_call_fn()
95 struct copyio_test_thread_data tdata = { in copyio_test_run_in_thread() local
101 semaphore_create(current_task(), &tdata.done, SYNC_POLICY_FIFO, 0); in copyio_test_run_in_thread()
102 kernel_thread_start(copyio_thread_call_fn, &tdata, &thread); in copyio_test_run_in_thread()
104 semaphore_wait(tdata.done); in copyio_test_run_in_thread()
107 semaphore_destroy(current_task(), tdata.done); in copyio_test_run_in_thread()
109 return tdata.ret; in copyio_test_run_in_thread()
/xnu-12377.61.12/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))