Home
last modified time | relevance | path

Searched refs:proc_ref (Results 1 – 6 of 6) sorted by relevance

/xnu-8019.80.24/bsd/kern/
H A Dkern_memorystatus_notify.c1000 p = proc_ref(knote_get_kq(kn)->kq_p, false); in memorystatus_pressure_proc_telemetry_send()
1068 if (p == proc_ref(p, false)) { in memorystatus_klist_reset_all_for_level()
1144 p = proc_ref(knote_get_kq(kn)->kq_p, false); in vm_pressure_select_optimal_candidate_to_notify()
1380 p = proc_ref(knote_get_kq(kn)->kq_p, false); in update_footprints_for_telemetry()
1580 target_proc = proc_ref(knote_get_kq(kn_max)->kq_p, false); in memorystatus_update_vm_pressure()
H A Dkern_proc.c697 proc_ref(proc_t p, int locked) in proc_ref() function
1162 parent = proc_ref(pp, true); in proc_parent()
1917 return proc_ref(kernproc, false); in proc_find()
1994 p = proc_ref(p, true); in proc_find_locked()
2009 p = proc_ref(p, true); in proc_findthread()
3524 p = proc_ref(p, true); in proc_rebootscan()
H A Dkern_memorystatus.c3240 if (ledger_update_needed && proc_ref(p, true) == p) { in memorystatus_dirty_set()
3275 if (proc_ref(p, true) == p) { in memorystatus_dirty_set()
3575 victim_p = proc_ref(p, true); in kill_idle_exit_proc()
5792 if (proc_ref(p, true) == p) { in memorystatus_kill_top_process()
5998 if (proc_ref(p, true) == p) { in memorystatus_kill_processes_aggressive()
6000 while (next_p && (proc_ref(next_p, true) != next_p)) { in memorystatus_kill_processes_aggressive()
6183 if (proc_ref(p, true) == p) { in memorystatus_kill_hiwat_proc()
6343 if (proc_ref(p, true) == p) { in memorystatus_kill_elevated_process()
H A Dkern_memorystatus_freeze.c1884 p = proc_ref(p, true); in memorystatus_freeze_process()
H A Dkern_exit.c1683 if (proc_ref(q, true) != q) { in proc_exit()
/xnu-8019.80.24/bsd/sys/
H A Dproc_internal.h850 struct proc *proc_ref(struct proc *p, int locked);