Home
last modified time | relevance | path

Searched refs:p_memstat_effectivepriority (Results 1 – 9 of 9) sorted by relevance

/xnu-11215/bsd/kern/
H A Dkern_memorystatus.c2113 memorystatus_priority_band_name(p->p_memstat_effectivepriority), p->p_memstat_effectivepriority, in memorystatus_do_kill()
2645 if (p->p_memstat_effectivepriority != priority) { in memstat_update_priority_locked()
2680 p->p_memstat_effectivepriority = priority; in memstat_update_priority_locked()
5394 entry->priority = p->p_memstat_effectivepriority; in memorystatus_init_jetsam_snapshot_entry_locked()
5770 aPid_ep = p->p_memstat_effectivepriority; in memorystatus_kill_proc()
5979 aPid_ep = p->p_memstat_effectivepriority; in memorystatus_kill_top_process()
6187 aPid_ep = p->p_memstat_effectivepriority; in memorystatus_kill_processes_aggressive()
6380 aPid_ep = p->p_memstat_effectivepriority; in memorystatus_kill_hiwat_proc()
6530 aPid_ep = p->p_memstat_effectivepriority; in memorystatus_kill_elevated_process()
8176 return p->p_memstat_effectivepriority;
[all …]
H A Dkern_memorystatus_notify.c702 return (p->p_memstat_effectivepriority == JETSAM_PRIORITY_FOREGROUND) || in memorystatus_is_foreground_locked()
703 (p->p_memstat_effectivepriority == JETSAM_PRIORITY_FOREGROUND_SUPPORT); in memorystatus_is_foreground_locked()
739 if (p->p_memstat_effectivepriority < JETSAM_PRIORITY_BACKGROUND_OPPORTUNISTIC) { in memorystatus_bg_pressure_eligible()
1169 curr_task_importance = p->p_memstat_effectivepriority; in vm_pressure_select_optimal_candidate_to_notify()
H A Dkern_memorystatus_policy.c524 …if (!(state & P_MEMSTAT_FROZEN) && p->p_memstat_effectivepriority > memorystatus_freeze_max_candid… in memorystatus_is_process_eligible_for_freeze()
H A Dkern_fork.c738 child_proc->p_memstat_effectivepriority = JETSAM_PRIORITY_INTERNAL; in cloneproc()
1204 child_proc->p_memstat_effectivepriority = JETSAM_PRIORITY_DEFAULT; in forkproc()
H A Dkern_memorystatus_freeze.c1222 if (p->p_memstat_effectivepriority > kMaxBand) { in memorystatus_freezer_reset_state()
1288 if (p->p_memstat_effectivepriority > max_band) { in kill_all_frozen_processes()
2557 assert(p->p_memstat_effectivepriority == (int32_t) band); in memorystatus_freeze_mark_eligible_processes_with_skip_reason()
2691 if (p->p_memstat_effectivepriority > JETSAM_PRIORITY_FOREGROUND) { in memorystatus_freeze_start_normal_throttle_interval()
H A Dbsd_init.c795 kernproc->p_memstat_effectivepriority = JETSAM_PRIORITY_INTERNAL; in bsd_init()
H A Dkern_exit.c766 …ptr, TASK_CRASHINFO_MEMORYSTATUS_EFFECTIVE_PRIORITY, sizeof(p->p_memstat_effectivepriority), &uadd… in populate_corpse_crashinfo()
767 …kcdata_memcpy(crash_info_ptr, uaddr, &p->p_memstat_effectivepriority, sizeof(p->p_memstat_effectiv… in populate_corpse_crashinfo()
/xnu-11215/tools/lldbmacros/
H A Dmemorystatus.py64 proc_val.p_memstat_effectivepriority,
/xnu-11215/bsd/sys/
H A Dproc_internal.h467 …int32_t p_memstat_effectivepriority; /* priority after transaction state accounted for … member