Searched refs:queue_ctx (Results 1 – 4 of 4) sorted by relevance
22 free_percpu(ctxs->queue_ctx); in blk_mq_sysfs_release()291 ctx = per_cpu_ptr(q->queue_ctx, cpu); in blk_mq_sysfs_deinit()305 ctx = per_cpu_ptr(q->queue_ctx, cpu); in blk_mq_sysfs_init()
12 struct blk_mq_ctx __percpu *queue_ctx; member138 return per_cpu_ptr(q->queue_ctx, cpu); in __blk_mq_get_ctx()
2813 struct blk_mq_ctx *__ctx = per_cpu_ptr(q->queue_ctx, i); in blk_mq_init_cpu_queues()2889 ctx = per_cpu_ptr(q->queue_ctx, i); in blk_mq_map_swqueue()3051 ctxs->queue_ctx = alloc_percpu(struct blk_mq_ctx); in blk_mq_alloc_ctxs()3052 if (!ctxs->queue_ctx) in blk_mq_alloc_ctxs()3056 struct blk_mq_ctx *ctx = per_cpu_ptr(ctxs->queue_ctx, cpu); in blk_mq_alloc_ctxs()3061 q->queue_ctx = ctxs->queue_ctx; in blk_mq_alloc_ctxs()
416 struct blk_mq_ctx __percpu *queue_ctx; member