Searched refs:thread_ctx (Results 1 – 10 of 10) sorted by relevance
| /optee_os/core/arch/arm/kernel/ |
| H A D | asm-defines.c | 33 DEFINE(THREAD_CTX_STACK_VA_END, offsetof(struct thread_ctx, 83 DEFINE(THREAD_CTX_KERN_SP, offsetof(struct thread_ctx, kern_sp)); 84 DEFINE(THREAD_CTX_STACK_VA_END, offsetof(struct thread_ctx, 87 DEFINE(THREAD_CTX_KEYS, offsetof(struct thread_ctx, keys)); 129 DEFINE(THREAD_CTX_SIZE, sizeof(struct thread_ctx)); 132 offsetof(struct thread_ctx, tsd.rpc_target_info)) 134 offsetof(struct thread_ctx, flags))
|
| H A D | thread.c | 125 struct thread_ctx *thr = threads + thread_get_id(); in thread_lazy_save_ns_vfp() 135 struct thread_ctx *thr = threads + thread_get_id(); in thread_lazy_restore_ns_vfp() 151 static void init_regs(struct thread_ctx *thread, uint32_t a0, uint32_t a1, in init_regs() 186 static void init_regs(struct thread_ctx *thread, uint32_t a0, uint32_t a1, in init_regs() 473 static void release_unused_kernel_stack(struct thread_ctx *thr, in release_unused_kernel_stack() 493 static void release_unused_kernel_stack(struct thread_ctx *thr __unused, in release_unused_kernel_stack() 782 struct thread_ctx *thr = threads + thread_get_id(); in thread_kernel_enable_vfp() 829 struct thread_ctx *thr = threads + thread_get_id(); in thread_kernel_save_vfp() 840 struct thread_ctx *thr = threads + thread_get_id(); in thread_kernel_restore_vfp() 854 struct thread_ctx *thr = threads + thread_get_id(); in thread_user_enable_vfp() [all …]
|
| H A D | thread_optee_smc.c | 135 static void clear_prealloc_rpc_cache(struct thread_ctx *thr) in clear_prealloc_rpc_cache() 146 struct thread_ctx *thr = threads + thread_get_id(); in call_entry_std() 464 struct thread_ctx *thr = threads + thread_get_id(); in get_rpc_arg()
|
| H A D | abort.c | 361 struct thread_ctx *tc __maybe_unused = NULL; in handle_user_mode_panic()
|
| H A D | thread_spmc.c | 2038 struct thread_ctx *thr = threads + thread_get_id(); in yielding_call_with_arg() 2139 struct thread_ctx *thr = threads + thread_get_id(); in get_rpc_arg()
|
| /optee_os/core/include/kernel/ |
| H A D | thread_private.h | 35 struct thread_ctx { struct 75 extern struct thread_ctx *threads; argument
|
| /optee_os/core/arch/riscv/kernel/ |
| H A D | asm-defines.c | 18 DEFINE(THREAD_CTX_KERN_SP, offsetof(struct thread_ctx, kern_sp)); 19 DEFINE(THREAD_CTX_STACK_VA_END, offsetof(struct thread_ctx, 21 DEFINE(THREAD_CTX_SIZE, sizeof(struct thread_ctx));
|
| H A D | thread_optee_abi.c | 136 static void clear_prealloc_rpc_cache(struct thread_ctx *thr) in clear_prealloc_rpc_cache() 147 struct thread_ctx *thr = threads + thread_get_id(); in call_entry_std() 465 struct thread_ctx *thr = threads + thread_get_id(); in get_rpc_arg()
|
| H A D | thread_arch.c | 193 static void init_regs(struct thread_ctx *thread, uint32_t a0, uint32_t a1, in init_regs()
|
| /optee_os/core/kernel/ |
| H A D | thread.c | 25 struct thread_ctx *threads; 32 static struct thread_ctx __threads[CFG_NUM_THREADS]; 33 struct thread_ctx *threads = __threads; 406 struct thread_ctx *thr; in thread_stack_start()
|