Home
last modified time | relevance | path

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

/Linux-v4.19/block/
Dblk-mq.c2513 struct blk_mq_hw_ctx **hctxs = q->queue_hw_ctx; in blk_mq_realloc_hw_ctxs() local
2522 if (hctxs[i]) in blk_mq_realloc_hw_ctxs()
2526 hctxs[i] = kzalloc_node(blk_mq_hw_ctx_size(set), in blk_mq_realloc_hw_ctxs()
2528 if (!hctxs[i]) in blk_mq_realloc_hw_ctxs()
2531 if (!zalloc_cpumask_var_node(&hctxs[i]->cpumask, GFP_KERNEL, in blk_mq_realloc_hw_ctxs()
2533 kfree(hctxs[i]); in blk_mq_realloc_hw_ctxs()
2534 hctxs[i] = NULL; in blk_mq_realloc_hw_ctxs()
2538 atomic_set(&hctxs[i]->nr_active, 0); in blk_mq_realloc_hw_ctxs()
2539 hctxs[i]->numa_node = node; in blk_mq_realloc_hw_ctxs()
2540 hctxs[i]->queue_num = i; in blk_mq_realloc_hw_ctxs()
[all …]