Lines Matching refs:priority
113 static void do_background_socket(struct proc *p, thread_t thread, int priority);
114 static int do_background_thread(struct proc *curp, thread_t thread, int priority);
115 static int do_background_proc(struct proc *curp, struct proc *targetp, int priority);
372 /* process marked for termination no priority management */
397 /* process marked for termination no priority management */
468 do_background_proc(struct proc *curp, struct proc *targetp, int priority)
491 if (priority == PRIO_DARWIN_NONUI)
494 error = proc_set_and_apply_bgtaskpolicy(targetp->task, priority);
504 do_background_socket(struct proc *p, thread_t thread, int priority)
510 if (priority == PRIO_DARWIN_BG) {
579 do_background_thread(struct proc *curp __unused, thread_t thread, int priority)
591 error = proc_set_and_apply_bgthreadpolicy(curp->task, thread_tid(thread), priority);