Searched refs:kcq_map (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/block/ |
H A D | kyber-iosched.c | 143 * Used to ensure operations on rq_list and kcq_map to be an atmoic one. 186 struct sbitmap kcq_map[KYBER_NUM_DOMAINS]; member 478 if (sbitmap_init_node(&khd->kcq_map[i], hctx->nr_ctx, in kyber_init_hctx() 481 sbitmap_free(&khd->kcq_map[i]); in kyber_init_hctx() 519 sbitmap_free(&khd->kcq_map[i]); in kyber_exit_hctx() 600 sbitmap_set_bit(&khd->kcq_map[sched_domain], in kyber_insert_requests() 684 sbitmap_for_each_set(&khd->kcq_map[sched_domain], in kyber_flush_busy_kcqs() 763 * the kcq_map, we will always get a request. in kyber_dispatch_cur_domain() 777 } else if (sbitmap_any_bit_set(&khd->kcq_map[khd->cur_domain])) { in kyber_dispatch_cur_domain() 849 sbitmap_any_bit_set(&khd->kcq_map[ in kyber_has_work() [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | kyber-iosched.c | 143 * Used to ensure operations on rq_list and kcq_map to be an atmoic one. 187 struct sbitmap kcq_map[KYBER_NUM_DOMAINS]; member 483 if (sbitmap_init_node(&khd->kcq_map[i], hctx->nr_ctx, in kyber_init_hctx() 487 sbitmap_free(&khd->kcq_map[i]); in kyber_init_hctx() 525 sbitmap_free(&khd->kcq_map[i]); in kyber_exit_hctx() 608 sbitmap_set_bit(&khd->kcq_map[sched_domain], in kyber_insert_requests() 691 sbitmap_for_each_set(&khd->kcq_map[sched_domain], in kyber_flush_busy_kcqs() 770 * the kcq_map, we will always get a request. in kyber_dispatch_cur_domain() 784 } else if (sbitmap_any_bit_set(&khd->kcq_map[khd->cur_domain])) { in kyber_dispatch_cur_domain() 856 sbitmap_any_bit_set(&khd->kcq_map[ in kyber_has_work() [all...] |
Completed in 3 milliseconds