Lines Matching defs:options
211 thread_template.options = THREAD_ABORTSAFE;
526 self->options |= TH_OPT_SYSTEM_CRITICAL;
581 self->options &= ~TH_OPT_SYSTEM_CRITICAL;
694 int options,
717 new_thread->uthread = uthread_alloc(parent_task, new_thread, (options & TH_OPTION_NOCRED) != 0);
754 ((options & TH_OPTION_NOSUSP) != 0 &&
1166 if (thread->options & TH_OPT_IDLE_THREAD)
1411 *prev_state = (thread->options & TH_OPT_VMPRIV) != 0;
1414 if (!(thread->options & TH_OPT_VMPRIV))
1416 thread->options |= TH_OPT_VMPRIV;
1419 if (thread->options & TH_OPT_VMPRIV)
1421 thread->options &= ~TH_OPT_VMPRIV;
1684 if (thread->options & TH_OPT_PROC_CPULIMIT) {
1685 assert((thread->options & TH_OPT_PRVT_CPULIMIT) == 0);
1688 } else if (thread->options & TH_OPT_PRVT_CPULIMIT) {
1689 assert((thread->options & TH_OPT_PROC_CPULIMIT) == 0);
1723 assert(thread->options & (TH_OPT_PROC_CPULIMIT | TH_OPT_PRVT_CPULIMIT));
1726 thread->options &= ~(TH_OPT_PROC_CPULIMIT | TH_OPT_PRVT_CPULIMIT);
1768 if (thread->options & TH_OPT_PRVT_CPULIMIT) {
1778 thread->options |= TH_OPT_PROC_CPULIMIT;
1784 thread->options &= ~TH_OPT_PROC_CPULIMIT;
1786 thread->options |= TH_OPT_PRVT_CPULIMIT;
2021 return (thread->options & TH_OPT_DTRACE) ? TRUE : FALSE;
2071 thread->options |= TH_OPT_DTRACE;
2073 thread->options &= (~TH_OPT_DTRACE);