Lines Matching refs:p_memstat_effectivepriority
1223 …p->p_memstat_state, p->p_memstat_effectivepriority, p->p_memstat_requestedpriority, p->p_memstat_a… in memorystatus_debug_dump_bucket_locked()
2348 int32_t memstat_effectivepriority = p->p_memstat_effectivepriority; in memorystatus_do_kill()
2367 if (p->p_memstat_effectivepriority >= JETSAM_PRIORITY_FOREGROUND) { in memorystatus_do_kill()
2371 memorystatus_priority_band_name(p->p_memstat_effectivepriority), p->p_memstat_effectivepriority, in memorystatus_do_kill()
2375 _memstat_record_kill(p->p_memstat_effectivepriority, cause); in memorystatus_do_kill()
2449 if (p->p_memstat_effectivepriority < jetsam_prio) { in memstat_update_inactive_priority()
2461 if (p->p_memstat_effectivepriority == jetsam_prio) { in memstat_update_inactive_priority()
2746 proc_getpid(p), p->p_memstat_effectivepriority); in memorystatus_add()
2752 DTRACE_MEMORYSTATUS2(memorystatus_add, proc_t, p, int32_t, p->p_memstat_effectivepriority); in memorystatus_add()
2770 bucket = &memstat_bucket[p->p_memstat_effectivepriority]; in memorystatus_add()
2773 p->p_memstat_effectivepriority == system_procs_aging_band) || in memorystatus_add()
2775 p->p_memstat_effectivepriority == applications_aging_band)) { in memorystatus_add()
2817 if (p->p_memstat_effectivepriority == new_priority) { in _memstat_record_prio_transition()
2824 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE) { in _memstat_record_prio_transition()
2882 …RYSTATUS3(memorystatus_update_priority, proc_t, p, int32_t, p->p_memstat_effectivepriority, int, p… in memstat_update_priority_locked()
2884 old_bucket = &memstat_bucket[p->p_memstat_effectivepriority]; in memstat_update_priority_locked()
2914 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE) { in memstat_update_priority_locked()
2921 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE) { in memstat_update_priority_locked()
2931 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE) { in memstat_update_priority_locked()
2958 if (p->p_memstat_effectivepriority != priority) { in memstat_update_priority_locked()
2966 p->p_memstat_effectivepriority == system_procs_aging_band) || in memstat_update_priority_locked()
2968 p->p_memstat_effectivepriority == system_procs_aging_band_stuck) || in memstat_update_priority_locked()
2970 p->p_memstat_effectivepriority == applications_aging_band)) { in memstat_update_priority_locked()
2992 proc_getpid(p), priority, p->p_memstat_effectivepriority); in memstat_update_priority_locked()
2993 p->p_memstat_effectivepriority = priority; in memstat_update_priority_locked()
3298 bucket = &memstat_bucket[p->p_memstat_effectivepriority]; in memorystatus_remove()
3301 p->p_memstat_effectivepriority == system_procs_aging_band) || in memorystatus_remove()
3303 p->p_memstat_effectivepriority == system_procs_aging_band_stuck) || in memorystatus_remove()
3305 p->p_memstat_effectivepriority == applications_aging_band)) { in memorystatus_remove()
3314 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE) { in memorystatus_remove()
3979 if (p->p_memstat_effectivepriority != JETSAM_PRIORITY_IDLE) { in memstat_kill_idle_process()
5183 (p->p_memstat_effectivepriority == JETSAM_PRIORITY_ELEVATED_INACTIVE || in memstat_proc_is_active_locked()
5184 p->p_memstat_effectivepriority == JETSAM_PRIORITY_FREEZER)) { in memstat_proc_is_active_locked()
5186 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_ELEVATED_INACTIVE) { in memstat_proc_is_active_locked()
5205 p->p_memstat_effectivepriority > JETSAM_PRIORITY_IDLE) { in memstat_proc_is_active_locked()
5233 return p->p_memstat_effectivepriority > JETSAM_PRIORITY_IDLE; in memstat_proc_is_active_locked()
5355 …memstat_kill_cause_name[cause], (p ? p->p_memstat_effectivepriority: -1), time_in_priority_band_se… in memorystatus_kill_specific_process()
5785 if (p->p_memstat_effectivepriority >= (int)jzs_trigger_band && in memorystatus_update_jetsam_snapshot_entry_locked()
5827 if (entry->priority != p->p_memstat_effectivepriority) { in memorystatus_update_jetsam_snapshot_entry_locked()
5829 entry->priority = p->p_memstat_effectivepriority; in memorystatus_update_jetsam_snapshot_entry_locked()
5940 proc_getpid(p), p->p_memstat_effectivepriority, memorystatus_jetsam_snapshot_count); in memorystatus_update_jetsam_snapshot_entry_locked()
6032 entry->priority = p->p_memstat_effectivepriority; in memorystatus_init_jetsam_snapshot_entry_locked()
6371 aPid_ep = p->p_memstat_effectivepriority; in memorystatus_kill_proc()
6551 while (next_p && (next_p->p_memstat_effectivepriority <= max_priority)) { in memstat_kill_top_process()
6557 aPid_ep = p->p_memstat_effectivepriority; in memstat_kill_top_process()
6743 if (p->p_memstat_effectivepriority > memstat_reaper_max_priority) { in _memstat_refresh_oldest_reapable_proc_info()
6787 priority_band = proc->p_memstat_effectivepriority; in _memstat_proc_is_reapable()
6891 ((unsigned int)(next_p->p_memstat_effectivepriority) != priority_band)) { in memorystatus_kill_processes_aggressive()
6914 if (p->p_memstat_effectivepriority > priority_max) { in memorystatus_kill_processes_aggressive()
6926 aPid_ep = p->p_memstat_effectivepriority; in memorystatus_kill_processes_aggressive()
7123 aPid_ep = p->p_memstat_effectivepriority; in memorystatus_kill_hiwat_proc()
7274 aPid_ep = p->p_memstat_effectivepriority; in memorystatus_kill_elevated_process()
7514 entry->priority = p->p_memstat_effectivepriority; in memorystatus_get_priority_list()
7575 mp_entry.priority = p->p_memstat_effectivepriority; in memorystatus_get_priority_pid()
9019 return p->p_memstat_effectivepriority;
9451 if (p->p_memstat_effectivepriority != bucket_idx) {