Home
last modified time | relevance | path

Searched refs:curr_thread (Results 1 – 8 of 8) sorted by relevance

/optee_os/core/kernel/
H A Dthread.c335 int ct = l->curr_thread; in get_stackcheck_recursion_flag()
376 l->curr_thread = 0; in thread_init_boot_thread()
384 assert(l->curr_thread >= 0 && l->curr_thread < CFG_NUM_THREADS); in thread_clr_boot_thread()
385 assert(threads[l->curr_thread].state == THREAD_STATE_ACTIVE); in thread_clr_boot_thread()
386 threads[l->curr_thread].state = THREAD_STATE_FREE; in thread_clr_boot_thread()
387 l->curr_thread = THREAD_ID_INVALID; in thread_clr_boot_thread()
426 int ct = l->curr_thread; in get_stack_limits()
476 ret = (l->curr_thread != THREAD_ID_INVALID) && in thread_is_in_normal_mode()
490 short int ct = l->curr_thread; in thread_get_id_may_fail()
647 tcl[n].curr_thread = THREAD_ID_INVALID; in thread_init_thread_core_local()
[all …]
/optee_os/core/arch/riscv/kernel/
H A Dthread_arch.c237 assert(l->curr_thread == THREAD_ID_INVALID); in __thread_alloc_and_run()
254 l->curr_thread = n; in __thread_alloc_and_run()
323 int ct = l->curr_thread; in thread_get_saved_thread_sp()
343 assert(l->curr_thread == THREAD_ID_INVALID); in thread_resume_from_rpc()
357 l->curr_thread = n; in thread_resume_from_rpc()
398 int ct = l->curr_thread; in thread_state_free()
409 l->curr_thread = THREAD_ID_INVALID; in thread_state_free()
419 int ct = l->curr_thread; in thread_state_suspend()
451 l->curr_thread = THREAD_ID_INVALID; in thread_state_suspend()
H A Dasm-defines.c32 offsetof(struct thread_core_local, curr_thread));
/optee_os/core/arch/arm/kernel/
H A Dthread.c228 assert(l->curr_thread == THREAD_ID_INVALID); in __thread_alloc_and_run()
245 l->curr_thread = n; in __thread_alloc_and_run()
369 assert(l->curr_thread == THREAD_ID_INVALID); in thread_resume_from_rpc()
383 l->curr_thread = n; in thread_resume_from_rpc()
434 int ct = l->curr_thread; in thread_get_saved_thread_sp()
451 int ct = l->curr_thread; in thread_state_free()
465 l->curr_thread = THREAD_ID_INVALID; in thread_state_free()
502 int ct = l->curr_thread; in thread_state_suspend()
543 l->curr_thread = THREAD_ID_INVALID; in thread_state_suspend()
H A Dasm-defines.c145 offsetof(struct thread_core_local, curr_thread));
H A Dboot.c964 thread_get_core_local()->curr_thread = 0; in init_primary()
1034 thread_get_core_local()->curr_thread = -1; in boot_init_primary_late()
/optee_os/core/arch/riscv/include/kernel/
H A Dthread_arch.h39 short int curr_thread; member
/optee_os/core/arch/arm/include/kernel/
H A Dthread_arch.h58 short int curr_thread; member