Home
last modified time | relevance | path

Searched refs:pti_threadnum (Results 1 – 6 of 6) sorted by relevance

/xnu-11215/tests/
H A Dproc_info_list_kthreads.c59 T_LOG("The kernel says it has %d threads", ti.pti_threadnum);
61 int expected_size = ti.pti_threadnum * (int)sizeof(uint64_t);
H A Dproc_info.c544 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()
550 (int32_t)(sizeof(uint64_t) * (unsigned long)(pall->ptinfo.pti_threadnum + 1))); in proc_info_caller()
553 …_ASSERT_GE_INT((int)((unsigned long)retval / PROC_PIDLISTTHREADS_SIZE), pall->ptinfo.pti_threadnum, in proc_info_caller()
1090 …T_EXPECT_GE_INT(p_task_info_new->pti_threadnum, 1, "PROC_PIDTASKINFO returned valid value for pti_…
1092 if (p_task_info_new->pti_threadnum > 1) {
1158 …T_EXPECT_GE_INT(pall->ptinfo.pti_threadnum, 1, "PROC_PIDTASKALLINFO returned valid value for pti_t…
1159 if (pall->ptinfo.pti_threadnum > 1) {
/xnu-11215/bsd/sys/
H A Dbsdtask_info.h50 int32_t pti_threadnum; /* number of threads in the task */ member
H A Dproc_info.h143 int32_t pti_threadnum; /* number of threads in the task */ member
/xnu-11215/libsyscall/wrappers/libproc/
H A Dproc_listpidspath.c404 buf_used = tai.ptinfo.pti_threadnum * sizeof(uint64_t); in check_process_threads()
/xnu-11215/osfmk/kern/
H A Dbsd_kern.c1115 ptinfo->pti_threadnum = task->thread_count; in fill_taskprocinfo()