Searched refs:threadList (Results 1 – 3 of 3) sorted by relevance
| /xnu-11215/tests/ipc/ |
| H A D | ipc_thread_ports_race.c | 62 thread_array_t threadList; in test_race() local 70 kr = task_threads(task, &threadList, &threadCount); in test_race() 74 mach_port_deallocate(mach_task_self(), threadList[i]); in test_race() 77 vm_deallocate(mach_task_self(), (vm_address_t)threadList, in test_race() 78 sizeof(threadList[0]) * threadCount); in test_race()
|
| H A D | ipc_read_inspect.c | 159 thread_array_t threadList; in test_task_threads() local 167 kr = task_threads(tport, &threadList, &threadCount); in test_task_threads() 184 kr = mach_port_kernel_object(mach_task_self(), threadList[i], &kotype, &kaddr); in test_task_threads() 187 T_LOG("thread port name 0x%x is inactive", threadList[i]); in test_task_threads() 209 mach_port_deallocate(mach_task_self(), threadList[i]); in test_task_threads() 211 vm_deallocate(mach_task_self(), (vm_address_t)threadList, in test_task_threads() 212 sizeof(threadList[0]) * threadCount); in test_task_threads()
|
| /xnu-11215/tests/ |
| H A D | imm_pinned_control_port.c | 239 thread_array_t threadList; in test_task_thread_port_values() local 266 kr = task_threads(mach_task_self(), &threadList, &threadCount); in test_task_thread_port_values() 271 if (th_self == threadList[i]) { /* th_self is immovable */ in test_task_thread_port_values() 280 mach_port_deallocate(mach_task_self(), threadList[i]); in test_task_thread_port_values() 285 (mach_vm_address_t)threadList, in test_task_thread_port_values()
|