Home
last modified time | relevance | path

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

/xnu-11215/bsd/kern/
H A Dkern_memorystatus_notify.c988 p = proc_ref(knote_get_kq(kn)->kq_p, false); in memorystatus_pressure_proc_telemetry_send()
1056 if (p == proc_ref(p, false)) { in memorystatus_klist_reset_all_for_level()
1132 p = proc_ref(knote_get_kq(kn)->kq_p, false); in vm_pressure_select_optimal_candidate_to_notify()
1373 p = proc_ref(knote_get_kq(kn)->kq_p, false); in update_footprints_for_telemetry()
1573 target_proc = proc_ref(knote_get_kq(kn_max)->kq_p, false); in memorystatus_update_vm_pressure()
H A Dkern_memorystatus.c247 if (proc_ref(p, true) != p) { in _memstat_write_memlimit_to_ledger_locked()
3324 if (proc_ref(p, true) == p) { in memorystatus_dirty_set()
3627 victim_p = proc_ref(p, true); in kill_idle_exit_proc()
6018 if (proc_ref(p, true) == p) { in memorystatus_kill_top_process()
6223 if (proc_ref(p, true) == p) { in memorystatus_kill_processes_aggressive()
6225 while (next_p && (proc_ref(next_p, true) != next_p)) { in memorystatus_kill_processes_aggressive()
6413 if (proc_ref(p, true) == p) { in memorystatus_kill_hiwat_proc()
6572 if (proc_ref(p, true) == p) { in memorystatus_kill_elevated_process()
H A Dkern_proc.c762 proc_ref(proc_t p, int locked) in proc_ref() function
1263 parent = proc_ref(pp, true); in proc_parent()
2122 return proc_ref(kernproc, false); in proc_find()
2213 p = proc_ref(p, true); in proc_findthread()
3835 p = proc_ref(p, true); in proc_rebootscan()
H A Dkern_memorystatus_freeze.c1849 p = proc_ref(p, true); in memorystatus_freeze_process()
H A Dkern_exit.c2399 if (proc_ref(q, true) != q) { in proc_exit()
H A Dkern_exec.c5142 initproc = proc_ref(new_proc, false); in proc_exec_switch_task()
/xnu-11215/bsd/sys/
H A Dproc_internal.h916 struct proc *proc_ref(struct proc *p, int locked);
/xnu-11215/osfmk/vm/
H A Dvm_reclaim.c73 struct proc *proc_ref(struct proc *p, int locked);