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

/linux-master/block/
H A Dblk-mq-sysfs.c149 if (!hctx->nr_ctx)
164 if (!hctx->nr_ctx)
H A Dblk-mq.h236 return hctx->nr_ctx && hctx->tags;
H A Dkyber-iosched.c473 khd->kcqs = kmalloc_array_node(hctx->nr_ctx,
479 for (i = 0; i < hctx->nr_ctx; i++)
483 if (sbitmap_init_node(&khd->kcq_map[i], hctx->nr_ctx,
H A Dblk-mq-sched.c201 if (++idx == hctx->nr_ctx)
H A Dblk-mq.c1204 if ((rq->mq_hctx->nr_ctx == 1 &&
3731 hctx->nr_ctx = 0;
3851 hctx->nr_ctx = 0;
3894 ctx->index_hw[hctx->type] = hctx->nr_ctx;
3895 hctx->ctxs[hctx->nr_ctx++] = ctx;
3898 * If the nr_ctx type overflows, we have exceeded the
3901 BUG_ON(!hctx->nr_ctx);
3914 if (!hctx->nr_ctx) {
3934 sbitmap_resize(&hctx->ctx_map, hctx->nr_ctx);
/linux-master/include/linux/
H A Dblk-mq.h365 /** @nr_ctx: Number of software queues. */
366 unsigned short nr_ctx; member in struct:blk_mq_hw_ctx
951 for ((i) = 0; (i) < (hctx)->nr_ctx && \
/linux-master/fs/fuse/
H A Ddir.c471 int err, nr_ctx = 0; local
486 nr_ctx = 1;
499 header->nr_secctx = nr_ctx;
502 if (nr_ctx) {

Completed in 159 milliseconds