Home
last modified time | relevance | path

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

/openbmc/linux/block/
H A Dblk-mq-sysfs.c149 if (!hctx->nr_ctx) in blk_mq_unregister_hctx()
164 if (!hctx->nr_ctx) in blk_mq_register_hctx()
H A Dkyber-iosched.c473 khd->kcqs = kmalloc_array_node(hctx->nr_ctx, in kyber_init_hctx()
479 for (i = 0; i < hctx->nr_ctx; i++) in kyber_init_hctx()
483 if (sbitmap_init_node(&khd->kcq_map[i], hctx->nr_ctx, in kyber_init_hctx()
H A Dblk-mq.h236 return hctx->nr_ctx && hctx->tags; in blk_mq_hw_queue_mapped()
H A Dblk-mq-sched.c201 if (++idx == hctx->nr_ctx) in blk_mq_next_ctx()
H A Dblk-mq.c1209 if ((rq->mq_hctx->nr_ctx == 1 && in blk_mq_complete_request_remote()
3761 hctx->nr_ctx = 0; in blk_mq_alloc_hctx()
3881 hctx->nr_ctx = 0; in blk_mq_map_swqueue()
3924 ctx->index_hw[hctx->type] = hctx->nr_ctx; in blk_mq_map_swqueue()
3925 hctx->ctxs[hctx->nr_ctx++] = ctx; in blk_mq_map_swqueue()
3931 BUG_ON(!hctx->nr_ctx); in blk_mq_map_swqueue()
3944 if (!hctx->nr_ctx) { in blk_mq_map_swqueue()
3964 sbitmap_resize(&hctx->ctx_map, hctx->nr_ctx); in blk_mq_map_swqueue()
/openbmc/linux/include/linux/
H A Dblk-mq.h366 unsigned short nr_ctx; member
946 for ((i) = 0; (i) < (hctx)->nr_ctx && \
/openbmc/linux/fs/fuse/
H A Ddir.c471 int err, nr_ctx = 0; in get_security_context() local
486 nr_ctx = 1; in get_security_context()
499 header->nr_secctx = nr_ctx; in get_security_context()
502 if (nr_ctx) { in get_security_context()