| /xnu-11215/bsd/kern/ |
| H A D | kern_sfi.c | 223 targetp = proc_find(pid); in sfi_pidctl() 242 targetp = proc_find(pid); in sfi_pidctl()
|
| H A D | kern_proc.c | 2112 proc_find(int pid) in proc_find() function 2930 p = proc_find(pid); in orphanpg() 3267 pt = proc_find(pid); in csops_internal() 3900 p = proc_find(pid); in proc_childrenwalk() 3982 p = proc_find(pid); 4367 p = proc_find(pid); in proc_getpcontrol() 4442 p = proc_find(pid); in proc_resetpcontrol() 5412 p = proc_find(pid); in task_for_pid() 5570 p = proc_find(pid); in task_name_for_pid() 5667 proc = proc_find(pid); in task_inspect_for_pid() [all …]
|
| H A D | kern_resource.c | 214 p = proc_find(uap->who); in getpriority() 278 p = proc_find(uap->who); in getpriority() 299 p = proc_find(uap->who); in getpriority() 320 p = proc_find(uap->who); in getpriority() 342 p = proc_find(uap->who); in getpriority() 443 p = proc_find(uap->who); in setpriority() 510 p = proc_find(uap->who); in setpriority() 531 p = proc_find(uap->who); in setpriority() 547 p = proc_find(uap->who); in setpriority() 567 p = proc_find(uap->who); in setpriority() [all …]
|
| H A D | kern_ktrace.c | 312 proc_t owning_proc = proc_find(ktrace_owning_pid); in ktrace_ownership_maintenance() 479 proc_t p = proc_find(pid); in ktrace_set_owning_pid()
|
| H A D | sys_coalition.c | 620 tproc = proc_find(pid); 656 tproc = proc_find(pid); 693 tproc = proc_find(pid); 761 tproc = proc_find(pid);
|
| H A D | mach_process.c | 241 if ((t = proc_find(uap->pid)) == NULL) { in ptrace() 367 pp = proc_find(t->p_oppid); in ptrace()
|
| H A D | process_policy.c | 134 target_proc = proc_find(target_pid); in process_policy() 638 target_proc = proc_find(pid); in proc_pidbackgrounded()
|
| H A D | kern_prot.c | 227 if ((pt = proc_find(uap->pid)) == 0) { in getpgid() 266 if ((pt = proc_find(uap->pid)) != PROC_NULL) { in getsid() 583 if ((targp = proc_find(uap->pid)) == 0 || !inferior(targp)) { in setpgid()
|
| H A D | proc_info.c | 1502 if ((p = proc_find(pid)) == PROC_NULL) { in proc_piduuidinfo() 1772 p = proc_find(pid); in proc_can_use_foreground_hw() 2147 if ((p = proc_find(pid)) == PROC_NULL) { in proc_pidinfo() 2832 if ((p = proc_find(pid)) == PROC_NULL) { in proc_pidfdinfo() 3105 if ((p = proc_find(pid)) == PROC_NULL) { in proc_pidfileportinfo() 3301 target_p = proc_find(pid); in proc_dirtycontrol() 3449 if ((p = proc_find(pid)) == NULL) { in proc_terminate() 3522 if ((target_proc = proc_find(pid)) == PROC_NULL) { in _proc_signal_send() 3769 if ((p = proc_find(pid)) == PROC_NULL) { in proc_pid_rusage() 3969 p = proc_find(pid); in proc_piddynkqueueinfo() [all …]
|
| H A D | kern_memorystatus.c | 1526 p = proc_find(pid); 2183 p = proc_find(pid); in memorystatus_update_inactive_jetsam_priority_band() 4684 p = proc_find(victim_pid); in memorystatus_kill_specific_process() 6802 proc_t p = proc_find(pid); in memorystatus_get_priority_pid() 7624 p = proc_find(pid); 7682 proc_t p = proc_find(pid); 7939 p = proc_find(pid); 7966 p = proc_find(pid); 7986 p = proc_find(pid); 8194 p = proc_find(pid); [all …]
|
| H A D | kern_memorystatus_freeze.c | 539 p = proc_find(pid); 746 p = proc_find(pid); 1057 leader_proc = proc_find(leader_pid); in memorystatus_freezer_get_status() 2971 p = proc_find(pid); in memorystatus_get_process_is_freezable() 3036 p = proc_find(pid); in memorystatus_set_process_is_freezable()
|
| H A D | kern_shutdown.c | 594 p = proc_find(1); in proc_shutdown()
|
| H A D | kern_sig.c | 1387 if ((p = proc_find(uap->pid)) == NULL) { in kill() 1569 target_proc = proc_find(target_pid); in terminate_with_payload_internal() 3385 proc_t resumeproc = proc_find((int)ut->t_dtrace_resumepid); in bsd_ast() 3504 } else if (pgid > 0 && (p = proc_find(pgid)) != 0) { in pgsigio()
|
| H A D | kern_persona.c | 509 proc_t p = proc_find(pid); in persona_proc_get()
|
| H A D | kern_time.c | 541 r = proc_find(proc_getpid(p)); in realitexpire()
|
| H A D | bsd_init.c | 1176 initproc = proc_find(1); in bsd_utaskbootstrap()
|
| /xnu-11215/osfmk/corpses/ |
| H A D | corpse.c | 187 extern void *proc_find(int pid); 708 p = proc_find(task_pid(task)); in task_generate_corpse_internal()
|
| /xnu-11215/bsd/sys/ |
| H A D | proc.h | 292 extern proc_t proc_find(int pid);
|
| /xnu-11215/security/ |
| H A D | mac_mach.c | 68 struct proc *p = proc_find(pid); in mac_task_get_proc()
|
| H A D | mac_process.c | 390 proc = proc_find(task_pid(task)); in mac_proc_check_remote_thread_create()
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_reclaim.c | 131 extern void *proc_find(int pid); 658 p = proc_find(pid); in reclaim_kill_with_reason() 1511 proc_t p = proc_find(pid); in vm_deferred_reclamation_block_until_pid_has_been_reclaimed()
|
| /xnu-11215/bsd/netinet/ |
| H A D | in_tclass.c | 387 if ((p = proc_find(tfp->tfp_pid)) == NULL) { in purge_tclass_for_proc() 490 p = proc_find(pid); in set_pid_tclass() 607 p = proc_find(pid); in flush_pid_tclass() 649 p = proc_find(pid); in get_pid_tclass()
|
| /xnu-11215/bsd/dev/dtrace/ |
| H A D | fasttrap.c | 1759 if ((p = proc_find(pid)) == NULL) { in fasttrap_provider_free() 1902 p = proc_find(pdata->ftps_pid); in fasttrap_add_probe() 2516 if ((p = proc_find(pid)) == PROC_NULL || p->p_stat == SIDL) { in fasttrap_ioctl() 2553 if ((p = proc_find(pid)) == NULL || p->p_stat == SIDL) { in fasttrap_ioctl()
|
| /xnu-11215/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_flow.c | 87 p = proc_find(pid); in fsw_flow_add()
|
| /xnu-11215/bsd/security/audit/ |
| H A D | audit_syscalls.c | 777 if ((tp = proc_find(udata.au_aupinfo.ap_pid)) == NULL) { in auditon()
|