Home
last modified time | relevance | path

Searched refs:threads (Results 1 – 12 of 12) sorted by relevance

/optee_os-3.20.0/core/arch/arm/kernel/
A Dthread.c246 threads[n].flags = 0; in __thread_alloc_and_run()
253 threads[n].regs.apiakey_hi = threads[n].keys.apia_hi; in __thread_alloc_and_run()
254 threads[n].regs.apiakey_lo = threads[n].keys.apia_lo; in __thread_alloc_and_run()
260 thread_resume(&threads[n].regs); in __thread_alloc_and_run()
384 if (threads[n].have_user_map) { in thread_resume_from_rpc()
404 if (threads[n].have_user_map) in thread_resume_from_rpc()
420 return threads[ct].kern_sp; in thread_get_saved_thread_sp()
447 threads[ct].flags = 0; in thread_state_free()
506 threads[ct].flags |= flags; in thread_state_suspend()
507 threads[ct].regs.cpsr = cpsr; in thread_state_suspend()
[all …]
A Dthread_optee_smc.c147 struct thread_ctx *thr = threads + thread_get_id(); in call_entry_std()
314 if (threads[n].state != THREAD_STATE_FREE) { in thread_disable_prealloc_rpc_cache()
324 if (threads[n].rpc_arg) { in thread_disable_prealloc_rpc_cache()
325 *cookie = mobj_get_cookie(threads[n].rpc_mobj); in thread_disable_prealloc_rpc_cache()
326 mobj_put(threads[n].rpc_mobj); in thread_disable_prealloc_rpc_cache()
327 threads[n].rpc_arg = NULL; in thread_disable_prealloc_rpc_cache()
328 threads[n].rpc_mobj = NULL; in thread_disable_prealloc_rpc_cache()
355 if (threads[n].state != THREAD_STATE_FREE) { in thread_enable_prealloc_rpc_cache()
465 struct thread_ctx *thr = threads + thread_get_id(); in get_rpc_arg()
A Dthread_spmc_a32.S126 ldr r2, =threads
A Dthread_spmc_a64.S178 adr_l x2, threads
A Dentry_a64.S334 adr_l x0, threads
A Dabort.c370 tc = threads + thread_get_id(); in handle_user_mode_panic()
A Dthread_spmc.c1019 struct thread_ctx *thr = threads + thread_get_id(); in yielding_call_with_arg()
1119 struct thread_ctx *thr = threads + thread_get_id(); in get_rpc_arg()
A Dentry_a32.S554 ldr r0, =threads
A Dthread_a64.S20 adr_l x\res, threads
/optee_os-3.20.0/core/kernel/
A Dthread.c19 struct thread_ctx threads[CFG_NUM_THREADS]; variable
188 end = threads[n].stack_va_end; in print_stack_limits()
261 threads[0].state = THREAD_STATE_ACTIVE; in thread_init_boot_thread()
295 thr = threads + ct; in thread_stack_start()
330 *end = threads[ct].stack_va_end; in get_stack_limits()
454 TAILQ_INIT(&threads[n].tsd.sess_stack); in thread_init_threads()
487 if (crypto_rng_read(&threads[n].keys, sizeof(threads[n].keys))) in thread_init_thread_pauth_keys()
504 return &threads[thread_get_id()].tsd; in thread_get_tsd()
512 return &threads[l->curr_thread].regs; in thread_get_ctx_regs()
526 threads[l->curr_thread].flags |= in thread_set_foreign_intr()
[all …]
/optee_os-3.20.0/core/include/kernel/
A Dthread_private.h75 extern struct thread_ctx threads[];
/optee_os-3.20.0/core/arch/arm/plat-k3/drivers/
A Dsec_proxy.c32 enum threads { enum

Completed in 18 milliseconds