Home
last modified time | relevance | path

Searched refs:ctxs (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/video/fbdev/omap2/omapfb/
H A Dvrfb.c67 static struct vrfb_ctx *ctxs; variable
88 omap2_sms_write_rot_control(ctxs[ctx].control, ctx); in restore_hw_context()
89 omap2_sms_write_rot_size(ctxs[ctx].size, ctx); in restore_hw_context()
90 omap2_sms_write_rot_physical_ba(ctxs[ctx].physical_ba, ctx); in restore_hw_context()
211 ctxs[ctx].physical_ba = paddr; in omap_vrfb_setup()
212 ctxs[ctx].size = size; in omap_vrfb_setup()
213 ctxs[ctx].control = control; in omap_vrfb_setup()
308 paddr = ctxs[ctx].base + SMS_ROT_VIRT_BASE(rot); in omap_vrfb_request_ctx()
348 ctxs = devm_kcalloc(&pdev->dev, in vrfb_probe()
352 if (!ctxs) in vrfb_probe()
[all …]
/openbmc/linux/arch/x86/mm/
H A Dtlb.c212 this_cpu_write(cpu_tlbstate.ctxs[asid].ctx_id, 0); in clear_asid_other()
235 if (this_cpu_read(cpu_tlbstate.ctxs[asid].ctx_id) != in choose_new_asid()
240 *need_flush = (this_cpu_read(cpu_tlbstate.ctxs[asid].tlb_gen) < in choose_new_asid()
565 VM_WARN_ON(this_cpu_read(cpu_tlbstate.ctxs[prev_asid].ctx_id) != in switch_mm_irqs_off()
598 if (this_cpu_read(cpu_tlbstate.ctxs[prev_asid].tlb_gen) == in switch_mm_irqs_off()
641 this_cpu_write(cpu_tlbstate.ctxs[new_asid].ctx_id, next->context.ctx_id); in switch_mm_irqs_off()
642 this_cpu_write(cpu_tlbstate.ctxs[new_asid].tlb_gen, next_tlb_gen); in switch_mm_irqs_off()
728 this_cpu_write(cpu_tlbstate.ctxs[0].ctx_id, mm->context.ctx_id); in initialize_tlbstate_and_flush()
729 this_cpu_write(cpu_tlbstate.ctxs[0].tlb_gen, tlb_gen); in initialize_tlbstate_and_flush()
733 this_cpu_write(cpu_tlbstate.ctxs[i].ctx_id, 0); in initialize_tlbstate_and_flush()
[all …]
/openbmc/obmc-console/test/
H A Dtest-client-escape.c159 struct test_ctx ctxs[ARRAY_SIZE(tests)]; variable
163 struct test_ctx *ctx = &ctxs[fd]; in write_buf_to_fd()
174 struct test_ctx *ctx = &ctxs[fd]; in __read()
235 run_one_test(i, &tests[i], &ctxs[i]); in main()
/openbmc/linux/block/
H A Dblk-mq-sysfs.c18 struct blk_mq_ctxs *ctxs = container_of(kobj, struct blk_mq_ctxs, kobj); in blk_mq_sysfs_release() local
20 free_percpu(ctxs->queue_ctx); in blk_mq_sysfs_release()
21 kfree(ctxs); in blk_mq_sysfs_release()
29 kobject_put(&ctx->ctxs->kobj); in blk_mq_ctx_sysfs_release()
40 kfree(hctx->ctxs); in blk_mq_hw_sysfs_release()
H A Dblk-mq.c1703 struct blk_mq_ctx *ctx = hctx->ctxs[bitnr]; in flush_busy_ctx()
1738 struct blk_mq_ctx *ctx = hctx->ctxs[bitnr]; in dispatch_rq_from_ctx()
3847 hctx->ctxs = kmalloc_array_node(nr_cpu_ids, sizeof(void *), in blk_mq_alloc_hctx()
3849 if (!hctx->ctxs) in blk_mq_alloc_hctx()
3872 kfree(hctx->ctxs); in blk_mq_alloc_hctx()
4019 hctx->ctxs[hctx->nr_ctx++] = ctx; in blk_mq_map_swqueue()
4141 struct blk_mq_ctxs *ctxs; in blk_mq_alloc_ctxs() local
4144 ctxs = kzalloc(sizeof(*ctxs), GFP_KERNEL); in blk_mq_alloc_ctxs()
4145 if (!ctxs) in blk_mq_alloc_ctxs()
4148 ctxs->queue_ctx = alloc_percpu(struct blk_mq_ctx); in blk_mq_alloc_ctxs()
[all …]
H A Dblk-mq.h29 struct blk_mq_ctxs *ctxs; member
H A Dblk-mq-sched.c204 return hctx->ctxs[idx]; in blk_mq_next_ctx()
/openbmc/linux/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c54 struct qcom_iommu_ctx *ctxs[]; /* indexed by asid */ member
97 return qcom_iommu->ctxs[asid]; in to_ctx()
546 WARN_ON(qcom_iommu->ctxs[asid] == NULL)) { in qcom_iommu_of_xlate()
705 qcom_iommu->ctxs[ctx->asid] = ctx; in qcom_iommu_ctx_probe()
717 qcom_iommu->ctxs[ctx->asid] = NULL; in qcom_iommu_ctx_remove()
767 qcom_iommu = devm_kzalloc(dev, struct_size(qcom_iommu, ctxs, max_asid + 1), in qcom_iommu_device_probe()
/openbmc/linux/include/linux/
H A Ddamon.h678 int damon_start(struct damon_ctx **ctxs, int nr_ctxs, bool exclusive);
679 int damon_stop(struct damon_ctx **ctxs, int nr_ctxs);
H A Dblk-mq.h368 struct blk_mq_ctx **ctxs; member
947 ({ ctx = (hctx)->ctxs[(i)]; 1; }); (i)++)
/openbmc/qemu/plugins/
H A Dplugin.h22 QTAILQ_HEAD(, qemu_plugin_ctx) ctxs;
H A Dloader.c247 QTAILQ_INSERT_TAIL(&plugin.ctxs, ctx, entry); in plugin_load()
366 QTAILQ_REMOVE(&plugin.ctxs, ctx, entry); in plugin_reset_destroy__locked()
H A Dcore.c737 QTAILQ_INIT(&plugin.ctxs); in plugin_init()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dchan.h36 unsigned ctxs:5; member
H A Dnv04.c66 u32 cm = ((1ULL << c->bits) - 1) << c->ctxs; in nv04_chan_stop()
69 nvkm_wo32(fctx, c->ctxp + data, cv | (rv << c->ctxs)); in nv04_chan_stop()
/openbmc/linux/arch/x86/include/asm/
H A Dtlbflush.h150 struct tlb_context ctxs[TLB_NR_DYN_ASIDS]; member
/openbmc/linux/mm/damon/
H A Dcore.c697 int damon_start(struct damon_ctx **ctxs, int nr_ctxs, bool exclusive) in damon_start() argument
710 err = __damon_start(ctxs[i]); in damon_start()
752 int damon_stop(struct damon_ctx **ctxs, int nr_ctxs) in damon_stop() argument
758 err = __damon_stop(ctxs[i]); in damon_stop()
/openbmc/linux/kernel/
H A Dworkqueue.c5812 LIST_HEAD(ctxs); in workqueue_apply_unbound_cpumask()
5832 list_add_tail(&ctx->list, &ctxs); in workqueue_apply_unbound_cpumask()
5835 list_for_each_entry_safe(ctx, n, &ctxs, list) { in workqueue_apply_unbound_cpumask()