Searched refs:zombie (Results 1 – 4 of 4) sorted by relevance
| /xnu-11417.140.69/bsd/kern/ |
| H A D | proc_info.c | 166 …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 794 if ((zombie == 0) && (p->p_stat != SZOMB) && (proc_task(p) != TASK_NULL)) { in proc_pidbsdinfo() 798 if (zombie == 0) { in proc_pidbsdinfo() 821 proc_pidshortbsdinfo(proc_t p, struct proc_bsdshortinfo * pbsd_shortp, int zombie) in proc_pidshortbsdinfo() argument 903 if ((zombie == 0) && (p->p_stat != SZOMB) && (proc_task(p) != TASK_NULL)) { in proc_pidshortbsdinfo() 2002 int zombie = 0; in proc_pidinfo() local 2182 zombie = 1; in proc_pidinfo() 2249 error = proc_pidshortbsdinfo(p, &pbsd_short, zombie); in proc_pidinfo() [all …]
|
| /xnu-11417.140.69/tests/ |
| H A D | stackshot_tests.m | 817 T_HELPER_DECL(zombie_child, "child process to sample as a zombie") 821 T_QUIET; T_ASSERT_NOTNULL(child_thread_started, "zombie child thread semaphore"); 823 /* spawn another thread to get stuck in the kernel, then call exit() to become a zombie */ 835 T_DECL(zombie, "tests a stackshot of a zombie task with a thread stuck in the kernel", 846 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "zombie child semaphore"); 875 T_LOG("unable to find child using proc_pidinfo, assuming zombie"); 904 .name = "zombie", 914 T_QUIET; T_ASSERT_POSIX_SUCCESS(waitpid(pid, &status, 0), "waitpid on zombie child"); 2923 T_QUIET; T_ASSERT_NOTNULL(pid_num, "zombie child pid provided"); 2925 T_QUIET; T_ASSERT_GT(zombie_child_pid, 0, "zombie child pid greater than zero"); [all …]
|
| H A D | stackshot_accuracy.m | 519 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-11417.140.69/bsd/netkey/ |
| H A D | key.c | 3842 int zombie = 0; in key_delsah() local 3867 zombie++; in key_delsah() 3883 if (zombie) { in key_delsah()
|