/netbsd-src/external/cddl/osnet/dist/uts/common/sys/ |
H A D | taskq.h | 53 typedef struct taskq taskq_t; typedef 90 extern taskq_t *system_taskq; 95 taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t); 96 taskq_t *taskq_create_instance(const char *, int, int, pri_t, int, int, uint_t); 97 taskq_t *taskq_create_proc(const char *, int, pri_t, int, int, 99 taskq_t *taskq_create_sysdc(const char *, int, int, int, 101 taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t); 103 void taskq_dispatch_ent(taskq_t *, task_func_t, void *, uint_t, 107 void taskq_destroy(taskq_t *); 108 void taskq_wait(taskq_t *); [all …]
|
/netbsd-src/external/cddl/osnet/dist/lib/libzpool/common/ |
H A D | taskq.c | 34 taskq_t *system_taskq; 59 task_alloc(taskq_t *tq, int tqflags) in task_alloc() 100 task_free(taskq_t *tq, taskq_ent_t *t) in task_free() 117 taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t tqflags) in taskq_dispatch() 150 taskq_dispatch_ent(taskq_t *tq, task_func_t func, void *arg, uint_t flags, in taskq_dispatch_ent() 182 taskq_wait(taskq_t *tq) in taskq_wait() 193 taskq_t *tq = arg; in taskq_thread() 228 taskq_t * 232 taskq_t *tq = kmem_zalloc(sizeof (taskq_t), KM_SLEEP); in taskq_create() 278 taskq_destroy(taskq_t *tq) in taskq_destroy() [all …]
|
/netbsd-src/external/cddl/osnet/sys/kern/ |
H A D | taskq.c | 45 taskq_t *te_self; /* Backpointer to the queue. */ 64 taskq_t *system_taskq; /* General purpose task queue. */ 76 taskq_t *tq = state->te_self; in task_executor() 142 taskq_dispatch_common(taskq_t *tq, taskq_ent_t *tqe, uint_t flags) in taskq_dispatch_common() 177 taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t flags) in taskq_dispatch() 212 taskq_dispatch_ent(taskq_t *tq, task_func_t func, void *arg, uint_t flags, in taskq_dispatch_ent() 228 taskq_wait(taskq_t *tq) in taskq_wait() 243 taskq_member(taskq_t *tq, kthread_t *thread) in taskq_member() 255 taskq_t * 261 taskq_t *tq; in taskq_create() [all …]
|
/netbsd-src/external/cddl/osnet/dist/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 393 typedef struct taskq taskq_t; typedef 419 extern taskq_t *system_taskq; 421 extern taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t); 426 extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t); 427 extern void taskq_dispatch_ent(taskq_t *, task_func_t, void *, uint_t, 429 extern void taskq_destroy(taskq_t *); 430 extern void taskq_wait(taskq_t *); 431 extern int taskq_member(taskq_t *, void *);
|
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/ |
H A D | vnode.c | 93 vn_rele_async(vnode_t *vp, taskq_t *taskq) in vn_rele_async() 99 VERIFY(taskq_dispatch((taskq_t *)taskq, in vn_rele_async()
|
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
H A D | txg_impl.h | 117 taskq_t *tx_commit_cb_taskq; /* commit callback taskq */
|
H A D | zil_impl.h | 127 taskq_t *zl_clean_taskq; /* runs lwb and itx clean tasks */
|
H A D | metaslab_impl.h | 222 taskq_t *mg_taskq;
|
H A D | dsl_pool.h | 163 taskq_t *dsl_pool_vnrele_taskq(dsl_pool_t *dp);
|
H A D | spa_impl.h | 121 taskq_t **stqs_taskq;
|
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | dmu_objset.c | 1692 taskq_t *dc_tq; 1846 taskq_t *tq = NULL; in dmu_objset_find_dp()
|
H A D | dsl_pool.c | 950 taskq_t *
|
H A D | spa.c | 877 tqs->stqs_taskq = kmem_alloc(count * sizeof (taskq_t *), KM_SLEEP); in spa_taskqs_init() 899 taskq_t *tq; in spa_taskqs_init() 960 kmem_free(tqs->stqs_taskq, tqs->stqs_count * sizeof (taskq_t *)); in spa_taskqs_fini() 975 taskq_t *tq; in spa_taskq_dispatch_ent()
|
H A D | vdev.c | 1226 taskq_t *tq; in vdev_open_children()
|
H A D | dbuf.c | 66 static taskq_t *dbu_evict_taskq;
|
/netbsd-src/external/cddl/osnet/dist/uts/common/dtrace/ |
H A D | dtrace.c | 265 static taskq_t *dtrace_taskq; /* task queue */
|