Lines Matching defs:kmem_taskq
1026 static taskq_t *kmem_taskq;
2083 taskq_member(kmem_taskq, curthread));
2181 taskq_member(kmem_taskq, curthread));
3082 ASSERT(taskq_member(kmem_taskq, curthread));
3143 kmem_cache_applyall(kmem_cache_reap, kmem_taskq, TQ_NOSLEEP);
3151 kmem_cache_applyall_id(kmem_cache_reap, kmem_taskq, TQ_NOSLEEP);
3159 if (!taskq_dispatch(kmem_taskq, kmem_reap_done, flag, TQ_NOSLEEP))
3168 if (MUTEX_HELD(&kmem_cache_lock) || kmem_taskq == NULL ||
3178 if (!taskq_dispatch(kmem_taskq, kmem_reap_start, flag, TQ_NOALLOC))
3206 * All calls are serialized by the kmem_taskq lock, except for the final
3217 taskq_member(kmem_taskq, curthread));
3284 (void) taskq_dispatch(kmem_taskq,
3286 taskq_wait(kmem_taskq);
3295 * Changes to the magazine size are serialized by the kmem_taskq lock.
3305 ASSERT(taskq_member(kmem_taskq, curthread));
3328 ASSERT(taskq_member(kmem_taskq, curthread));
3416 (void) taskq_dispatch(kmem_taskq,
3420 (void) taskq_dispatch(kmem_taskq,
3424 (void) taskq_dispatch(kmem_taskq,
3446 if (!taskq_dispatch(kmem_taskq, kmem_update_timeout, dummy, TQ_NOSLEEP))
4121 if (kmem_taskq != NULL)
4122 taskq_wait(kmem_taskq);
4172 kmem_taskq, TQ_SLEEP);
4174 kmem_taskq, TQ_SLEEP);
4561 kmem_taskq = taskq_create_instance("kmem_taskq", 0, 1, minclsyspri,
4989 ASSERT(taskq_member(kmem_taskq, curthread));
5117 ASSERT(taskq_member(kmem_taskq, curthread));
5336 ASSERT(taskq_member(kmem_taskq, curthread));
5409 if (!taskq_dispatch(kmem_taskq,
5494 /* Called periodically from kmem_taskq */
5501 ASSERT(taskq_member(kmem_taskq, curthread));