Home
last modified time | relevance | path

Searched refs:pids (Results 1 – 5 of 5) sorted by relevance

/xnu-11215/tests/skywalk/
H A Dskywalk_mptest_driver.c184 pid_t pids[skt->skt_nchildren]; in skywalk_mptest_driver_run() local
214 if ((pids[j] = fork()) == -1) { in skywalk_mptest_driver_run()
219 if (pids[j] == 0) { in skywalk_mptest_driver_run()
296 if (childpid == pids[child]) { in skywalk_mptest_driver_run()
297 pids[child] = 0; in skywalk_mptest_driver_run()
326 if (pids[k]) { in skywalk_mptest_driver_run()
327 error = kill(pids[k], SIGTERM); in skywalk_mptest_driver_run()
330 k, pids[k]); in skywalk_mptest_driver_run()
332 SKT_LOG("kill(%d, SIGTERM): %s", pids[k], strerror(errno)); in skywalk_mptest_driver_run()
/xnu-11215/libsyscall/wrappers/libproc/
H A Dproc_listpidspath.c35 int *pids; member
71 info->pids = NULL; in check_init()
105 if (info->pids != NULL) { in check_free()
106 free(info->pids); in check_free()
589 if (info->pids == NULL) { in proc_listpidspath()
590 info->pids = malloc(info->pids_size); in proc_listpidspath()
592 info->pids = reallocf(info->pids, info->pids_size); in proc_listpidspath()
594 if (info->pids == NULL) { in proc_listpidspath()
599 buf_used = proc_listpids(type, typeinfo, info->pids, (int)info->pids_size); in proc_listpidspath()
620 pid = info->pids[i]; in proc_listpidspath()
[all …]
/xnu-11215/tests/vm/
H A Dmemorystatus_sort_test.c22 pid_t pids[kNumProcsInCoalition]; // An array of pids in this coalition. Owned by this struct. member
263 coalition->pids[i] = pid; in init_coalition()
298 pid_t curr = coalition->pids[i]; in place_coalition_in_band()
/xnu-11215/tests/
H A Dproc_info.c2055 int pids[1]; variable
2076 npids = proc_listpids(PROC_KDBG_ONLY, 0, pids, sizeof(pids));
2086 npids = proc_listpids(PROC_KDBG_ONLY, 0, pids, sizeof(pids));
2089 T_EXPECT_EQ(pids[0], getpid(), "process filtered should be the one that was set");
/xnu-11215/tools/lldbmacros/
H A Dmemory.py4571 pids = []
4575 pids.append(int(i.p_pid))
4579 as_json = json.dumps(pids)