Searched refs:threadList (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.61.12/tests/ipc/ |
| H A D | ipc_thread_ports_race.c | 66 thread_array_t threadList; in test_race() local 74 kr = task_threads(task, &threadList, &threadCount); in test_race() 78 mach_port_deallocate(mach_task_self(), threadList[i]); in test_race() 81 vm_deallocate(mach_task_self(), (vm_address_t)threadList, in test_race() 82 sizeof(threadList[0]) * threadCount); in test_race()
|
| H A D | imm_pinned_control_port_entitled.c | 54 thread_array_t threadList; in test_task_thread_port_values() local 81 kr = task_threads(mach_task_self(), &threadList, &threadCount); in test_task_thread_port_values() 86 if (th_self == threadList[i]) { /* th_self is immovable */ in test_task_thread_port_values() 95 mach_port_deallocate(mach_task_self(), threadList[i]); in test_task_thread_port_values() 100 (mach_vm_address_t)threadList, in test_task_thread_port_values()
|
| H A D | ipc_read_inspect.c | 149 thread_array_t threadList; in test_task_threads() local 157 kr = task_threads(tport, &threadList, &threadCount); in test_task_threads() 174 kr = mach_port_kernel_object(mach_task_self(), threadList[i], &kotype, &kaddr); in test_task_threads() 177 T_LOG("thread port name 0x%x is inactive", threadList[i]); in test_task_threads() 199 mach_port_deallocate(mach_task_self(), threadList[i]); in test_task_threads() 201 vm_deallocate(mach_task_self(), (vm_address_t)threadList, in test_task_threads() 202 sizeof(threadList[0]) * threadCount); in test_task_threads()
|