Home
last modified time | relevance | path

Searched refs:zombie (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.81.4/bsd/kern/
H A Dproc_info.c166 …ic int __attribute__ ((noinline)) proc_pidbsdinfo(proc_t p, struct proc_bsdinfo *pbsd, int zombie);
167 …e__ ((noinline)) proc_pidshortbsdinfo(proc_t p, struct proc_bsdshortinfo *pbsd_shortp, int zombie);
675 proc_pidbsdinfo(proc_t p, struct proc_bsdinfo * pbsd, int zombie) in proc_pidbsdinfo() argument
806 if ((zombie == 0) && (p->p_stat != SZOMB) && (proc_task(p) != TASK_NULL)) { in proc_pidbsdinfo()
810 if (zombie == 0) { in proc_pidbsdinfo()
833 proc_pidshortbsdinfo(proc_t p, struct proc_bsdshortinfo * pbsd_shortp, int zombie) in proc_pidshortbsdinfo() argument
927 if ((zombie == 0) && (p->p_stat != SZOMB) && (proc_task(p) != TASK_NULL)) { in proc_pidshortbsdinfo()
2026 int zombie = 0; in proc_pidinfo() local
2206 zombie = 1; in proc_pidinfo()
2273 error = proc_pidshortbsdinfo(p, &pbsd_short, zombie); in proc_pidinfo()
[all …]
/xnu-12377.81.4/tests/
H A Dstackshot_tests.m818 T_HELPER_DECL(zombie_child, "child process to sample as a zombie")
822 T_QUIET; T_ASSERT_NOTNULL(child_thread_started, "zombie child thread semaphore");
824 /* spawn another thread to get stuck in the kernel, then call exit() to become a zombie */
836 T_DECL(zombie, "tests a stackshot of a zombie task with a thread stuck in the kernel",
847 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "zombie child semaphore");
876 T_LOG("unable to find child using proc_pidinfo, assuming zombie");
905 .name = "zombie",
915 T_QUIET; T_ASSERT_POSIX_SUCCESS(waitpid(pid, &status, 0), "waitpid on zombie child");
2967 T_QUIET; T_ASSERT_NOTNULL(pid_num, "zombie child pid provided");
2969 T_QUIET; T_ASSERT_GT(zombie_child_pid, 0, "zombie child pid greater than zero");
[all …]
H A Dstackshot_accuracy.m519 T_DECL(zombie, "test that threads wedged in the kernel can be stackshot'd", T_META_TAG_VM_PREFERRED)
521 dispatch_queue_t dq = dispatch_queue_create("com.apple.stackshot_accuracy.zombie", NULL);
/xnu-12377.81.4/bsd/netkey/
H A Dkey.c3841 int zombie = 0; in key_delsah() local
3866 zombie++; in key_delsah()
3882 if (zombie) { in key_delsah()