Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dtaskq.h46 } taskq_t; typedef
85 extern taskq_t *system_taskq;
87 extern taskq_t *system_delay_taskq;
89 extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t);
90 extern taskqid_t taskq_dispatch_delay(taskq_t *, task_func_t, void *,
92 extern void taskq_dispatch_ent(taskq_t *, task_func_t, void *, uint_t,
96 taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t);
97 taskq_t *taskq_create_synced(const char *, int, pri_t, int, int, uint_t,
99 taskq_t *taskq_create_instance(const char *, int, int, pri_t, int, int, uint_t);
100 taskq_t *taskq_create_proc(const char *, int, pri_t, int, int,
[all …]
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dtaskq.h44 typedef struct taskq taskq_t; typedef
79 extern taskq_t *system_taskq;
84 taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t);
85 taskq_t *taskq_create_instance(const char *, int, int, pri_t, int, int, uint_t);
86 taskq_t *taskq_create_proc(const char *, int, pri_t, int, int,
88 taskq_t *taskq_create_sysdc(const char *, int, int, int,
90 taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t);
91 void taskq_dispatch_ent(taskq_t *, task_func_t, void *, uint_t,
94 void taskq_destroy(taskq_t *);
95 void taskq_wait(taskq_t *);
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dtaskq.h142 } taskq_t; typedef
152 taskq_t *tqent_taskq;
171 taskq_t *tqt_tq;
178 extern taskq_t *system_taskq;
180 extern taskq_t *system_delay_taskq;
186 extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t);
187 extern taskqid_t taskq_dispatch_delay(taskq_t *, task_func_t, void *,
189 extern void taskq_dispatch_ent(taskq_t *, task_func_t, void *, uint_t,
193 extern taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t);
194 extern taskq_t *taskq_create_synced(const char *, int, pri_t, int, int, uint_t,
[all …]
/freebsd/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_taskq.c40 taskq_t *system_taskq = NULL;
64 static taskq_t *
68 taskq_t *tq; in taskq_create_impl()
79 return ((taskq_t *)tq); in taskq_create_impl()
82 taskq_t *
89 taskq_t *
97 taskq_destroy(taskq_t *tq) in taskq_destroy()
105 taskq_member(taskq_t *tq, kthread_t *thread) in taskq_member()
122 taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t flags) in taskq_dispatch()
159 taskq_dispatch_ent(taskq_t *tq, task_func_t func, void *arg, u_int flags, in taskq_dispatch_ent()
[all …]
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dtaskq.c34 taskq_t *system_taskq;
35 taskq_t *system_delay_taskq;
42 task_alloc(taskq_t *tq, int tqflags) in task_alloc()
87 task_free(taskq_t *tq, taskq_ent_t *t) in task_free()
104 taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t tqflags) in taskq_dispatch()
137 taskq_dispatch_delay(taskq_t *tq, task_func_t func, void *arg, uint_t tqflags, in taskq_dispatch_delay()
161 taskq_dispatch_ent(taskq_t *tq, task_func_t func, void *arg, uint_t flags, in taskq_dispatch_ent()
192 taskq_wait(taskq_t *tq) in taskq_wait()
201 taskq_wait_id(taskq_t *tq, taskqid_t id) in taskq_wait_id()
208 taskq_wait_outstanding(taskq_t *t
[all...]
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c53 taskq_t *system_taskq = NULL;
54 taskq_t *system_delay_taskq = NULL;
55 taskq_t *dynamic_taskq = NULL;
196 taskq_t *tq = context; in taskq_tsd_set()
205 static taskq_t *
209 taskq_t *tq; in taskq_create_impl()
225 return ((taskq_t *)tq); in taskq_create_impl()
228 taskq_t *
235 taskq_t *
243 taskq_destroy(taskq_t *tq) in taskq_destroy()
[all …]
H A Dspl_vfs.c270 vn_rele_async(vnode_t *vp, taskq_t *taskq) in vn_rele_async()
275 VERIFY3U(taskq_dispatch((taskq_t *)taskq, in vn_rele_async()
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-taskq.c147 taskq_t *system_taskq;
150 taskq_t *system_delay_taskq;
154 static taskq_t *dynamic_taskq;
155 static taskq_thread_t *taskq_thread_create(taskq_t *);
184 taskq_t *tq; in taskq_find_by_name()
187 tq = list_entry(tql, taskq_t, tq_taskqs); in taskq_find_by_name()
199 task_alloc(taskq_t *tq, uint_t flags, unsigned long *irqflags) in task_alloc()
266 task_free(taskq_t *tq, taskq_ent_t *t) in task_free()
282 task_done(taskq_t *tq, taskq_ent_t *t) in task_done()
312 taskq_t *tq = t->tqent_taskq; in task_expire_impl()
[all …]
H A Dspl-kmem-cache.c136 static taskq_t *spl_kmem_cache_taskq; /* Task queue for aging / reclaim */
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h478 } taskq_t;
495 extern taskq_t *system_taskq;
496 extern taskq_t *system_delay_taskq;
498 extern taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t);
499 extern taskq_t *taskq_create_synced(const char *, int, pri_t, int, int, uint_t,
505 extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t);
506 extern taskqid_t taskq_dispatch_delay(taskq_t *, task_func_t, void *, uint_t,
508 extern void taskq_dispatch_ent(taskq_t *, task_func_t, void *, uint_t,
512 extern void taskq_destroy(taskq_t *);
513 extern void taskq_wait(taskq_t *);
[all …]
H A Ddsl_pool.h138 taskq_t *dp_sync_taskq;
139 taskq_t *dp_zil_clean_taskq;
186 taskq_t *dsl_pool_zrele_taskq(dsl_pool_t *dp);
187 taskq_t *dsl_pool_unlinked_drain_taskq(dsl_pool_t *dp);
H A Dspa_impl.h196 taskq_t **stqs_taskq;
286 taskq_t *spa_sync_tq;
456 taskq_t *spa_zvol_taskq; /* Taskq for minor management */
457 taskq_t *spa_metaslab_taskq; /* Taskq for metaslab preload */
458 taskq_t *spa_prefetch_taskq; /* Taskq for prefetch threads */
459 taskq_t *spa_upgrade_taskq; /* Taskq for upgrade jobs */
H A Dtxg_impl.h117 taskq_t *tx_commit_cb_taskq; /* commit callback taskq */
H A Ddsl_scan.h149 taskq_t *scn_taskq; /* task queue for issuing extents */
H A Darc_impl.h1045 extern taskq_t *arc_prune_taskq;
H A Dspa.h835 taskq_t *spa_sync_tq_create(spa_t *spa, const char *name);
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzvol_os.c121 taskq_t **tqs_taskq;
1834 ztqs->tqs_taskq = kmem_alloc(num_tqs * sizeof (taskq_t *), KM_SLEEP); in zvol_init()
1837 kmem_free(ztqs->tqs_taskq, ztqs->tqs_cnt * sizeof (taskq_t *)); in zvol_init()
1869 sizeof (taskq_t *)); in zvol_init()
1895 sizeof (taskq_t *)); in zvol_fini()
H A Dvdev_file.c48 static taskq_t *vdev_file_taskq;
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_file.c41 static taskq_t *vdev_file_taskq;
H A Dzfs_dir.c425 extern taskq_t *zfsvfs_taskq;
H A Dzfs_vfsops.c957 taskq_t *zfsvfs_taskq;
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_pool.c1180 taskq_t *
1186 taskq_t *
H A Ddmu_objset.c2709 taskq_t *dc_tq;
2881 taskq_t *tq = NULL; in dmu_objset_find_dp()
H A Dspa.c1212 tqs->stqs_taskq = kmem_alloc(count * sizeof (taskq_t *), KM_SLEEP); in spa_taskqs_init()
1215 taskq_t *tq; in spa_taskqs_init()
1280 kmem_free(tqs->stqs_taskq, tqs->stqs_count * sizeof (taskq_t *)); in spa_taskqs_fini()
1563 taskq_t *tq; in spa_taskq_dispatch()
10317 taskq_t *
H A Dvdev.c1907 taskq_t *tq = taskq_create("vdev_open", children, minclsyspri, in vdev_open_children_impl()
2322 taskq_t *tq = NULL; in vdev_validate()
3680 taskq_t *tq = NULL; in vdev_load()

12