Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-mq.c1328 if ((rq->mq_hctx->nr_ctx == 1 && in blk_mq_complete_request_remote()
3734 if (!hctx->nr_ctx || blk_mq_hctx_has_online_cpu(hctx, cpu)) in blk_mq_hctx_notify_offline()
4067 hctx->nr_ctx = 0; in blk_mq_alloc_hctx()
4181 hctx->nr_ctx = 0; in blk_mq_map_swqueue()
4224 ctx->index_hw[hctx->type] = hctx->nr_ctx; in blk_mq_map_swqueue()
4225 hctx->ctxs[hctx->nr_ctx++] = ctx; in blk_mq_map_swqueue()
4231 BUG_ON(!hctx->nr_ctx); in blk_mq_map_swqueue()
4246 if (!hctx->nr_ctx) { in blk_mq_map_swqueue()
4266 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.c665 int err, nr_ctx = 0; in get_security_context() local
677 nr_ctx = 1; in get_security_context()
692 header->nr_secctx = nr_ctx; in get_security_context()
695 if (nr_ctx) { in get_security_context()
709 if (nr_ctx) in get_security_context()