Searched refs:thread_addr (Results 1 – 2 of 2) sorted by relevance
| /xnu-11215/osfmk/kern/ |
| H A D | processor.c | 1452 mach_port_array_t thread_addr; in processor_set_things() local 1472 thread_addr = NULL; in processor_set_things() 1504 mach_port_array_free(thread_addr, thread_count_cur); in processor_set_things() 1512 mach_port_array_free(thread_addr, thread_count_cur); in processor_set_things() 1516 thread_addr = mach_port_array_alloc(thread_count_cur, in processor_set_things() 1518 if (thread_addr == NULL) { in processor_set_things() 1522 thread_list = (thread_t *)thread_addr; in processor_set_things() 1621 mach_port_array_free(thread_addr, thread_count_cur); in processor_set_things() 1629 addr = thread_addr; in processor_set_things()
|
| /xnu-11215/tests/ |
| H A D | proc_info.c | 467 uint64_t * thread_addr = NULL; in proc_info_caller() local 544 thread_addr = malloc(sizeof(uint64_t) * (unsigned long)(pall->ptinfo.pti_threadnum + 1)); in proc_info_caller() 545 memset(thread_addr, 0, sizeof(uint64_t) * (unsigned long)(pall->ptinfo.pti_threadnum + 1)); in proc_info_caller() 547 T_ASSERT_NOTNULL(thread_addr, "malloc() for PROC_PIDLISTTHREADS"); in proc_info_caller() 549 …info(PROC_INFO_CALL_PIDINFO, child_pid, PROC_PIDLISTTHREADS, (uint32_t)0, (user_addr_t)thread_addr, in proc_info_caller() 559 PROC_INFO_CALL(proc_threadinfo, child_pid, PROC_PIDTHREADINFO, thread_addr[0]); in proc_info_caller() 570 PROC_INFO_CALL(proc_threadinfo, child_pid, PROC_PIDTHREADINFO, thread_addr[0]); in proc_info_caller() 604 PROC_INFO_CALL(proc_threadwithpathinfo, child_pid, PROC_PIDTHREADPATHINFO, thread_addr[0]); in proc_info_caller() 722 free(thread_addr); in proc_info_caller() 723 thread_addr = NULL; in proc_info_caller()
|