Home
last modified time | relevance | path

Searched refs:ctx1 (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/
H A Dsm4_xts.c8 static int aes_xts128_encrypt(void *ctx1, void *ctx2, in aes_xts128_encrypt() argument
32 rk_sm4_crypt_ecb(ctx1, (const unsigned char*)scratch.c, scratch.c); in aes_xts128_encrypt()
34 rk_sm4_crypt_ecb(ctx1, (const unsigned char*)scratch.c, scratch.c); in aes_xts128_encrypt()
75 rk_sm4_crypt_ecb(ctx1, (const unsigned char*)scratch.c, scratch.c); in aes_xts128_encrypt()
107 rk_sm4_crypt_ecb(ctx1, (const unsigned char*)scratch.c, scratch.c); in aes_xts128_encrypt()
119 rk_sm4_crypt_ecb(ctx1, (const unsigned char*)scratch.c, scratch.c); in aes_xts128_encrypt()
138 sm4_context ctx1, ctx2; in rk_sm4_xts_encrypt() local
144 rk_sm4_setkey_enc(&ctx1, key); in rk_sm4_xts_encrypt()
146 rk_sm4_setkey_dec(&ctx1, key); in rk_sm4_xts_encrypt()
151 return aes_xts128_encrypt(&ctx1, &ctx2, ivec, in, out, length, enc); in rk_sm4_xts_encrypt()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/
H A Dexeclist.c188 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()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/valgrind/valgrind/
H A D0002-context-APIs-are-not-available-on-musl.patch67 mycontext ctx1, ctx2, oldc;
77 int c1 = init_context(&ctx1);
81 //free(ctx1.uc_stack.ss_sp);
/OK3568_Linux_fs/u-boot/arch/x86/cpu/i386/
H A Dinterrupt.c95 cs = regs->context.ctx1.xcs; in dump_regs()
96 eip = regs->context.ctx1.eip; in dump_regs()
97 eflags = regs->context.ctx1.eflags; in dump_regs()
/OK3568_Linux_fs/u-boot/arch/x86/include/asm/
H A Dptrace.h71 } ctx1; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv04.c463 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()
/OK3568_Linux_fs/kernel/arch/sparc/mm/
H A Dsrmmu.c594 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);
/OK3568_Linux_fs/kernel/fs/nfs/
H A Dinternal.h307 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()
/OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/
H A Dqla_os.c705 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->fcp_cmnd_dma); in qla2xxx_qpair_sp_free_dma()
[all …]
/OK3568_Linux_fs/kernel/kernel/events/
H A Dcore.c3278 static int context_equiv(struct perf_event_context *ctx1, in context_equiv() argument
3281 lockdep_assert_held(&ctx1->lock); in context_equiv()
3285 if (ctx1->pin_count || ctx2->pin_count) in context_equiv()
3289 if (ctx1 == ctx2->parent_ctx && ctx1->generation == ctx2->parent_gen) in context_equiv()
3293 if (ctx1->parent_ctx == ctx2 && ctx1->parent_gen == ctx2->generation) in context_equiv()
3300 if (ctx1->parent_ctx && ctx1->parent_ctx == ctx2->parent_ctx && in context_equiv()
3301 ctx1->parent_gen == ctx2->parent_gen) in context_equiv()