Home
last modified time | relevance | path

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

/linux/block/
H A Dkyber-iosched.c466 struct kyber_hctx_data *khd; in kyber_init_hctx() local
469 khd = kmalloc_node(sizeof(*khd), GFP_KERNEL, hctx->numa_node); in kyber_init_hctx()
470 if (!khd) in kyber_init_hctx()
473 khd->kcqs = kmalloc_array_node(hctx->nr_ctx, in kyber_init_hctx()
476 if (!khd->kcqs) in kyber_init_hctx()
480 kyber_ctx_queue_init(&khd->kcqs[i]); in kyber_init_hctx()
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()
492 spin_lock_init(&khd->lock); in kyber_init_hctx()
495 INIT_LIST_HEAD(&khd->rqs[i]); in kyber_init_hctx()
[all …]