Searched refs:sp_ctx (Results 1 – 5 of 5) sorted by relevance
| /optee_os/core/arch/riscv/include/kernel/ |
| H A D | secure_partition.h | 14 struct sp_ctx { struct 31 static inline struct sp_ctx *to_sp_ctx(struct ts_ctx *ctx __unused) in to_sp_ctx() argument
|
| /optee_os/core/arch/arm/include/kernel/ |
| H A D | secure_partition.h | 41 struct sp_ctx { struct 69 static inline struct sp_ctx *to_sp_ctx(struct ts_ctx *ctx) in to_sp_ctx() 72 return container_of(ctx, struct sp_ctx, ts_ctx); in to_sp_ctx()
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | spmc_sp_handler.c | 168 struct sp_ctx *sp_ctx = NULL; in spmc_sp_add_sp_region() local 174 sp_ctx = to_sp_ctx(owner_sp->ts_sess.ctx); in spmc_sp_add_sp_region() 190 mobj = vm_get_mobj(&sp_ctx->uctx, va, &len, &prot, &offs); in spmc_sp_add_sp_region() 216 if (!sp_has_exclusive_access(region, &sp_ctx->uctx)) { in spmc_sp_add_sp_region() 604 struct sp_ctx *ctx = to_sp_ctx(s->ts_sess.ctx); in create_retrieve_response() 805 struct sp_ctx *ctx = to_sp_ctx(s->ts_sess.ctx); in zero_mem_region() 1138 struct sp_ctx *sp_ctx = NULL; in handle_mem_perm_get() local 1152 sp_ctx = to_sp_ctx(sp_s->ts_sess.ctx); in handle_mem_perm_get() 1153 if (!sp_ctx) in handle_mem_perm_get() 1158 res = vm_get_prot(&sp_ctx->uctx, args->a1, SMALL_PAGE_SIZE, &attrs); in handle_mem_perm_get() [all …]
|
| H A D | secure_partition.c | 224 struct sp_ctx *spc = NULL; in sp_create_ctx() 227 spc = calloc(1, sizeof(struct sp_ctx)); in sp_create_ctx() 309 static TEE_Result sp_init_set_registers(struct sp_ctx *ctx) in sp_init_set_registers() 326 struct sp_ctx *ctx = NULL; in sp_map_shared() 369 struct sp_ctx *ctx = to_sp_ctx(s->ts_sess.ctx); in sp_unmap_ffa_regions() 624 struct sp_ctx *ctx = NULL; in sp_open_session() 701 static TEE_Result copy_and_map_fdt(struct sp_ctx *ctx, const void * const fdt, in copy_and_map_fdt() 771 static TEE_Result create_and_map_boot_info(struct sp_ctx *ctx, const void *fdt, in create_and_map_boot_info() 841 static TEE_Result handle_fdt_load_relative_mem_regions(struct sp_ctx *ctx, in handle_fdt_load_relative_mem_regions() 986 static TEE_Result handle_fdt_dev_regions(struct sp_ctx *ctx, void *fdt) in handle_fdt_dev_regions() [all …]
|
| H A D | thread.c | 992 struct sp_ctx *spc = to_sp_ctx(s->ctx); in thread_get_pauth_keys()
|