Searched refs:p_memstat_effectivepriority (Results 1 – 9 of 9) sorted by relevance
| /xnu-12377.1.9/bsd/kern/ |
| H A D | kern_memorystatus.c | 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() [all …]
|
| H A D | kern_memorystatus_notify.c | 693 return (p->p_memstat_effectivepriority == JETSAM_PRIORITY_FOREGROUND) || in memorystatus_is_foreground_locked() 694 (p->p_memstat_effectivepriority == JETSAM_PRIORITY_FOREGROUND_SUPPORT); in memorystatus_is_foreground_locked() 736 if (p->p_memstat_effectivepriority < JETSAM_PRIORITY_BACKGROUND_OPPORTUNISTIC) { in memorystatus_bg_pressure_eligible() 1163 curr_task_importance = p->p_memstat_effectivepriority; in vm_pressure_select_optimal_candidate_to_notify()
|
| H A D | kern_fork.c | 731 child_proc->p_memstat_effectivepriority = JETSAM_PRIORITY_INTERNAL; in cloneproc() 1201 child_proc->p_memstat_effectivepriority = JETSAM_PRIORITY_DEFAULT; in forkproc()
|
| H A D | kern_memorystatus_freeze.c | 1222 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 D | kern_memorystatus_policy.c | 778 …if (!(state & P_MEMSTAT_FROZEN) && p->p_memstat_effectivepriority > memorystatus_freeze_max_candid… in memorystatus_is_process_eligible_for_freeze()
|
| H A D | bsd_init.c | 800 kernproc->p_memstat_effectivepriority = JETSAM_PRIORITY_INTERNAL; in bsd_init()
|
| H A D | kern_exit.c | 766 …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()
|
| H A D | kern_proc.c | 1665 *prio_effective = pp->p_memstat_effectivepriority; in proc_memstat_data_kdp()
|
| /xnu-12377.1.9/bsd/sys/ |
| H A D | proc_internal.h | 468 …int32_t p_memstat_effectivepriority; /* priority after transaction state accounted for … member
|