Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dblk-mq.h398 unsigned short nr_ctx; member
1034 for ((i) = 0; (i) < (hctx)->nr_ctx && \
/linux/block/
H A Dblk-mq.c1319 if ((rq->mq_hctx->nr_ctx == 1 && in blk_mq_complete_request_remote()
3724 if (!hctx->nr_ctx || blk_mq_hctx_has_online_cpu(hctx, cpu)) in blk_mq_hctx_notify_offline()
4057 hctx->nr_ctx = 0; in blk_mq_alloc_hctx()
4171 hctx->nr_ctx = 0; in blk_mq_map_swqueue()
4214 ctx->index_hw[hctx->type] = hctx->nr_ctx; in blk_mq_map_swqueue()
4215 hctx->ctxs[hctx->nr_ctx++] = ctx; in blk_mq_map_swqueue()
4221 BUG_ON(!hctx->nr_ctx); in blk_mq_map_swqueue()
4236 if (!hctx->nr_ctx) { in blk_mq_map_swqueue()
4256 sbitmap_resize(&hctx->ctx_map, hctx->nr_ctx); in blk_mq_map_swqueue()
H A Dblk-mq.h259 return hctx->nr_ctx && hctx->tags; in blk_mq_hw_queue_mapped()
H A Dblk-mq-sched.c199 if (++idx == hctx->nr_ctx) in blk_mq_next_ctx()
/linux/fs/fuse/
H A Ddir.c666 int err, nr_ctx = 0; in get_security_context() local
678 nr_ctx = 1; in get_security_context()
693 header->nr_secctx = nr_ctx; in get_security_context()
696 if (nr_ctx) { in get_security_context()
710 if (nr_ctx) in get_security_context()