Lines Matching refs:p_memstat_effectivepriority

1228 …p->p_memstat_state, p->p_memstat_effectivepriority, p->p_memstat_requestedpriority, p->p_memstat_a…  in memorystatus_debug_dump_bucket_locked()
2366 int32_t memstat_effectivepriority = p->p_memstat_effectivepriority; in memorystatus_do_kill()
2385 if (p->p_memstat_effectivepriority >= JETSAM_PRIORITY_FOREGROUND) { in memorystatus_do_kill()
2389 memorystatus_priority_band_name(p->p_memstat_effectivepriority), p->p_memstat_effectivepriority, in memorystatus_do_kill()
2393 _memstat_record_kill(p->p_memstat_effectivepriority, cause); in memorystatus_do_kill()
2467 if (p->p_memstat_effectivepriority < jetsam_prio) { in memstat_update_inactive_priority()
2479 if (p->p_memstat_effectivepriority == jetsam_prio) { in memstat_update_inactive_priority()
2764 proc_getpid(p), p->p_memstat_effectivepriority); in memorystatus_add()
2770 DTRACE_MEMORYSTATUS2(memorystatus_add, proc_t, p, int32_t, p->p_memstat_effectivepriority); in memorystatus_add()
2788 bucket = &memstat_bucket[p->p_memstat_effectivepriority]; in memorystatus_add()
2791 p->p_memstat_effectivepriority == system_procs_aging_band) || in memorystatus_add()
2793 p->p_memstat_effectivepriority == applications_aging_band)) { in memorystatus_add()
2835 if (p->p_memstat_effectivepriority == new_priority) { in _memstat_record_prio_transition()
2842 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE) { in _memstat_record_prio_transition()
2900 …RYSTATUS3(memorystatus_update_priority, proc_t, p, int32_t, p->p_memstat_effectivepriority, int, p… in memstat_update_priority_locked()
2902 old_bucket = &memstat_bucket[p->p_memstat_effectivepriority]; in memstat_update_priority_locked()
2932 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE) { in memstat_update_priority_locked()
2939 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE) { in memstat_update_priority_locked()
2949 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE) { in memstat_update_priority_locked()
2976 if (p->p_memstat_effectivepriority != priority) { in memstat_update_priority_locked()
2984 p->p_memstat_effectivepriority == system_procs_aging_band) || in memstat_update_priority_locked()
2986 p->p_memstat_effectivepriority == system_procs_aging_band_stuck) || in memstat_update_priority_locked()
2988 p->p_memstat_effectivepriority == applications_aging_band)) { in memstat_update_priority_locked()
3010 proc_getpid(p), priority, p->p_memstat_effectivepriority); in memstat_update_priority_locked()
3011 p->p_memstat_effectivepriority = priority; in memstat_update_priority_locked()
3316 bucket = &memstat_bucket[p->p_memstat_effectivepriority]; in memorystatus_remove()
3319 p->p_memstat_effectivepriority == system_procs_aging_band) || in memorystatus_remove()
3321 p->p_memstat_effectivepriority == system_procs_aging_band_stuck) || in memorystatus_remove()
3323 p->p_memstat_effectivepriority == applications_aging_band)) { in memorystatus_remove()
3332 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE) { in memorystatus_remove()
3997 if (p->p_memstat_effectivepriority != JETSAM_PRIORITY_IDLE) { in memstat_kill_idle_process()
5225 (p->p_memstat_effectivepriority == JETSAM_PRIORITY_ELEVATED_INACTIVE || in memstat_proc_is_active_locked()
5226 p->p_memstat_effectivepriority == JETSAM_PRIORITY_FREEZER)) { in memstat_proc_is_active_locked()
5228 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_ELEVATED_INACTIVE) { in memstat_proc_is_active_locked()
5247 p->p_memstat_effectivepriority > JETSAM_PRIORITY_IDLE) { in memstat_proc_is_active_locked()
5275 return p->p_memstat_effectivepriority > JETSAM_PRIORITY_IDLE; in memstat_proc_is_active_locked()
5397 …memstat_kill_cause_name[cause], (p ? p->p_memstat_effectivepriority: -1), time_in_priority_band_se… in memorystatus_kill_specific_process()
5827 if (p->p_memstat_effectivepriority >= (int)jzs_trigger_band && in memorystatus_update_jetsam_snapshot_entry_locked()
5869 if (entry->priority != p->p_memstat_effectivepriority) { in memorystatus_update_jetsam_snapshot_entry_locked()
5871 entry->priority = p->p_memstat_effectivepriority; in memorystatus_update_jetsam_snapshot_entry_locked()
5982 proc_getpid(p), p->p_memstat_effectivepriority, memorystatus_jetsam_snapshot_count); in memorystatus_update_jetsam_snapshot_entry_locked()
6074 entry->priority = p->p_memstat_effectivepriority; in memorystatus_init_jetsam_snapshot_entry_locked()
6413 aPid_ep = p->p_memstat_effectivepriority; in memorystatus_kill_proc()
6593 while (next_p && (next_p->p_memstat_effectivepriority <= max_priority)) { in memstat_kill_top_process()
6599 aPid_ep = p->p_memstat_effectivepriority; in memstat_kill_top_process()
6785 if (p->p_memstat_effectivepriority > memstat_reaper_max_priority) { in _memstat_refresh_oldest_reapable_proc_info()
6829 priority_band = proc->p_memstat_effectivepriority; in _memstat_proc_is_reapable()
6933 ((unsigned int)(next_p->p_memstat_effectivepriority) != priority_band)) { in memorystatus_kill_processes_aggressive()
6956 if (p->p_memstat_effectivepriority > priority_max) { in memorystatus_kill_processes_aggressive()
6968 aPid_ep = p->p_memstat_effectivepriority; in memorystatus_kill_processes_aggressive()
7165 aPid_ep = p->p_memstat_effectivepriority; in memorystatus_kill_hiwat_proc()
7316 aPid_ep = p->p_memstat_effectivepriority; in memorystatus_kill_elevated_process()
7556 entry->priority = p->p_memstat_effectivepriority; in memorystatus_get_priority_list()
7617 mp_entry.priority = p->p_memstat_effectivepriority; in memorystatus_get_priority_pid()
9061 return p->p_memstat_effectivepriority;
9493 if (p->p_memstat_effectivepriority != bucket_idx) {