| /linux/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 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() 223 } else if ((!valid_context(ctx1) && same_context(ctx0, ctx)) in emulate_execlist_ctx_schedule_out() 224 || (valid_context(ctx1) && same_context(ctx1, ctx))) { in emulate_execlist_ctx_schedule_out() 280 struct execlist_ctx_descriptor_format *ctx0, *ctx1; in emulate_execlist_schedule_in() local 326 ctx1 = &running->ctx[1]; in emulate_execlist_schedule_in() 329 running->index, ctx0->context_id, ctx1->context_id); in emulate_execlist_schedule_in() 339 if ((valid_context(ctx1) && same_context(ctx1, &slot->ctx[0]) && in emulate_execlist_schedule_in() 342 (!valid_context(ctx1) && in emulate_execlist_schedule_in()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_global_func_ctx_args.c | 135 __weak int subprog_multi_ctx_tags(void *ctx1 __arg_ctx, in subprog_multi_ctx_tags() 142 return bpf_get_stack(ctx1, stack, sizeof(stack), 0) + in subprog_multi_ctx_tags()
|
| H A D | verifier_iterating_callbacks.c | 219 struct num_context ctx1 = { .i = 0 }; in bpf_loop_iter_limit_nested() local 223 bpf_loop(1, iter_limit_level1_cb, &ctx1, 0); in bpf_loop_iter_limit_nested() 225 a = ctx1.i; in bpf_loop_iter_limit_nested() 227 /* Force 'ctx1.i' and 'ctx2.i' precise. */ in bpf_loop_iter_limit_nested()
|
| /linux/arch/riscv/crypto/ |
| H A D | aes-riscv64-glue.c | 340 struct crypto_aes_ctx ctx1; member 350 riscv64_aes_setkey(&ctx->ctx1, key, keylen / 2) ?: in riscv64_aes_xts_setkey() 407 &ctx->ctx1, walk.src.virt.addr, in riscv64_aes_xts_crypt() 411 &ctx->ctx1, walk.src.virt.addr, in riscv64_aes_xts_crypt() 436 &ctx->ctx1, walk.src.virt.addr, in riscv64_aes_xts_crypt() 440 &ctx->ctx1, walk.src.virt.addr, in riscv64_aes_xts_crypt()
|
| /linux/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()
|
| /linux/arch/sparc/mm/ |
| H A D | srmmu.c | 587 int cctx, ctx1; 590 if ((ctx1 = vma->vm_mm->context) != -1) { 593 if (cctx != ctx1) { 594 printk("flush ctx %02x curr %02x\n", ctx1, cctx); 595 srmmu_set_context(ctx1);
|
| /linux/fs/nfs/ |
| H A D | internal.h | 317 static inline bool nfs_match_open_context(const struct nfs_open_context *ctx1, in nfs_match_open_context() argument 320 return cred_fscmp(ctx1->cred, ctx2->cred) == 0 && ctx1->state == ctx2->state; in nfs_match_open_context()
|
| /linux/io_uring/ |
| H A D | rsrc.c | 1156 static void lock_two_rings(struct io_ring_ctx *ctx1, struct io_ring_ctx *ctx2) in lock_two_rings() 1158 if (ctx1 > ctx2) in lock_two_rings() 1159 swap(ctx1, ctx2); in lock_two_rings() 1160 mutex_lock(&ctx1->uring_lock); in lock_two_rings() 1155 lock_two_rings(struct io_ring_ctx * ctx1,struct io_ring_ctx * ctx2) lock_two_rings() argument
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_os.c | 740 struct ct6_dsd *ctx1 = &sp->u.scmd.ct6_ctx; in qla2x00_sp_free_dma() local 742 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx1->fcp_cmnd, in qla2x00_sp_free_dma() 743 ctx1->fcp_cmnd_dma); in qla2x00_sp_free_dma() 744 list_splice(&ctx1->dsd_list, &sp->qpair->dsd_list); in qla2x00_sp_free_dma() 745 sp->qpair->dsd_inuse -= ctx1->dsd_use_cnt; in qla2x00_sp_free_dma() 746 sp->qpair->dsd_avail += ctx1->dsd_use_cnt; in qla2x00_sp_free_dma() 826 struct ct6_dsd *ctx1 = &sp->u.scmd.ct6_ctx; in qla2xxx_qpair_sp_free_dma() local 828 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx1->fcp_cmnd, in qla2xxx_qpair_sp_free_dma() 829 ctx1->fcp_cmnd_dma); in qla2xxx_qpair_sp_free_dma() 830 list_splice(&ctx1->dsd_list, &sp->qpair->dsd_list); in qla2xxx_qpair_sp_free_dma() [all …]
|
| /linux/kernel/events/ |
| H A D | core.c | 3550 static int context_equiv(struct perf_event_context *ctx1, in context_equiv() argument 3553 lockdep_assert_held(&ctx1->lock); in context_equiv() 3557 if (ctx1->pin_count || ctx2->pin_count) in context_equiv() 3561 if (ctx1 == ctx2->parent_ctx && ctx1->generation == ctx2->parent_gen) in context_equiv() 3565 if (ctx1->parent_ctx == ctx2 && ctx1->parent_gen == ctx2->generation) in context_equiv() 3572 if (ctx1->parent_ctx && ctx1->parent_ctx == ctx2->parent_ctx && in context_equiv() 3573 ctx1->parent_gen == ctx2->parent_gen) in context_equiv()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | reg_bounds.c | 1197 const char *ctx1, const char *ctx2) in assert_range_eq() argument 1204 snappendf(sb, "MISMATCH %s.%s: ", ctx1, ctx2); in assert_range_eq()
|