Home
last modified time | relevance | path

Searched refs:thr (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/arch/arm/kernel/
A Dthread.c126 thr->vfp_state.ns_saved = false; in thread_lazy_save_ns_vfp()
137 assert(!thr->vfp_state.sec_lazy_saved && !thr->vfp_state.sec_saved); in thread_lazy_restore_ns_vfp()
144 vfp_lazy_restore_state(&thr->vfp_state.ns, thr->vfp_state.ns_saved); in thread_lazy_restore_ns_vfp()
145 thr->vfp_state.ns_saved = false; in thread_lazy_restore_ns_vfp()
466 vaddr_t sp = is_from_user(cpsr) ? thr->kern_sp : thr->regs.sp; in release_unused_kernel_stack()
468 vaddr_t sp = thr->regs.svc_sp; in release_unused_kernel_stack()
787 if (!thr->vfp_state.ns_saved) { in thread_kernel_enable_vfp()
790 thr->vfp_state.ns_saved = true; in thread_kernel_enable_vfp()
860 if (!thr->vfp_state.ns_saved) { in thread_user_enable_vfp()
877 thr->vfp_state.uvfp = uvfp; in thread_user_enable_vfp()
[all …]
A Dthread_optee_smc.c139 mobj_put(thr->rpc_mobj); in clear_prealloc_rpc_cache()
140 thr->rpc_arg = NULL; in clear_prealloc_rpc_cache()
141 thr->rpc_mobj = NULL; in clear_prealloc_rpc_cache()
162 clear_prealloc_rpc_cache(thr); in call_entry_std()
163 thr->rpc_arg = rpc_arg; in call_entry_std()
171 thread_rpc_shm_cache_clear(&thr->shm_cache); in call_entry_std()
173 thr->rpc_arg = NULL; in call_entry_std()
177 clear_prealloc_rpc_cache(thr); in call_entry_std()
466 struct optee_msg_arg *arg = thr->rpc_arg; in get_rpc_arg()
484 thr->rpc_arg = arg; in get_rpc_arg()
[all …]
A Dthread_spmc.c1019 struct thread_ctx *thr = threads + thread_get_id(); in yielding_call_with_arg() local
1047 thr->rpc_arg = mobj_get_va(mobj, offset + sz, sz_rpc); in yielding_call_with_arg()
1048 if (!thr->rpc_arg) in yielding_call_with_arg()
1053 thread_rpc_shm_cache_clear(&thr->shm_cache); in yielding_call_with_arg()
1054 thr->rpc_arg = NULL; in yielding_call_with_arg()
1119 struct thread_ctx *thr = threads + thread_get_id(); in get_rpc_arg() local
1120 struct optee_msg_arg *arg = thr->rpc_arg; in get_rpc_arg()
/optee_os-3.20.0/core/kernel/
A Dthread.c289 struct thread_ctx *thr; in thread_stack_start() local
295 thr = threads + ct; in thread_stack_start()
296 return thr->stack_va_end - STACK_THREAD_SIZE; in thread_stack_start()

Completed in 11 milliseconds