Searched refs:spc (Results 1 – 2 of 2) sorted by relevance
84 spc = calloc(1, sizeof(*spc)); in stmm_alloc_ctx()85 if (!spc) in stmm_alloc_ctx()93 res = vm_info_init(&spc->uctx, &spc->ta_ctx.ts_ctx); in stmm_alloc_ctx()95 free(spc); in stmm_alloc_ctx()102 return spc; in stmm_alloc_ctx()147 spc->regs.sp = sp; in init_stmm_regs()338 if (!spc) in stmm_init_session()354 spc->ta_ctx.ts_ctx.ops->destroy(&spc->ta_ctx.ts_ctx); in stmm_init_session()430 spc->regs.x[3] = spc->ns_comm_buf_addr; in stmm_enter_invoke_cmd()440 spc->regs.r3 = spc->ns_comm_buf_addr; in stmm_enter_invoke_cmd()[all …]
191 struct sp_ctx *spc = NULL; in sp_create_ctx() local194 spc = calloc(1, sizeof(struct sp_ctx)); in sp_create_ctx()195 if (!spc) in sp_create_ctx()198 spc->open_session = s; in sp_create_ctx()199 s->ts_sess.ctx = &spc->ts_ctx; in sp_create_ctx()200 spc->ts_ctx.uuid = *uuid; in sp_create_ctx()202 res = vm_info_init(&spc->uctx, &spc->ts_ctx); in sp_create_ctx()206 set_sp_ctx_ops(&spc->ts_ctx); in sp_create_ctx()211 free(spc); in sp_create_ctx()
Completed in 6 milliseconds