Home
last modified time | relevance | path

Searched refs:zthr_t (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/contrib/openzfs/include/sys/
H A Dzthr.h23 typedef struct zthr zthr_t; typedef
24 typedef void (zthr_func_t)(void *, zthr_t *);
25 typedef boolean_t (zthr_checkfunc_t)(void *, zthr_t *);
27 extern zthr_t *zthr_create(const char *zthr_name,
30 extern zthr_t *zthr_create_timer(const char *zthr_name,
33 extern void zthr_destroy(zthr_t *t);
35 extern void zthr_wakeup(zthr_t *t);
36 extern void zthr_cancel(zthr_t *t);
37 extern void zthr_resume(zthr_t *t);
38 extern void zthr_wait_cycle_done(zthr_t *t);
[all …]
H A Dspa_checkpoint.h39 boolean_t spa_checkpoint_discard_thread_check(void *, zthr_t *);
40 void spa_checkpoint_discard_thread(void *, zthr_t *);
H A Dspa_impl.h347 zthr_t *spa_condense_zthr; /* zthr doing condense. */
350 zthr_t *spa_raidz_expand_zthr;
354 zthr_t *spa_checkpoint_discard_zthr;
364 zthr_t *spa_livelist_delete_zthr; /* deleting livelists */
365 zthr_t *spa_livelist_condense_zthr; /* condensing livelists */
H A Ddsl_deadlist.h119 zthr_t *t, uint64_t *size);
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzthr.c237 zthr_t *t = arg; in zthr_procedure()
274 zthr_t *
287 zthr_t *
291 zthr_t *t = kmem_zalloc(sizeof (*t), KM_SLEEP); in zthr_create_timer()
314 zthr_destroy(zthr_t *t) in zthr_destroy()
331 zthr_wakeup(zthr_t *t) in zthr_wakeup()
364 zthr_cancel(zthr_t *t) in zthr_cancel()
408 zthr_resume(zthr_t *t) in zthr_resume()
450 zthr_iscancelled(zthr_t *t) in zthr_iscancelled()
473 zthr_iscurthread(zthr_t *t) in zthr_iscurthread()
[all …]
H A Dspa_checkpoint.c384 spa_checkpoint_discard_thread_check(void *arg, zthr_t *zthr) in spa_checkpoint_discard_thread_check()
399 spa_checkpoint_discard_thread(void *arg, zthr_t *zthr) in spa_checkpoint_discard_thread()
H A Ddsl_deadlist.c1018 zthr_t *t;
1038 zthr_t *t = lia->t; in dsl_livelist_iterate()
1092 dsl_process_sub_livelist(bpobj_t *bpobj, bplist_t *to_free, zthr_t *t, in dsl_process_sub_livelist()
H A Dvdev_indirect.c594 uint32_t *obsolete_counts, uint64_t start_index, zthr_t *zthr) in spa_condense_indirect_generate_new_mapping()
641 spa_condense_indirect_thread_check(void *arg, zthr_t *zthr) in spa_condense_indirect_thread_check()
650 spa_condense_indirect_thread(void *arg, zthr_t *zthr) in spa_condense_indirect_thread()
H A Dspa.c2956 spa_livelist_delete_cb_check(void *arg, zthr_t *z) in spa_livelist_delete_cb_check()
3052 spa_livelist_delete_cb(void *arg, zthr_t *z) in spa_livelist_delete_cb()
3220 spa_livelist_condense_cb(void *arg, zthr_t *t) in spa_livelist_condense_cb()
3301 spa_livelist_condense_cb_check(void *arg, zthr_t *z) in spa_livelist_condense_cb_check()
9154 zthr_t *condense_thread = spa->spa_condense_zthr;
9158 zthr_t *raidz_expand_thread = spa->spa_raidz_expand_zthr;
9162 zthr_t *discard_thread = spa->spa_checkpoint_discard_zthr;
9166 zthr_t *ll_delete_thread = spa->spa_livelist_delete_zthr;
9170 zthr_t *ll_condense_thread = spa->spa_livelist_condense_zthr;
9184 zthr_t *condense_thread = spa->spa_condense_zthr;
[all …]
H A Darc.c324 static zthr_t *arc_reap_zthr;
330 static zthr_t *arc_evict_zthr;
4617 arc_evict_cb_check(void *arg, zthr_t *zthr) in arc_evict_cb_check()
4670 arc_evict_cb(void *arg, zthr_t *zthr) in arc_evict_cb()
4721 arc_reap_cb_check(void *arg, zthr_t *zthr) in arc_reap_cb_check()
4769 arc_reap_cb(void *arg, zthr_t *zthr) in arc_reap_cb()
H A Dvdev_raidz.c4482 spa_raidz_expand_thread_check(void *arg, zthr_t *zthr) in spa_raidz_expand_thread_check()
4497 spa_raidz_expand_thread(void *arg, zthr_t *zthr) in spa_raidz_expand_thread()
H A Ddsl_dir.c2344 zthr_t *ll_condense_thread = spa->spa_livelist_condense_zthr; in dsl_dir_remove_livelist()