Home
last modified time | relevance | path

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

12

/freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dtaskq.h45 } taskq_t; typedef
85 extern taskq_t *system_taskq;
87 extern taskq_t *system_delay_taskq;
102 extern void taskq_destroy(taskq_t *);
103 extern void taskq_wait_id(taskq_t *, taskqid_t);
105 extern void taskq_wait(taskq_t *);
107 extern int taskq_member(taskq_t *, kthread_t *);
108 extern taskq_t *taskq_of_curthread(void);
109 void taskq_suspend(taskq_t *);
110 int taskq_suspended(taskq_t *);
[all …]
/freebsd-14.2/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-14.2/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dtaskq.h108 } taskq_t; typedef
118 taskq_t *tqent_taskq;
130 taskq_t *tqt_tq;
137 extern taskq_t *system_taskq;
139 extern taskq_t *system_delay_taskq;
153 extern void taskq_destroy(taskq_t *);
154 extern void taskq_wait_id(taskq_t *, taskqid_t);
156 extern void taskq_wait(taskq_t *);
157 extern int taskq_cancel_id(taskq_t *, taskqid_t);
158 extern int taskq_member(taskq_t *, kthread_t *);
[all …]
/freebsd-14.2/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_taskq.c41 taskq_t *system_taskq = NULL;
65 static taskq_t *
69 taskq_t *tq; in taskq_create_impl()
80 return ((taskq_t *)tq); in taskq_create_impl()
83 taskq_t *
90 taskq_t *
98 taskq_destroy(taskq_t *tq) in taskq_destroy()
106 taskq_member(taskq_t *tq, kthread_t *thread) in taskq_member()
123 taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t flags) in taskq_dispatch()
179 taskq_wait(taskq_t *tq) in taskq_wait()
[all …]
/freebsd-14.2/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()
192 taskq_wait(taskq_t *tq) in taskq_wait()
217 taskq_t *tq = arg; in taskq_thread()
253 taskq_t *
258 taskq_t *tq = kmem_zalloc(sizeof (taskq_t), KM_SLEEP); in taskq_create()
305 taskq_destroy(taskq_t *tq) in taskq_destroy()
337 kmem_free(tq, sizeof (taskq_t)); in taskq_destroy()
[all …]
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c61 taskq_t *system_taskq = NULL;
63 taskq_t *dynamic_taskq = NULL;
204 taskq_t *tq = context; in taskq_tsd_set()
213 static taskq_t *
217 taskq_t *tq; in taskq_create_impl()
232 return ((taskq_t *)tq); in taskq_create_impl()
235 taskq_t *
242 taskq_t *
250 taskq_destroy(taskq_t *tq) in taskq_destroy()
264 taskq_t *
[all …]
H A Dspl_vfs.c275 vn_rele_async(vnode_t *vp, taskq_t *taskq) in vn_rele_async()
284 VERIFY3U(taskq_dispatch((taskq_t *)taskq, in vn_rele_async()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-taskq.c67 taskq_t *system_taskq;
106 taskq_t *tq; in taskq_find_by_name()
498 taskq_wait(taskq_t *tq) in taskq_wait()
511 taskq_t *
800 taskq_t *tq = (taskq_t *)arg; in taskq_thread_spawn_task()
874 taskq_t *tq; in taskq_thread()
1043 taskq_t *
1047 taskq_t *tq; in taskq_create()
1254 taskq_t *tq = NULL; in param_set_taskq_kick()
1304 taskq_t *tq = list_entry(node, taskq_t, tq_hp_cb_node); in spl_taskq_expand()
[all …]
H A Dspl-proc.c204 taskq_t *tq = p; in taskq_seq_show_impl()
356 return (list_entry(p, taskq_t, tq_taskqs)); in taskq_seq_start()
362 taskq_t *tq = p; in taskq_seq_next()
366 NULL : list_entry(tq->tq_taskqs.next, taskq_t, tq_taskqs)); in taskq_seq_next()
H A Dspl-kmem-cache.c137 static taskq_t *spl_kmem_cache_taskq; /* Task queue for aging / reclaim */
/freebsd-14.2/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;
506 extern void taskq_dispatch_ent(taskq_t *, task_func_t, void *, uint_t,
510 extern void taskq_destroy(taskq_t *);
511 extern void taskq_wait(taskq_t *);
512 extern void taskq_wait_id(taskq_t *, taskqid_t);
513 extern void taskq_wait_outstanding(taskq_t *, taskqid_t);
514 extern int taskq_member(taskq_t *, kthread_t *);
515 extern taskq_t *taskq_of_curthread(void);
[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.h188 taskq_t **stqs_taskq;
426 taskq_t *spa_zvol_taskq; /* Taskq for minor management */
427 taskq_t *spa_metaslab_taskq; /* Taskq for metaslab preload */
428 taskq_t *spa_prefetch_taskq; /* Taskq for prefetch threads */
429 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.h1044 extern taskq_t *arc_prune_taskq;
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzvol_os.c130 taskq_t **tqs_taskq;
1833 ztqs->tqs_taskq = kmem_alloc(num_tqs * sizeof (taskq_t *), KM_SLEEP); in zvol_init()
1836 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.c46 static taskq_t *vdev_file_taskq;
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_file.c41 static taskq_t *vdev_file_taskq;
H A Dzfs_dir.c421 extern taskq_t *zfsvfs_taskq;
H A Dzfs_vfsops.c956 taskq_t *zfsvfs_taskq;
/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Ddsl_pool.c1186 taskq_t *
1192 taskq_t *
H A Ddmu_objset.c2623 taskq_t *dc_tq;
2795 taskq_t *tq = NULL; in dmu_objset_find_dp()
H A Dspa.c1096 tqs->stqs_taskq = kmem_alloc(count * sizeof (taskq_t *), KM_SLEEP); in spa_taskqs_init()
1099 taskq_t *tq; in spa_taskqs_init()
1163 kmem_free(tqs->stqs_taskq, tqs->stqs_count * sizeof (taskq_t *)); in spa_taskqs_fini()
1447 taskq_t *tq; in spa_taskq_dispatch_ent()
1469 taskq_t *tq; in spa_taskq_dispatch_sync()
H A Dvdev.c1878 taskq_t *tq = taskq_create("vdev_open", children, minclsyspri, in vdev_open_children_impl()
2289 taskq_t *tq = NULL; in vdev_validate()
3613 taskq_t *tq = NULL; in vdev_load()

12