/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | taskq.h | 46 } 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 D | taskq.h | 44 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 D | taskq.h | 142 } 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 D | opensolaris_taskq.c | 40 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 D | taskq.c | 34 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 D | spl_taskq.c | 53 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 D | spl_vfs.c | 270 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 D | spl-taskq.c | 147 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 D | spl-kmem-cache.c | 136 static taskq_t *spl_kmem_cache_taskq; /* Task queue for aging / reclaim */
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zfs_context.h | 478 } 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 D | dsl_pool.h | 138 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 D | spa_impl.h | 196 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 D | txg_impl.h | 117 taskq_t *tx_commit_cb_taskq; /* commit callback taskq */
|
H A D | dsl_scan.h | 149 taskq_t *scn_taskq; /* task queue for issuing extents */
|
H A D | arc_impl.h | 1045 extern taskq_t *arc_prune_taskq;
|
H A D | spa.h | 835 taskq_t *spa_sync_tq_create(spa_t *spa, const char *name);
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zvol_os.c | 121 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 D | vdev_file.c | 48 static taskq_t *vdev_file_taskq;
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | vdev_file.c | 41 static taskq_t *vdev_file_taskq;
|
H A D | zfs_dir.c | 425 extern taskq_t *zfsvfs_taskq;
|
H A D | zfs_vfsops.c | 957 taskq_t *zfsvfs_taskq;
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dsl_pool.c | 1180 taskq_t * 1186 taskq_t *
|
H A D | dmu_objset.c | 2709 taskq_t *dc_tq; 2881 taskq_t *tq = NULL; in dmu_objset_find_dp()
|
H A D | spa.c | 1212 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 D | vdev.c | 1907 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()
|