Home
last modified time | relevance | path

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

12

/freebsd-13.1/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-13.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-13.1/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dtaskq.h107 } taskq_t; typedef
117 taskq_t *tqent_taskq;
129 taskq_t *tqt_tq;
136 extern taskq_t *system_taskq;
138 extern taskq_t *system_delay_taskq;
152 extern void taskq_destroy(taskq_t *);
153 extern void taskq_wait_id(taskq_t *, taskqid_t);
155 extern void taskq_wait(taskq_t *);
156 extern int taskq_cancel_id(taskq_t *, taskqid_t);
157 extern int taskq_member(taskq_t *, kthread_t *);
[all …]
/freebsd-13.1/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_taskq.c43 taskq_t *system_taskq = NULL;
67 static taskq_t *
71 taskq_t *tq; in taskq_create_impl()
82 return ((taskq_t *)tq); in taskq_create_impl()
85 taskq_t *
92 taskq_t *
100 taskq_destroy(taskq_t *tq) in taskq_destroy()
108 taskq_member(taskq_t *tq, kthread_t *thread) in taskq_member()
125 taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t flags) in taskq_dispatch()
181 taskq_wait(taskq_t *tq) in taskq_wait()
[all …]
/freebsd-13.1/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()
191 taskq_wait(taskq_t *tq) in taskq_wait()
214 taskq_t *tq = arg; in taskq_thread()
251 taskq_t *
255 taskq_t *tq = kmem_zalloc(sizeof (taskq_t), KM_SLEEP); in taskq_create()
302 taskq_destroy(taskq_t *tq) in taskq_destroy()
332 kmem_free(tq, sizeof (taskq_t)); in taskq_destroy()
[all …]
/freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c58 taskq_t *system_taskq = NULL;
60 taskq_t *dynamic_taskq = NULL;
202 taskq_t *tq = context; in taskq_tsd_set()
211 static taskq_t *
215 taskq_t *tq; in taskq_create_impl()
230 return ((taskq_t *)tq); in taskq_create_impl()
233 taskq_t *
240 taskq_t *
248 taskq_destroy(taskq_t *tq) in taskq_destroy()
262 taskq_t *
[all …]
H A Dspl_vfs.c276 vn_rele_async(vnode_t *vp, taskq_t *taskq) in vn_rele_async()
285 VERIFY3U(taskq_dispatch((taskq_t *)taskq, in vn_rele_async()
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-taskq.c55 taskq_t *system_taskq;
94 taskq_t *tq; in taskq_find_by_name()
486 taskq_wait(taskq_t *tq) in taskq_wait()
499 taskq_t *
789 taskq_t *tq = (taskq_t *)arg; in taskq_thread_spawn_task()
859 taskq_t *tq; in taskq_thread()
1033 taskq_t *
1037 taskq_t *tq; in taskq_create()
1244 taskq_t *tq = NULL; in param_set_taskq_kick()
1294 taskq_t *tq = list_entry(node, taskq_t, tq_hp_cb_node); in spl_taskq_expand()
[all …]
H A Dspl-proc.c191 taskq_t *tq = p; in taskq_seq_show_impl()
343 return (list_entry(p, taskq_t, tq_taskqs)); in taskq_seq_start()
349 taskq_t *tq = p; in taskq_seq_next()
353 NULL : list_entry(tq->tq_taskqs.next, taskq_t, tq_taskqs)); in taskq_seq_next()
H A Dspl-kmem-cache.c155 taskq_t *spl_kmem_cache_taskq; /* Task queue for aging / reclaim */
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h475 } taskq_t;
492 extern taskq_t *system_taskq;
493 extern taskq_t *system_delay_taskq;
503 extern void taskq_dispatch_ent(taskq_t *, task_func_t, void *, uint_t,
507 extern void taskq_destroy(taskq_t *);
508 extern void taskq_wait(taskq_t *);
509 extern void taskq_wait_id(taskq_t *, taskqid_t);
510 extern void taskq_wait_outstanding(taskq_t *, taskqid_t);
511 extern int taskq_member(taskq_t *, kthread_t *);
512 extern taskq_t *taskq_of_curthread(void);
[all …]
H A Ddsl_pool.h135 taskq_t *dp_sync_taskq;
136 taskq_t *dp_zil_clean_taskq;
181 taskq_t *dsl_pool_zrele_taskq(dsl_pool_t *dp);
182 taskq_t *dsl_pool_unlinked_drain_taskq(dsl_pool_t *dp);
H A Dspa_impl.h187 taskq_t **stqs_taskq;
415 taskq_t *spa_zvol_taskq; /* Taskq for minor management */
416 taskq_t *spa_prefetch_taskq; /* Taskq for prefetch threads */
441 taskq_t *spa_upgrade_taskq; /* taskq for upgrade jobs */
H A Dtxg_impl.h118 taskq_t *tx_commit_cb_taskq; /* commit callback taskq */
H A Ddsl_scan.h133 taskq_t *scn_taskq; /* task queue for issuing extents */
H A Dmetaslab_impl.h253 taskq_t *mg_taskq;
H A Darc_impl.h972 extern taskq_t *arc_prune_taskq;
/freebsd-13.1/sys/contrib/openzfs/module/icp/core/
H A Dkcf_sched.c561 taskq_t *taskq = new_pd->pd_sched_info.ks_taskq; in kcf_resubmit_request()
579 static inline int EMPTY_TASKQ(taskq_t *tq) in EMPTY_TASKQ()
609 taskq_t *taskq = pd->pd_sched_info.ks_taskq; in kcf_submit_request()
1684 taskq_t *taskq = pd->pd_sched_info.ks_taskq; in kcf_next_req()
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_file.c46 static taskq_t *vdev_file_taskq;
H A Dzvol_os.c57 taskq_t *zvol_taskq;
/freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_file.c41 static taskq_t *vdev_file_taskq;
H A Dzfs_dir.c422 extern taskq_t *zfsvfs_taskq;
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Ddsl_pool.c1115 taskq_t *
1121 taskq_t *
H A Ddmu_objset.c2569 taskq_t *dc_tq;
2741 taskq_t *tq = NULL; in dmu_objset_find_dp()
H A Dvdev.c1786 taskq_t *tq = taskq_create("vdev_open", children, minclsyspri, in vdev_open_children_impl()
2170 taskq_t *tq = NULL; in vdev_validate()
3431 taskq_t *tq = NULL; in vdev_load()

12