Searched refs:JETSAM_PRIORITY_IDLE (Results 1 - 3 of 3) sorted by relevance

/xnu-2422.115.4/tools/tests/memorystatus/
H A Dmemorystatus.c560 if (!set_priority_properties(pid, JETSAM_PRIORITY_IDLE_DEFERRED, 0, 0xBEEF, DEFERRED_TEST_STR, true) || !check_properties(pid, JETSAM_PRIORITY_IDLE, 0, 0xBEEF, DEFERRED_TEST_STR)) {
565 if (!set_priority_properties(pid, JETSAM_PRIORITY_IDLE, 0, 0xCAFE, SUSPENDED_TEST_STR, true) || !check_properties(pid, JETSAM_PRIORITY_IDLE, 0, 0xCAFE, SUSPENDED_TEST_STR)) {
1006 test_pri = JETSAM_PRIORITY_IDLE; /* Suspended */
1010 test_pri = JETSAM_PRIORITY_IDLE; /* Suspended */
1419 if ((entries[i].priority == JETSAM_PRIORITY_IDLE) && (dirty_flags & PROC_DIRTY_IS_DIRTY)) {
1527 if (!check_properties(getpid(), JETSAM_PRIORITY_IDLE, -1, 0x0, "#5 - post timeout")) {
1539 if (!check_properties(getpid(), JETSAM_PRIORITY_IDLE, -1, 0x0, "#7 - post clean")) {
1566 if (!check_properties(getpid(), JETSAM_PRIORITY_IDLE, -1, 0x0, "#6 - post clean")) {
1586 if (!check_properties(getpid(), JETSAM_PRIORITY_IDLE,
[all...]
/xnu-2422.115.4/bsd/sys/
H A Dkern_memorystatus.h39 #define JETSAM_PRIORITY_IDLE 0 macro
/xnu-2422.115.4/bsd/kern/
H A Dkern_memorystatus.c728 memorystatus_update_priority_locked(p, JETSAM_PRIORITY_IDLE);
894 /* JETSAM_PRIORITY_IDLE_DEFERRED is reserved for internal use; if requested, adjust to JETSAM_PRIORITY_IDLE. */
895 priority = JETSAM_PRIORITY_IDLE;
1024 priority = (p->p_memstat_dirty & P_DIRTY_DEFER_IN_PROGRESS) ? JETSAM_PRIORITY_IDLE_DEFERRED : JETSAM_PRIORITY_IDLE;
1368 if (p->p_memstat_effectivepriority != JETSAM_PRIORITY_IDLE) {
1471 if (!kill_under_pressure && (priority != JETSAM_PRIORITY_IDLE)) {
1872 ((!priority) || (priority && (*priority != JETSAM_PRIORITY_IDLE)))) {
3079 memstat_bucket_t *first_bucket = &memstat_bucket[JETSAM_PRIORITY_IDLE];

Completed in 79 milliseconds