Searched refs:callbacks (Results 1 – 2 of 2) sorted by relevance
16 struct list_head callbacks; member65 list_for_each_entry_rcu(cb, &q->stats->callbacks, list) { in blk_stat_add()152 list_add_tail_rcu(&cb->list, &q->stats->callbacks); in blk_stat_add_callback()164 if (list_empty(&q->stats->callbacks) && !q->stats->enable_accounting) in blk_stat_remove_callback()206 INIT_LIST_HEAD(&stats->callbacks); in blk_alloc_queue_stats()218 WARN_ON(!list_empty(&stats->callbacks)); in blk_free_queue_stats()
1695 LIST_HEAD(callbacks); in flush_plug_callbacks()1698 list_splice_init(&plug->cb_list, &callbacks); in flush_plug_callbacks()1700 while (!list_empty(&callbacks)) { in flush_plug_callbacks()1701 struct blk_plug_cb *cb = list_first_entry(&callbacks, in flush_plug_callbacks()