/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
H A D | execlist.c | 188 struct execlist_ctx_descriptor_format *ctx1 = &running->ctx[1]; in emulate_execlist_ctx_schedule_out() local 203 /* ctx1 is valid, ctx0/ctx is scheduled-out -> element switch */ in emulate_execlist_ctx_schedule_out() 204 if (valid_context(ctx1) && same_context(ctx0, ctx)) { in emulate_execlist_ctx_schedule_out() 207 execlist->running_context = ctx1; in emulate_execlist_ctx_schedule_out() 216 * ctx1 is not valid, ctx == ctx0 in emulate_execlist_ctx_schedule_out() 217 * ctx1 is valid, ctx1 == ctx in emulate_execlist_ctx_schedule_out() 223 } else if ((!valid_context(ctx1) && same_context(ctx0, ctx)) in emulate_execlist_ctx_schedule_out() 224 || (valid_context(ctx1) && same_context(ctx1, ct in emulate_execlist_ctx_schedule_out() 280 struct execlist_ctx_descriptor_format *ctx0, *ctx1; emulate_execlist_schedule_in() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
H A D | execlist.c | 188 struct execlist_ctx_descriptor_format *ctx1 = &running->ctx[1]; in emulate_execlist_ctx_schedule_out() local 203 /* ctx1 is valid, ctx0/ctx is scheduled-out -> element switch */ in emulate_execlist_ctx_schedule_out() 204 if (valid_context(ctx1) && same_context(ctx0, ctx)) { in emulate_execlist_ctx_schedule_out() 207 execlist->running_context = ctx1; in emulate_execlist_ctx_schedule_out() 216 * ctx1 is not valid, ctx == ctx0 in emulate_execlist_ctx_schedule_out() 217 * ctx1 is valid, ctx1 == ctx in emulate_execlist_ctx_schedule_out() 223 } else if ((!valid_context(ctx1) && same_context(ctx0, ctx)) in emulate_execlist_ctx_schedule_out() 224 || (valid_context(ctx1) && same_context(ctx1, ct in emulate_execlist_ctx_schedule_out() 280 struct execlist_ctx_descriptor_format *ctx0, *ctx1; emulate_execlist_schedule_in() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | verifier_iterating_callbacks.c | 221 struct num_context ctx1 = { .i = 0 }; in bpf_loop_iter_limit_nested() local 225 bpf_loop(1, iter_limit_level1_cb, &ctx1, 0); in bpf_loop_iter_limit_nested() 227 a = ctx1.i; in bpf_loop_iter_limit_nested() 229 /* Force 'ctx1.i' and 'ctx2.i' precise. */ in bpf_loop_iter_limit_nested()
|
/kernel/linux/linux-5.10/arch/sparc/mm/ |
H A D | srmmu.c | 594 int cctx, ctx1; 597 if ((ctx1 = vma->vm_mm->context) != -1) { 600 if (cctx != ctx1) { 601 printk("flush ctx %02x curr %02x\n", ctx1, cctx); 602 srmmu_set_context(ctx1);
|
/kernel/linux/linux-6.6/arch/sparc/mm/ |
H A D | srmmu.c | 595 int cctx, ctx1; 598 if ((ctx1 = vma->vm_mm->context) != -1) { 601 if (cctx != ctx1) { 602 printk("flush ctx %02x curr %02x\n", ctx1, cctx); 603 srmmu_set_context(ctx1);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_int_process_v9.c | 118 #define KFD_CONTEXT_ID_GET_SQ_INT_DATA(ctx0, ctx1) \ 119 ((ctx0 & 0xfff) | ((ctx0 >> 16) & 0xf000) | ((ctx1 << 16) & 0xff0000))
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | internal.h | 307 static inline bool nfs_match_open_context(const struct nfs_open_context *ctx1, in nfs_match_open_context() argument 310 return cred_fscmp(ctx1->cred, ctx2->cred) == 0 && ctx1->state == ctx2->state; in nfs_match_open_context()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | internal.h | 309 static inline bool nfs_match_open_context(const struct nfs_open_context *ctx1, in nfs_match_open_context() argument 312 return cred_fscmp(ctx1->cred, ctx2->cred) == 0 && ctx1->state == ctx2->state; in nfs_match_open_context()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv04.c | 463 u32 tmp, ctx1; in nv04_gr_set_ctx_val() local 465 ctx1 = nvkm_rd32(device, 0x700000 + inst); in nv04_gr_set_ctx_val() 466 class = ctx1 & 0xff; in nv04_gr_set_ctx_val() 467 op = (ctx1 >> 15) & 7; in nv04_gr_set_ctx_val()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv04.c | 463 u32 tmp, ctx1; in nv04_gr_set_ctx_val() local 465 ctx1 = nvkm_rd32(device, 0x700000 + inst); in nv04_gr_set_ctx_val() 466 class = ctx1 & 0xff; in nv04_gr_set_ctx_val() 467 op = (ctx1 >> 15) & 7; in nv04_gr_set_ctx_val()
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
H A D | qla_os.c | 705 struct ct6_dsd *ctx1 = sp->u.scmd.ct6_ctx; in qla2x00_sp_free_dma() local 707 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx1->fcp_cmnd, in qla2x00_sp_free_dma() 708 ctx1->fcp_cmnd_dma); in qla2x00_sp_free_dma() 709 list_splice(&ctx1->dsd_list, &ha->gbl_dsd_list); in qla2x00_sp_free_dma() 710 ha->gbl_dsd_inuse -= ctx1->dsd_use_cnt; in qla2x00_sp_free_dma() 711 ha->gbl_dsd_avail += ctx1->dsd_use_cnt; in qla2x00_sp_free_dma() 712 mempool_free(ctx1, ha->ctx_mempool); in qla2x00_sp_free_dma() 788 struct ct6_dsd *ctx1 = sp->u.scmd.ct6_ctx; in qla2xxx_qpair_sp_free_dma() local 790 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx1->fcp_cmnd, in qla2xxx_qpair_sp_free_dma() 791 ctx1 in qla2xxx_qpair_sp_free_dma() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_os.c | 751 struct ct6_dsd *ctx1 = &sp->u.scmd.ct6_ctx; in qla2x00_sp_free_dma() local 753 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx1->fcp_cmnd, in qla2x00_sp_free_dma() 754 ctx1->fcp_cmnd_dma); in qla2x00_sp_free_dma() 755 list_splice(&ctx1->dsd_list, &sp->qpair->dsd_list); in qla2x00_sp_free_dma() 756 sp->qpair->dsd_inuse -= ctx1->dsd_use_cnt; in qla2x00_sp_free_dma() 757 sp->qpair->dsd_avail += ctx1->dsd_use_cnt; in qla2x00_sp_free_dma() 837 struct ct6_dsd *ctx1 = &sp->u.scmd.ct6_ctx; in qla2xxx_qpair_sp_free_dma() local 839 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx1->fcp_cmnd, in qla2xxx_qpair_sp_free_dma() 840 ctx1->fcp_cmnd_dma); in qla2xxx_qpair_sp_free_dma() 841 list_splice(&ctx1 in qla2xxx_qpair_sp_free_dma() [all...] |
/kernel/linux/linux-5.10/kernel/events/ |
H A D | core.c | 3353 static int context_equiv(struct perf_event_context *ctx1, in context_equiv() argument 3356 lockdep_assert_held(&ctx1->lock); in context_equiv() 3360 if (ctx1->pin_count || ctx2->pin_count) in context_equiv() 3363 /* If ctx1 is the parent of ctx2 */ in context_equiv() 3364 if (ctx1 == ctx2->parent_ctx && ctx1->generation == ctx2->parent_gen) in context_equiv() 3367 /* If ctx2 is the parent of ctx1 */ in context_equiv() 3368 if (ctx1->parent_ctx == ctx2 && ctx1->parent_gen == ctx2->generation) in context_equiv() 3372 * If ctx1 an in context_equiv() [all...] |
/kernel/linux/linux-6.6/kernel/events/ |
H A D | core.c | 3349 static int context_equiv(struct perf_event_context *ctx1, in context_equiv() argument 3352 lockdep_assert_held(&ctx1->lock); in context_equiv() 3356 if (ctx1->pin_count || ctx2->pin_count) in context_equiv() 3359 /* If ctx1 is the parent of ctx2 */ in context_equiv() 3360 if (ctx1 == ctx2->parent_ctx && ctx1->generation == ctx2->parent_gen) in context_equiv() 3363 /* If ctx2 is the parent of ctx1 */ in context_equiv() 3364 if (ctx1->parent_ctx == ctx2 && ctx1->parent_gen == ctx2->generation) in context_equiv() 3368 * If ctx1 an in context_equiv() [all...] |