Searched refs:JETSAM_PRIORITY_FOREGROUND (Results 1 – 9 of 9) sorted by relevance
| /xnu-11215/tests/ |
| H A D | memorystatus_is_assertion.c | 133 assertionpriority = JETSAM_PRIORITY_FOREGROUND; in memorystatus_assertion_test_repetitive() 266 set_assertion_priority(mypid, JETSAM_PRIORITY_FOREGROUND, 0xFEED); in memorystatus_assertion_test_allow_idle_exit() 267 …(void)check_properties(mypid, JETSAM_PRIORITY_FOREGROUND, active_limit_mb, 0xFEED, ASSERTION_STATE… in memorystatus_assertion_test_allow_idle_exit() 286 set_assertion_priority(mypid, JETSAM_PRIORITY_FOREGROUND, 0xFEED); in memorystatus_assertion_test_allow_idle_exit() 287 …(void)check_properties(mypid, JETSAM_PRIORITY_FOREGROUND, active_limit_mb, 0xFEED, ASSERTION_STATE… in memorystatus_assertion_test_allow_idle_exit() 293 …(void)check_properties(mypid, JETSAM_PRIORITY_FOREGROUND, active_limit_mb, 0xFEED, ASSERTION_STATE… in memorystatus_assertion_test_allow_idle_exit() 308 set_assertion_priority(mypid, JETSAM_PRIORITY_FOREGROUND, 0xFEED); in memorystatus_assertion_test_allow_idle_exit() 385 set_assertion_priority(mypid, JETSAM_PRIORITY_FOREGROUND, 0xFEED); in memorystatus_assertion_test_do_not_allow_idle_exit() 405 set_assertion_priority(mypid, JETSAM_PRIORITY_FOREGROUND, 0xFEED); in memorystatus_assertion_test_do_not_allow_idle_exit() 452 mjp.priority = JETSAM_PRIORITY_FOREGROUND; [all …]
|
| H A D | memorystatus_vm_map_fork.c | 397 JETSAM_PRIORITY_FOREGROUND, active_limit_mb, inactive_limit_mb); in memorystatus_vm_map_fork_parent()
|
| /xnu-11215/tests/vm/ |
| H A D | memorystatus_sort_test.c | 135 place_coalition_in_band(&coalition, JETSAM_PRIORITY_FOREGROUND); 138 ret = memorystatus_control(MEMORYSTATUS_CMD_TEST_JETSAM_SORT, JETSAM_PRIORITY_FOREGROUND, 0,
|
| H A D | entitlement_increased_memory_limit.c | 109 0, JETSAM_PRIORITY_FOREGROUND, memlimit, memlimit); in spawn_child_with_memlimit()
|
| /xnu-11215/bsd/sys/ |
| H A D | kern_memorystatus.h | 62 #define JETSAM_PRIORITY_FOREGROUND 100 macro
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_memorystatus.c | 127 case JETSAM_PRIORITY_FOREGROUND: in memorystatus_priority_band_name() 361 static unsigned int jzs_trigger_band = JETSAM_PRIORITY_FOREGROUND; 1570 case JETSAM_PRIORITY_FOREGROUND: in memorystatus_sort_bucket_locked() 2109 if (p->p_memstat_effectivepriority >= JETSAM_PRIORITY_FOREGROUND) { in memorystatus_do_kill() 2695 (priority >= JETSAM_PRIORITY_FOREGROUND)); in memstat_update_priority_locked() 3995 if (max_kill_pri >= JETSAM_PRIORITY_FOREGROUND) { in memorystatus_act_aggressive() 4620 return p->p_memstat_effectivepriority >= JETSAM_PRIORITY_FOREGROUND; in _memstat_proc_is_active_locked() 5914 (void)memorystatus_sort_bucket(JETSAM_PRIORITY_FOREGROUND, JETSAM_SORT_DEFAULT); in memorystatus_kill_top_process() 6133 if (priority_max >= JETSAM_PRIORITY_FOREGROUND) { in memorystatus_kill_processes_aggressive() 6139 memorystatus_sort_bucket(JETSAM_PRIORITY_FOREGROUND, JETSAM_SORT_DEFAULT); in memorystatus_kill_processes_aggressive() [all …]
|
| H A D | kern_memorystatus_freeze.c | 417 …and, &memorystatus_freeze_jetsam_band, JETSAM_PRIORITY_BACKGROUND, JETSAM_PRIORITY_FOREGROUND, ""); 420 …nd, &memorystatus_freeze_max_candidate_band, JETSAM_PRIORITY_IDLE, JETSAM_PRIORITY_FOREGROUND, ""); 2691 if (p->p_memstat_effectivepriority > JETSAM_PRIORITY_FOREGROUND) { in memorystatus_freeze_start_normal_throttle_interval()
|
| H A D | kern_memorystatus_notify.c | 702 return (p->p_memstat_effectivepriority == JETSAM_PRIORITY_FOREGROUND) || in memorystatus_is_foreground_locked()
|
| /xnu-11215/doc/vm/ |
| H A D | memorystatus.md | 88 | 100 | `JETSAM_PRIORITY_FOREGROUND` | Foreground app processes |
|