Home
last modified time | relevance | path

Searched refs:taskq_t (Results 1 – 20 of 20) sorted by relevance

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dtaskq.h44 typedef struct taskq taskq_t; typedef
79 extern taskq_t *system_taskq;
86 taskq_t *taskq_create_proc(const char *, int, pri_t, int, int,
88 taskq_t *taskq_create_sysdc(const char *, int, int, int,
94 void taskq_destroy(taskq_t *);
95 void taskq_wait(taskq_t *);
96 void taskq_wait_id(taskq_t *, taskqid_t);
97 void taskq_suspend(taskq_t *);
98 int taskq_suspended(taskq_t *);
99 void taskq_resume(taskq_t *);
[all …]
/freebsd-12.1/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_taskq.c43 taskq_t *system_taskq = NULL;
65 taskq_t *
69 taskq_t *tq; in taskq_create()
79 return ((taskq_t *)tq); in taskq_create()
82 taskq_t *
91 taskq_destroy(taskq_t *tq) in taskq_destroy()
99 taskq_member(taskq_t *tq, kthread_t *thread) in taskq_member()
116 taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t flags) in taskq_dispatch()
153 taskq_dispatch_ent(taskq_t *tq, task_func_t func, void *arg, u_int flags, in taskq_dispatch_ent()
172 taskq_wait(taskq_t *tq) in taskq_wait()
[all …]
/freebsd-12.1/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dtaskq.c34 taskq_t *system_taskq;
59 task_alloc(taskq_t *tq, int tqflags) in task_alloc()
105 task_free(taskq_t *tq, taskq_ent_t *t) in task_free()
187 taskq_wait(taskq_t *tq) in taskq_wait()
196 taskq_wait_id(taskq_t *tq, taskqid_t id) in taskq_wait_id()
204 taskq_t *tq = arg; in taskq_thread()
239 taskq_t *
243 taskq_t *tq = kmem_zalloc(sizeof (taskq_t), KM_SLEEP); in taskq_create()
289 taskq_destroy(taskq_t *tq) in taskq_destroy()
323 kmem_free(tq, sizeof (taskq_t)); in taskq_destroy()
[all …]
/freebsd-12.1/cddl/contrib/opensolaris/lib/libzpool/common/sys/
H A Dzfs_context.h386 typedef struct taskq taskq_t; typedef
413 extern taskq_t *system_taskq;
415 extern taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t);
420 extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t);
421 extern void taskq_dispatch_ent(taskq_t *, task_func_t, void *, uint_t,
423 extern void taskq_destroy(taskq_t *);
424 extern void taskq_wait(taskq_t *);
425 extern void taskq_wait_id(taskq_t *, taskqid_t);
426 extern int taskq_member(taskq_t *, void *);
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/
H A Dvnode.c86 vn_rele_async(vnode_t *vp, taskq_t *taskq) in vn_rele_async()
93 VERIFY(taskq_dispatch((taskq_t *)taskq, in vn_rele_async()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddsl_pool.h128 taskq_t *dp_sync_taskq;
129 taskq_t *dp_zil_clean_taskq;
172 taskq_t *dsl_pool_vnrele_taskq(dsl_pool_t *dp);
H A Dtxg_impl.h118 taskq_t *tx_commit_cb_taskq; /* commit callback taskq */
H A Ddsl_scan.h129 taskq_t *scn_taskq; /* task queue for issuing extents */
H A Dmetaslab_impl.h231 taskq_t *mg_taskq;
H A Dspa_impl.h177 taskq_t **stqs_taskq;
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_file.c39 static taskq_t *vdev_file_taskq;
H A Dzfs_dir.c413 extern taskq_t *zfsvfs_taskq;
H A Ddmu_objset.c1985 taskq_t *dc_tq;
2157 taskq_t *tq = NULL; in dmu_objset_find_dp()
H A Ddsl_pool.c1137 taskq_t *
H A Dspa.c966 tqs->stqs_taskq = kmem_alloc(count * sizeof (taskq_t *), KM_SLEEP); in spa_taskqs_init()
988 taskq_t *tq; in spa_taskqs_init()
1049 kmem_free(tqs->stqs_taskq, tqs->stqs_count * sizeof (taskq_t *)); in spa_taskqs_fini()
1064 taskq_t *tq; in spa_taskq_dispatch_ent()
H A Dzfs_vfsops.c1141 taskq_t *zfsvfs_taskq;
H A Dvdev.c1485 taskq_t *tq; in vdev_open_children()
H A Ddbuf.c189 static taskq_t *dbu_evict_taskq;
H A Darc.c1069 static taskq_t *arc_prune_taskq;
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c224 static taskq_t *dtrace_taskq; /* task queue */