Searched refs:zombie (Results 1 – 4 of 4) sorted by relevance
| /xnu-11215/bsd/kern/ |
| H A D | proc_info.c | 672 proc_pidbsdinfo(proc_t p, struct proc_bsdinfo * pbsd, int zombie) in proc_pidbsdinfo() argument 782 if (zombie == 0) { in proc_pidbsdinfo() 1975 int zombie = 0; in proc_pidinfo() local 2155 zombie = 1; in proc_pidinfo() 2219 error = proc_pidshortbsdinfo(p, &pbsd_short, zombie); in proc_pidinfo() 2221 error = proc_pidbsdinfo(p, &pbsd, zombie); in proc_pidinfo() 2530 } else if (zombie) { in proc_pidinfo() 3767 int zombie = 0; in proc_pid_rusage() local 3773 zombie = 1; in proc_pid_rusage() 3781 error = proc_get_rusage(p, flavor, buffer, zombie); in proc_pid_rusage() [all …]
|
| /xnu-11215/tests/ |
| H A D | stackshot_tests.m | 761 T_HELPER_DECL(zombie_child, "child process to sample as a zombie") 765 T_QUIET; T_ASSERT_NOTNULL(child_thread_started, "zombie child thread semaphore"); 767 /* spawn another thread to get stuck in the kernel, then call exit() to become a zombie */ 779 T_DECL(zombie, "tests a stackshot of a zombie task with a thread stuck in the kernel", 790 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "zombie child semaphore"); 819 T_LOG("unable to find child using proc_pidinfo, assuming zombie"); 848 .name = "zombie", 858 T_QUIET; T_ASSERT_POSIX_SUCCESS(waitpid(pid, &status, 0), "waitpid on zombie child"); 2842 T_QUIET; T_ASSERT_NOTNULL(pid_num, "zombie child pid provided"); 2844 T_QUIET; T_ASSERT_GT(zombie_child_pid, 0, "zombie child pid greater than zero"); [all …]
|
| H A D | stackshot_accuracy.m | 517 T_DECL(zombie, "test that threads wedged in the kernel can be stackshot'd", T_META_TAG_VM_PREFERRED) 519 dispatch_queue_t dq = dispatch_queue_create("com.apple.stackshot_accuracy.zombie", NULL);
|
| /xnu-11215/bsd/netkey/ |
| H A D | key.c | 3838 int zombie = 0; in key_delsah() local 3863 zombie++; in key_delsah() 3879 if (zombie) { in key_delsah()
|