Searched refs:proc_ref (Results 1 – 8 of 8) sorted by relevance
| /xnu-11215/bsd/kern/ |
| H A D | kern_memorystatus_notify.c | 988 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 D | kern_memorystatus.c | 247 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 D | kern_proc.c | 762 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 D | kern_memorystatus_freeze.c | 1849 p = proc_ref(p, true); in memorystatus_freeze_process()
|
| H A D | kern_exit.c | 2399 if (proc_ref(q, true) != q) { in proc_exit()
|
| H A D | kern_exec.c | 5142 initproc = proc_ref(new_proc, false); in proc_exec_switch_task()
|
| /xnu-11215/bsd/sys/ |
| H A D | proc_internal.h | 916 struct proc *proc_ref(struct proc *p, int locked);
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_reclaim.c | 73 struct proc *proc_ref(struct proc *p, int locked);
|