Home
last modified time | relevance | path

Searched refs:proc_find (Results 1 – 25 of 52) sorted by relevance

123

/xnu-11215/bsd/kern/
H A Dkern_sfi.c223 targetp = proc_find(pid); in sfi_pidctl()
242 targetp = proc_find(pid); in sfi_pidctl()
H A Dkern_proc.c2112 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 Dkern_resource.c214 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 Dkern_ktrace.c312 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 Dsys_coalition.c620 tproc = proc_find(pid);
656 tproc = proc_find(pid);
693 tproc = proc_find(pid);
761 tproc = proc_find(pid);
H A Dmach_process.c241 if ((t = proc_find(uap->pid)) == NULL) { in ptrace()
367 pp = proc_find(t->p_oppid); in ptrace()
H A Dprocess_policy.c134 target_proc = proc_find(target_pid); in process_policy()
638 target_proc = proc_find(pid); in proc_pidbackgrounded()
H A Dkern_prot.c227 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 Dproc_info.c1502 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 Dkern_memorystatus.c1526 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 Dkern_memorystatus_freeze.c539 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 Dkern_shutdown.c594 p = proc_find(1); in proc_shutdown()
H A Dkern_sig.c1387 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 Dkern_persona.c509 proc_t p = proc_find(pid); in persona_proc_get()
H A Dkern_time.c541 r = proc_find(proc_getpid(p)); in realitexpire()
H A Dbsd_init.c1176 initproc = proc_find(1); in bsd_utaskbootstrap()
/xnu-11215/osfmk/corpses/
H A Dcorpse.c187 extern void *proc_find(int pid);
708 p = proc_find(task_pid(task)); in task_generate_corpse_internal()
/xnu-11215/bsd/sys/
H A Dproc.h292 extern proc_t proc_find(int pid);
/xnu-11215/security/
H A Dmac_mach.c68 struct proc *p = proc_find(pid); in mac_task_get_proc()
H A Dmac_process.c390 proc = proc_find(task_pid(task)); in mac_proc_check_remote_thread_create()
/xnu-11215/osfmk/vm/
H A Dvm_reclaim.c131 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 Din_tclass.c387 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 Dfasttrap.c1759 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 Dfsw_flow.c87 p = proc_find(pid); in fsw_flow_add()
/xnu-11215/bsd/security/audit/
H A Daudit_syscalls.c777 if ((tp = proc_find(udata.au_aupinfo.ap_pid)) == NULL) { in auditon()

123