Home
last modified time | relevance | path

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

/f-stack/freebsd/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,
32 extern void zthr_destroy(zthr_t *t);
34 extern void zthr_wakeup(zthr_t *t);
35 extern void zthr_cancel(zthr_t *t);
36 extern void zthr_resume(zthr_t *t);
37 extern void zthr_wait_cycle_done(zthr_t *t);
39 extern boolean_t zthr_iscancelled(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.h312 zthr_t *spa_condense_zthr; /* zthr doing condense. */
316 zthr_t *spa_checkpoint_discard_zthr;
326 zthr_t *spa_livelist_delete_zthr; /* deleting livelists */
327 zthr_t *spa_livelist_condense_zthr; /* condensing livelists */
H A Ddsl_deadlist.h119 zthr_t *t, uint64_t *size);
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzthr.c233 zthr_t *t = arg; in zthr_procedure()
270 zthr_t *
283 zthr_t *
287 zthr_t *t = kmem_zalloc(sizeof (*t), KM_SLEEP); in zthr_create_timer()
309 zthr_destroy(zthr_t *t) in zthr_destroy()
326 zthr_wakeup(zthr_t *t) in zthr_wakeup()
359 zthr_cancel(zthr_t *t) in zthr_cancel()
403 zthr_resume(zthr_t *t) in zthr_resume()
445 zthr_iscancelled(zthr_t *t) in zthr_iscancelled()
474 zthr_wait_cycle_done(zthr_t *t) in zthr_wait_cycle_done()
[all …]
H A Dspa_checkpoint.c384 spa_checkpoint_discard_thread_check(void *arg, zthr_t *zthr) in spa_checkpoint_discard_thread_check()
398 spa_checkpoint_discard_thread(void *arg, zthr_t *zthr) in spa_checkpoint_discard_thread()
H A Ddsl_deadlist.c940 zthr_t *t;
955 zthr_t *t = lia->t; in dsl_livelist_iterate()
987 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()
642 spa_condense_indirect_thread_check(void *arg, zthr_t *zthr) in spa_condense_indirect_thread_check()
651 spa_condense_indirect_thread(void *arg, zthr_t *zthr) in spa_condense_indirect_thread()
H A Dspa.c2390 spa_livelist_delete_cb_check(void *arg, zthr_t *z) in spa_livelist_delete_cb_check()
2485 spa_livelist_delete_cb(void *arg, zthr_t *z) in spa_livelist_delete_cb()
2648 spa_livelist_condense_cb(void *arg, zthr_t *t) in spa_livelist_condense_cb()
2730 spa_livelist_condense_cb_check(void *arg, zthr_t *z) in spa_livelist_condense_cb_check()
8168 zthr_t *condense_thread = spa->spa_condense_zthr;
8172 zthr_t *discard_thread = spa->spa_checkpoint_discard_zthr;
8176 zthr_t *ll_delete_thread = spa->spa_livelist_delete_zthr;
8180 zthr_t *ll_condense_thread = spa->spa_livelist_condense_zthr;
8194 zthr_t *condense_thread = spa->spa_condense_zthr;
8198 zthr_t *discard_thread = spa->spa_checkpoint_discard_zthr;
[all …]
H A Darc.c324 static zthr_t *arc_reap_zthr;
330 static zthr_t *arc_evict_zthr;
4884 arc_evict_cb_check(void *arg, zthr_t *zthr) in arc_evict_cb_check()
4927 arc_evict_cb(void *arg, zthr_t *zthr) in arc_evict_cb()
4967 arc_reap_cb_check(void *arg, zthr_t *zthr) in arc_reap_cb_check()
5014 arc_reap_cb(void *arg, zthr_t *zthr) in arc_reap_cb()
H A Ddsl_dir.c2253 zthr_t *ll_condense_thread = spa->spa_livelist_condense_zthr; in dsl_dir_remove_livelist()