Searched refs:importance (Results 1 - 9 of 9) sorted by relevance

/darwin-on-arm/xnu/osfmk/kern/
H A Dthread_policy.c195 thread->importance = info->importance;
261 if (thread->importance > MAXPRI)
264 if (thread->importance < -MAXPRI)
267 priority = thread->importance;
373 thread->importance = 0;
490 info->importance = thread->importance;
496 info->importance = 0;
H A Dtask_policy.c61 static void restore_bgthreadpolicy_locked(thread_t thread, int selfset, int importance);
66 static void set_thread_appbg(thread_t thread, int setbg,int importance);
79 int importance; /* importance to be restored if thread is being made active */ member in struct:thread_watchlist
325 integer_t importance)
344 task_priority(task, importance + BASEPRI_DEFAULT, task->max_priority);
786 thread->saved_importance = thread->importance;
790 policy.importance = INT_MIN;
826 policy.importance = INT_MIN;
895 int importance local
323 task_importance( task_t task, integer_t importance) argument
929 int importance = 0; local
960 restore_bgthreadpolicy_locked(thread_t thread, int selfset, int importance) argument
1246 int importance = 0; local
2010 set_thread_appbg(thread_t thread, int setbg,int importance) argument
2089 int importance = 0; local
2292 proc_setthread_saved_importance(thread_t thread, int importance) argument
[all...]
H A Dmk_sp.c140 thread->importance = priority - thread->task_priority;
146 thread->importance = priority - thread->task_priority;
H A Dtask.h222 int tw_importance; /* importance prior to backgrounding */
494 integer_t importance);
636 extern int proc_setthread_saved_importance(thread_t thread, int importance);
H A Dthread.c191 thread_template.importance = 0;
788 new_thread->importance =
791 new_thread->saved_importance = new_thread->importance;
799 new_thread->importance = INT_MIN;
H A Dthread.h232 integer_t importance; /* task-relative importance */ member in struct:thread
429 integer_t saved_importance; /* saved task-relative importance */
/darwin-on-arm/xnu/osfmk/mach/
H A Dthread_policy.h171 * importance: The importance is specified as a signed value.
177 integer_t importance; member in struct:thread_precedence_policy
/darwin-on-arm/xnu/bsd/kern/
H A Dpthread_synch.c169 | flags(8) | policy(8) | importance(16) |
210 unsigned int policy, importance; local
383 importance = (flags & PTHREAD_START_IMPORTANCE_MASK);
385 /* sets the saved importance for apple ios daemon if backgrounded. else returns 0 */
386 ret = proc_setthread_saved_importance(th, importance);
398 precedinfo.importance = (importance - BASEPRI_DEFAULT);
1896 /* sets the saved importance for apple ios daemon if backgrounded. else returns 0 */
1906 /* remove the disk throttle, importance will be reset in anycase */
1922 precedinfo.importance
[all...]
/darwin-on-arm/xnu/osfmk/vm/
H A Dbsd_vm.c312 pre.importance = INT32_MAX;

Completed in 104 milliseconds