/frameworks/libs/binary_translation/guest_os_primitives/ |
D | guest_thread.cc | 55 const size_t kGuestThreadPageAlignedSize = AlignUpPageSize(sizeof(GuestThread)); 60 GuestThread* GuestThread::Create() { in Create() 72 GuestThread* thread = new (thread_storage) GuestThread; in Create() 89 GuestThread* GuestThread::CreateClone(const GuestThread* parent, bool share_signal_actions) { in CreateClone() 90 GuestThread* thread = Create(); in CreateClone() 118 GuestThread* GuestThread::CreatePthread(void* stack, size_t stack_size, size_t guard_size) { in CreatePthread() 119 GuestThread* thread = Create(); in CreatePthread() 151 GuestThread* GuestThread::CreateForTest(ThreadState* state) { in CreateForTest() 156 GuestThread* thread = new (thread_storage) GuestThread; in CreateForTest() 162 void GuestThread::Destroy(GuestThread* thread) { in Destroy() [all …]
|
D | guest_thread_manager.cc | 56 GuestThread* GetCurrentGuestThread() { in GetCurrentGuestThread() 61 void ResetCurrentGuestThreadAfterFork(GuestThread* thread) { in ResetCurrentGuestThreadAfterFork() 86 GuestThread* thread = g_guest_thread_map_.FindThread(tid); in GetGuestThreadAttr() 102 GuestThread* thread = g_guest_thread_map_.RemoveThread(tid); in ExitCurrentThread() 108 GuestThread::Exit(thread, status); in ExitCurrentThread() 123 g_guest_thread_map_.ForEachThread([current_tid](pid_t tid, GuestThread* thread) { in FlushGuestCodeCache() 153 GuestThread* AttachCurrentThread(bool register_dtor, bool* attached) { in AttachCurrentThread() 158 GuestThread* thread = g_guest_thread_map_.FindThread(tid); in AttachCurrentThread() 172 thread = GuestThread::CreatePthread(nullptr, stack_size, guard_size); in AttachCurrentThread() 189 void InsertCurrentThread(GuestThread* thread, bool register_dtor) { in InsertCurrentThread() [all …]
|
D | guest_thread_map.h | 30 void ResetThreadTable(pid_t tid, GuestThread* thread); 31 void InsertThread(pid_t tid, GuestThread* thread); 32 GuestThread* RemoveThread(pid_t tid); 33 GuestThread* FindThread(pid_t tid); 45 ForeverMap<pid_t, GuestThread*> map_;
|
D | guest_signal_handling.cc | 86 GuestThread* thread = AttachCurrentThread(false, &attached); in HandleHostSignal() 165 void GuestThread::SetDefaultSignalActionsTable() { in SetDefaultSignalActionsTable() 171 void GuestThread::CloneSignalActionsTableFrom(GuestSignalActionsTable* from_table) { in CloneSignalActionsTableFrom() 178 void GuestThread::SetSignalFromHost(const siginfo_t& host_info) { in SetSignalFromHost() 204 bool GuestThread::SigAltStack(const stack_t* ss, stack_t* old_ss, int* error) { in SigAltStack() 243 void GuestThread::SwitchToSigAltStack() { in SwitchToSigAltStack() 251 bool GuestThread::IsOnSigAltStack() const { in IsOnSigAltStack() 258 void GuestThread::ProcessPendingSignals() { in ProcessPendingSignals() 270 bool GuestThread::ProcessAndDisablePendingSignals() { in ProcessAndDisablePendingSignals() 286 bool GuestThread::TestAndEnablePendingSignals() { in TestAndEnablePendingSignals() [all …]
|
D | guest_thread_map.cc | 27 void GuestThreadMap::ResetThreadTable(pid_t tid, GuestThread* thread) { in ResetThreadTable() 33 void GuestThreadMap::InsertThread(pid_t tid, GuestThread* thread) { in InsertThread() 39 GuestThread* GuestThreadMap::RemoveThread(pid_t tid) { in RemoveThread() 43 GuestThread* thread = it->second; in RemoveThread() 48 GuestThread* GuestThreadMap::FindThread(pid_t tid) { in FindThread()
|
D | guest_thread_clone.cc | 49 GuestThread* thread; 56 GuestThread* thread = info->thread; in RunClonedGuestThread() 86 pid_t CloneGuestThread(GuestThread* thread, in CloneGuestThread() 121 info.thread = GuestThread::CreateClone(thread, (flags & CLONE_SIGHAND) != 0); in CloneGuestThread() 176 GuestThread::Destroy(info.thread); in CloneGuestThread()
|
D | guest_thread_manager_impl.h | 24 GuestThread* AttachCurrentThread(bool register_dtor, bool* attached); 26 void InsertCurrentThread(GuestThread* thread, bool register_dtor);
|
D | guest_thread_pthread_create.cc | 37 info.thread = GuestThread::CreatePthread(guest_stack, guest_stack_size, guest_guard_size); in CreateNewGuestThread() 56 GuestThread::Destroy(info.thread); in CreateNewGuestThread()
|
D | guest_thread_pthread_create.h | 29 GuestThread* thread;
|
D | guest_signal_handling_arch.cc | 33 void ProcessGuestSignal(GuestThread* thread, const Guest_sigaction* sa, Guest_siginfo_t* info) { in ProcessGuestSignal()
|
/frameworks/libs/binary_translation/guest_os_primitives/include/berberis/guest_os_primitives/ |
D | guest_thread.h | 42 pid_t CloneGuestThread(GuestThread* thread, 59 class GuestThread { 61 static GuestThread* CreatePthread(void* stack, size_t stack_size, size_t guard_size); 62 static GuestThread* CreateClone(const GuestThread* parent, bool share_signal_actions); 63 static GuestThread* CreateForTest(ThreadState* state); 64 static void Destroy(GuestThread* thread); 65 static void Exit(GuestThread* thread, int status); 110 GuestThread() = default; 111 static GuestThread* Create();
|
D | scoped_pending_signals.h | 29 explicit ScopedPendingSignalsEnabler(GuestThread* thread) : thread_(thread) { in ScopedPendingSignalsEnabler() 40 GuestThread* thread_; 49 explicit ScopedPendingSignalsDisabler(GuestThread* thread) : thread_(thread) { in ScopedPendingSignalsDisabler() 60 GuestThread* thread_;
|
D | guest_thread_manager.h | 26 GuestThread* GetCurrentGuestThread(); 28 void ResetCurrentGuestThreadAfterFork(GuestThread* thread);
|
D | guest_signal.h | 85 void ProcessGuestSignal(GuestThread* thread, const Guest_sigaction* sa, Guest_siginfo_t* info);
|
/frameworks/libs/binary_translation/instrument/include/berberis/instrument/ |
D | guest_thread.h | 26 class GuestThread; variable 29 void OnInsertGuestThread(pid_t tid, GuestThread* thread); 30 void OnRemoveGuestThread(pid_t tid, GuestThread* thread);
|
/frameworks/libs/binary_translation/guest_state/include/berberis/guest_state/ |
D | guest_state_opaque.h | 37 class GuestThread; variable 39 void SetGuestThread(ThreadState& state, GuestThread* thread); 40 GuestThread* GetGuestThread(const ThreadState& state);
|
/frameworks/libs/native_bridge_support/android_api/libc/proxy/ |
D | setjmp_thunks.cc | 48 GuestThread* thread = GetCurrentGuestThread(); in DoThunk_siglongjmp() 56 GuestThread* thread = GetCurrentGuestThread(); in DoThunk_sigsetjmp()
|
D | unistd_thunks.cc | 28 GuestThread* thread = GetCurrentGuestThread(); in DoThunk___clone_for_fork()
|
/frameworks/libs/binary_translation/instrument/ |
D | instrument.cc | 65 void OnInsertGuestThread([[maybe_unused]] pid_t tid, [[maybe_unused]] GuestThread* thread) {} in OnInsertGuestThread() 67 void OnRemoveGuestThread([[maybe_unused]] pid_t tid, [[maybe_unused]] GuestThread* thread) {} in OnRemoveGuestThread()
|
/frameworks/libs/binary_translation/guest_state/ |
D | guest_state.cc | 108 class GuestThread; 113 void SetGuestThread(ThreadState& state, GuestThread* thread) { in SetGuestThread() 117 GuestThread* GetGuestThread(const ThreadState& state) { in GetGuestThread()
|
/frameworks/libs/binary_translation/guest_state/arm/include/berberis/guest_state/ |
D | guest_state_arch.h | 33 GuestThread* thread;
|
/frameworks/libs/binary_translation/guest_state/arm64/include/berberis/guest_state/ |
D | guest_state_arch.h | 34 GuestThread* thread;
|
/frameworks/libs/binary_translation/runtime/ |
D | execute_guest_test.cc | 45 GuestThread* thread = GetCurrentGuestThread(); in TEST()
|
D | execute_guest.cc | 32 GuestThread* thread = GetGuestThread(*state); in ExecuteGuest()
|
D | run_guest_call_riscv64.cc | 67 GuestThread* thread = GetCurrentGuestThread(); in RunGuestCall()
|