Lines Matching refs:p_memstat_effectivepriority

370 			if ((p->p_memstat_state & P_MEMSTAT_MEMLIMIT_BACKGROUND) && (p->p_memstat_effectivepriority >= JETSAM_PRIORITY_FOREGROUND)) {          
930 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE_DEFERRED) {
957 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE_DEFERRED) {
1010 MEMORYSTATUS_DEBUG(1, "memorystatus_list_add(): adding process %d with priority %d.\n", p->p_pid, p->p_memstat_effectivepriority);
1021 bucket = &memstat_bucket[p->p_memstat_effectivepriority];
1023 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE_DEFERRED) {
1057 old_bucket = &memstat_bucket[p->p_memstat_effectivepriority];
1058 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE_DEFERRED) {
1079 if (((priority >= JETSAM_PRIORITY_FOREGROUND) && (p->p_memstat_effectivepriority < JETSAM_PRIORITY_FOREGROUND)) ||
1080 ((priority < JETSAM_PRIORITY_FOREGROUND) && (p->p_memstat_effectivepriority >= JETSAM_PRIORITY_FOREGROUND))) {
1093 p->p_memstat_effectivepriority = priority;
1183 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE_DEFERRED) {
1213 bucket = &memstat_bucket[p->p_memstat_effectivepriority];
1214 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE_DEFERRED) {
1224 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE_DEFERRED) {
1295 if (priority != p->p_memstat_effectivepriority) {
1819 if (p->p_memstat_effectivepriority != JETSAM_PRIORITY_IDLE) {
2121 if (memorystatus_jetsam_snapshot_list[i].priority != p->p_memstat_effectivepriority) {
2122 memorystatus_jetsam_snapshot_list[i].priority = p->p_memstat_effectivepriority;
2182 entry->priority = p->p_memstat_effectivepriority;
2392 *priority = p->p_memstat_effectivepriority;
2444 ((p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE) ?
2519 if ((p->p_memstat_state & P_MEMSTAT_MEMLIMIT_BACKGROUND) && (p->p_memstat_effectivepriority >= JETSAM_PRIORITY_FOREGROUND)) {
3078 return ((p->p_memstat_effectivepriority == JETSAM_PRIORITY_FOREGROUND) ||
3079 (p->p_memstat_effectivepriority == JETSAM_PRIORITY_FOREGROUND_SUPPORT));
3593 list_entry->priority = p->p_memstat_effectivepriority;
3596 if (((p->p_memstat_state & P_MEMSTAT_MEMLIMIT_BACKGROUND) && (p->p_memstat_effectivepriority >= JETSAM_PRIORITY_FOREGROUND)) ||
3941 if (p->p_memstat_effectivepriority == JETSAM_PRIORITY_IDLE_DEFERRED) {
4066 memorystatus_update_priority_locked(p, p->p_memstat_effectivepriority, false);
4105 return p->p_memstat_effectivepriority;