Home
last modified time | relevance | path

Searched refs:thread_get_id (Results 1 – 16 of 16) sorted by relevance

/optee_os/core/kernel/
H A Dmutex_lockdep.c39 short int thread = thread_get_id(); in mutex_lock_check()
49 short int thread = thread_get_id(); in mutex_trylock_check()
59 short int thread = thread_get_id(); in mutex_unlock_check()
H A Dtee_ta_manager.c78 if (tee_ta_single_instance_thread != thread_get_id()) { in lock_single_instance()
83 tee_ta_single_instance_thread = thread_get_id(); in lock_single_instance()
93 assert(tee_ta_single_instance_thread == thread_get_id()); in unlock_single_instance()
106 return tee_ta_single_instance_thread == thread_get_id(); in has_single_instance_lock()
201 if (s->lock_thread == thread_get_id()) { in tee_ta_put_session()
259 assert(s->lock_thread != thread_get_id()); in tee_ta_get_session()
270 s->lock_thread = thread_get_id(); in tee_ta_get_session()
284 assert(s->lock_thread == thread_get_id()); in tee_ta_unlink_session()
H A Dmutex.c73 short int ct = thread_get_id(); in __mutex_lock_recursive()
116 assert(m->owner == thread_get_id()); in __mutex_unlock_recursive()
341 assert(m->owner == thread_get_id()); in mutex_get_recursive_lock_depth()
H A Dwait_queue.c66 wqe->handle = thread_get_id(); in wq_wait_init_condvar()
H A Dthread.c496 short int __noprof thread_get_id(void) in thread_get_id() function
692 return &threads[thread_get_id()].tsd; in thread_get_tsd()
780 struct thread_shm_cache *cache = &threads[thread_get_id()].shm_cache; in get_shm_cache_entry()
/optee_os/core/drivers/scmi-msg/
H A Dentry.c133 scmi_entry_smt(channel_id, threaded_payload[thread_get_id()]); in scmi_smt_threaded_entry()
145 threaded_payload[thread_get_id()]); in scmi_msg_threaded_entry()
/optee_os/core/arch/arm/kernel/
H A Dthread.c125 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()
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()
883 struct thread_ctx *thr = threads + thread_get_id(); in thread_user_save_vfp()
898 struct thread_ctx *thr = threads + thread_get_id(); in thread_user_clear_vfp()
H A Dthread_optee_smc.c146 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 Dabort.c382 tc = threads + thread_get_id(); in handle_user_mode_panic()
H A Dthread_spmc.c2038 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()
H A Dsecure_partition.c1816 sp_s->thread_id = thread_get_id(); in sp_enter_invoke_cmd()
/optee_os/core/include/kernel/
H A Dthread.h111 short int thread_get_id(void);
/optee_os/core/arch/riscv/kernel/
H A Dthread_optee_abi.c147 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()
/optee_os/core/arch/arm/mm/
H A Dcore_mmu_v7.c268 return (vaddr_t)prtn->ul1_tables[thread_get_id()]; in core_mmu_get_ul1_ttb_va()
H A Dcore_mmu_lpae.c1253 void *tbl = get_l2_ta_tables(get_prtn(), thread_get_id()); in core_mmu_get_user_pgdir()
/optee_os/core/arch/riscv/mm/
H A Dcore_mmu_arch.c297 return &prtn->user_pgts[thread_get_id()]; in core_mmu_get_ta_pgt_va()