Lines Matching refs:tq_flags
314 * * tq_flags & TASKQ_CHANGING
317 * * tq_flags & TASKQ_THREAD_CREATED
701 (!(tq->tq_flags & TASKQ_PREPOPULATE) || \
861 tq->tq_flags |= TASKQ_CHANGING;
872 ASSERT(tq->tq_flags & TASKQ_THREADS_CPU_PCT);
887 ASSERT(tq->tq_flags & TASKQ_THREADS_CPU_PCT);
1147 if (!(tq->tq_flags & TASKQ_DYNAMIC)) {
1298 ASSERT(!(tq->tq_flags & TASKQ_DYNAMIC));
1332 if (tq->tq_flags & TASKQ_DYNAMIC) {
1356 if (tq->tq_flags & TASKQ_DYNAMIC) {
1369 ASSERT(!(tq->tq_flags & TASKQ_SUSPENDED));
1370 tq->tq_flags |= TASKQ_SUSPENDED;
1380 return ((tq->tq_flags & TASKQ_SUSPENDED) != 0);
1391 if (tq->tq_flags & TASKQ_DYNAMIC) {
1401 ASSERT(tq->tq_flags & TASKQ_SUSPENDED);
1402 tq->tq_flags &= ~TASKQ_SUSPENDED;
1429 ASSERT(tq->tq_flags & TASKQ_CHANGING);
1431 ASSERT(!(tq->tq_flags & TASKQ_THREAD_CREATED));
1434 tq->tq_flags |= TASKQ_THREAD_CREATED;
1443 if ((tq->tq_flags & TASKQ_DUTY_CYCLE) != 0) {
1463 if (tq->tq_flags & TASKQ_THREADS_CPU_PCT) {
1485 if (!(tq->tq_flags & TASKQ_CPR_SAFE)) {
1493 if (!(tq->tq_flags & TASKQ_CPR_SAFE)) {
1516 if (curproc != &p0 && (tq->tq_flags & TASKQ_DUTY_CYCLE)) {
1518 (tq->tq_flags & TASKQ_DC_BATCH) ? SYSDC_THREAD_BATCH : 0);
1521 if (tq->tq_flags & TASKQ_CPR_SAFE) {
1529 ASSERT(tq->tq_flags & TASKQ_THREAD_CREATED);
1530 ASSERT(tq->tq_flags & TASKQ_CHANGING);
1531 tq->tq_flags &= ~TASKQ_THREAD_CREATED;
1545 if (tq->tq_flags & TASKQ_CHANGING) {
1573 if (!(tq->tq_flags & TASKQ_THREAD_CREATED)) {
1576 tq->tq_flags &= ~TASKQ_CHANGING;
1607 if ((!(tq->tq_flags & TASKQ_DYNAMIC)) &&
1649 if (!(tq->tq_flags & TASKQ_THREAD_CREATED))
1650 tq->tq_flags &= ~TASKQ_CHANGING;
1655 ASSERT(!(tq->tq_flags & TASKQ_CPR_SAFE));
1934 tq->tq_flags = flags | TASKQ_CHANGING;
2046 ASSERT(! (tq->tq_flags & TASKQ_CPR_SAFE));
2059 if (tq->tq_flags & TASKQ_NOINSTANCE) {
2068 if (tq->tq_flags & TASKQ_THREADS_CPU_PCT) {
2084 tq->tq_flags |= TASKQ_CHANGING;
2131 ASSERT(tq->tq_flags & TASKQ_DYNAMIC);
2140 ASSERT(!(tq->tq_flags & TASKQ_DYNAMIC));
2271 ASSERT(tq->tq_flags & TASKQ_DYNAMIC);