| /base/tee/tee_os_kernel/kernel/include/object/ |
| D | thread.h | 36 struct thread { struct 37 struct list_head node; // link threads in a same cap_group argument 38 struct list_head ready_queue_node; // link threads in a ready queue argument 40 notification_queue_node; // link threads in a notification waiting queue argument 41 struct thread_ctx *thread_ctx; // thread control block argument 49 struct thread *prev_thread; argument 59 /* Record the thread cap for quick thread recycle. */ argument 71 extern struct thread *current_threads[PLAT_CPU_NUM]; argument
|
| /base/tee/tee_os_kernel/kernel/arch/aarch64/sched/ |
| D | context.c | 18 void init_thread_ctx(struct thread *thread, vaddr_t stack, vaddr_t func, in init_thread_ctx() 47 vaddr_t arch_get_thread_stack(struct thread *thread) in arch_get_thread_stack() 52 void arch_set_thread_stack(struct thread *thread, vaddr_t stack) in arch_set_thread_stack() 57 void arch_set_thread_return(struct thread *thread, unsigned long ret) in arch_set_thread_return() 62 void arch_set_thread_next_ip(struct thread *thread, vaddr_t ip) in arch_set_thread_next_ip() 70 u64 arch_get_thread_next_ip(struct thread *thread) in arch_get_thread_next_ip() 76 void arch_set_thread_arg0(struct thread *thread, unsigned long arg) in arch_set_thread_arg0() 82 void arch_set_thread_arg1(struct thread *thread, unsigned long arg) in arch_set_thread_arg1() 87 void arch_set_thread_arg2(struct thread *thread, unsigned long arg) in arch_set_thread_arg2() 92 void arch_set_thread_arg3(struct thread *thread, unsigned long arg) in arch_set_thread_arg3() [all …]
|
| D | fpu.c | 47 void save_fpu_state(struct thread *thread) in save_fpu_state() 88 void restore_fpu_state(struct thread *thread) in restore_fpu_state() 209 void save_and_release_fpu(struct thread *thread) in save_and_release_fpu()
|
| /base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/ |
| D | hc_thread.c | 31 HcThread* thread = (HcThread*)args; in StaticThreadFunc() local 56 int Start(struct HcThreadT *thread) in Start() 88 void Join(struct HcThreadT *thread) in Join() 100 void BizNotify(struct HcThreadT *thread) in BizNotify() 108 void BizWait(struct HcThreadT *thread) in BizWait() 116 int32_t InitThread(HcThread *thread, ThreadFunc func, size_t stackSize, const char *threadName) in InitThread() 154 void DestroyThread(HcThread *thread) in DestroyThread()
|
| /base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/ |
| D | hc_thread.c | 27 HcThread *thread = (HcThread*)args; in StaticThreadFunc() local 49 int Start(struct HcThreadT *thread) in Start() 81 void Join(struct HcThreadT *thread) in Join() 99 void BizWait(struct HcThreadT *thread) in BizWait() 107 void BizNotify(struct HcThreadT *thread) in BizNotify() 115 int32_t InitThread(HcThread *thread, ThreadFunc func, size_t stackSize, const char *threadName) in InitThread() 154 void DestroyThread(HcThread *thread) in DestroyThread()
|
| /base/security/device_auth/deps_adapter/os_adapter/impl/src/ |
| D | hc_task_thread.c | 40 static void PushTask(struct HcTaskThreadT* thread, HcTaskBase* task) in PushTask() 54 static void Clear(struct HcTaskThreadT* thread) in Clear() 69 static void StopAndClear(struct HcTaskThreadT* thread) in StopAndClear() 80 static int32_t StartTaskThread(struct HcTaskThreadT* thread) in StartTaskThread() 97 HcTaskThread* thread = (HcTaskThread*)args; in TaskThreadLoop() local 124 int32_t InitHcTaskThread(HcTaskThread* thread, size_t stackSize, const char* threadName) in InitHcTaskThread() 147 void DestroyHcTaskThread(HcTaskThread* thread) in DestroyHcTaskThread()
|
| /base/telephony/core_service/test/mock/ffrt/inner_api/cpp/ |
| D | thread.h | 23 thread() noexcept in thread() function 28 explicit thread(const char *name, qos qos_, Fn &&fn, Args &&...args) in thread() function 34 explicit thread(qos qos_, Fn &&fn, Args &&...args) in thread() function 42 explicit thread(Fn &&fn, Args &&...args) in thread() function 49 thread(thread &&th) noexcept in thread() function
|
| /base/tee/tee_os_kernel/kernel/sched/ |
| D | policy_rr.c | 42 int __rr_sched_enqueue(struct thread *thread, int cpuid) in __rr_sched_enqueue() 97 int rr_sched_enqueue(struct thread *thread) in rr_sched_enqueue() 126 int __rr_sched_dequeue(struct thread *thread) in __rr_sched_dequeue() 142 int rr_sched_dequeue(struct thread *thread) in rr_sched_dequeue() 165 struct thread *thread = NULL; in rr_sched_choose_thread() local 290 struct thread *thread; in rr_top() local
|
| D | sched.c | 78 int get_cpubind(struct thread *thread) in get_cpubind() 121 struct thread *thread; in find_runnable_thread() local 134 void print_thread(struct thread *thread) in print_thread() 375 void wait_for_kernel_stack(struct thread *thread) in wait_for_kernel_stack()
|
| D | policy_pbrr.c | 129 int pbrr_sched_enqueue(struct thread *thread) in pbrr_sched_enqueue() 173 static void __pbrr_sched_dequeue(struct thread *thread) in __pbrr_sched_dequeue() 191 static int pbrr_sched_dequeue(struct thread *thread) in pbrr_sched_dequeue() 199 struct thread *thread; in pbrr_sched_choose_thread() local
|
| D | context.c | 104 void destroy_thread_ctx(struct thread *thread) in destroy_thread_ctx()
|
| /base/hiviewdfx/faultloggerd/tools/process_dump/ |
| D | other_thread_dump_info.cpp | 35 for (const auto &thread : process.GetOtherThreads()) { in UnwindStack() local 70 for (const auto &thread : process.GetOtherThreads()) { in Print() local 79 for (const auto &thread : process.GetOtherThreads()) { in Symbolize() local
|
| D | key_thread_dump_info.cpp | 83 auto thread = process.GetKeyThread(); in Symbolize() local 95 auto thread = process.GetKeyThread(); in Print() local 139 auto thread = process.GetKeyThread(); in GetKeyThreadStack() local 161 void KeyThreadDumpInfo::UnwindThreadByParseStackIfNeed(std::shared_ptr<DfxThread> thread, std::shar… in UnwindThreadByParseStackIfNeed()
|
| D | dfx_process.cpp | 97 auto thread = DfxThread::Create(processInfo_.pid, tids[i], nstids[i]); in InitOtherThreads() local 153 for (auto& thread : otherThreads_) { in Attach() local 168 for (const auto& thread : otherThreads_) { in Detach() local
|
| D | submitter_stack.cpp | 36 auto thread = process.GetKeyThread(); in Print() local
|
| D | maps.cpp | 66 for (const auto& thread : threads) { in SimplifyVma() local
|
| /base/tee/tee_os_kernel/kernel/object/ |
| D | thread.c | 35 static int thread_init(struct thread *thread, struct cap_group *cap_group, in thread_init() 70 struct thread *thread; in thread_deinit() local 105 void switch_thread_vmspace_to(struct thread *thread) in switch_thread_vmspace_to() 136 struct thread *thread; in create_root_thread() local 323 struct thread *thread; in create_thread() local 498 struct thread *thread; in sys_set_affinity() local 522 struct thread *thread; in sys_get_affinity() local 545 struct thread *thread; in sys_get_thread_id() local 567 struct thread *thread; in sys_terminate_thread() local
|
| D | recycle.c | 132 struct thread *thread; in sys_exit_group() local 173 struct thread *thread; in sys_kill_group() local 375 struct thread *thread; in stop_ipc_registration() local 440 struct thread *thread; in sys_cap_group_recycle() local
|
| /base/update/updater/services/applypatch/ |
| D | update_progress.cpp | 43 void SetProgressExitFlag(pthread_t &thread) in SetProgressExitFlag() 75 int CreateProgressThread(Uscript::UScriptEnv *env, pthread_t &thread) in CreateProgressThread()
|
| /base/tee/tee_os_kernel/kernel/irq/ |
| D | timer.c | 181 int enqueue_sleeper(struct thread *thread, const struct timespec *timeout, in enqueue_sleeper() 229 bool try_dequeue_sleeper(struct thread *thread) in try_dequeue_sleeper() 256 static void sleep_timer_cb(struct thread *thread) in sleep_timer_cb()
|
| /base/tee/tee_os_kernel/kernel/include/sched/ |
| D | sched.h | 123 static inline int sched_enqueue(struct thread *thread) in sched_enqueue() 128 static inline int sched_dequeue(struct thread *thread) in sched_dequeue()
|
| /base/tee/tee_os_kernel/kernel/ipc/ |
| D | notification.c | 66 static void notific_timer_cb(struct thread *thread) in notific_timer_cb() 103 struct thread *thread; in wait_notific() local
|
| /base/notification/eventhandler/frameworks/eventhandler/src/ |
| D | event_runner.cpp | 109 bool Deposit(std::unique_ptr<std::thread> &thread, const ExitFunction &threadExit) in Deposit() 138 std::unique_ptr<std::thread> thread; member 432 inline bool Attach(std::unique_ptr<std::thread> &thread) in Attach() 623 auto thread = in Create() local 682 auto thread = in StartRunningForNoWait() local
|
| /base/update/updater/test/unittest/applypatch_test/ |
| D | update_progress_unittest.cpp | 62 pthread_t thread; variable
|
| /base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/ |
| D | backtrace_local.cpp | 51 BacktraceLocalThread thread(tid); in GetBacktraceFramesByTid() local 143 BacktraceLocalThread thread(tid, includeThreadInfo); in GetProcessStacktrace() local
|