HomeSort by relevance Sort by last modified time
    Searched refs:ThreadState (Results 1 - 25 of 110) sorted by null

1 2 3 4 5

  /external/compiler-rt/lib/tsan/rtl/
tsan_fd.h 42 void FdAcquire(ThreadState *thr, uptr pc, int fd);
43 void FdRelease(ThreadState *thr, uptr pc, int fd);
44 void FdAccess(ThreadState *thr, uptr pc, int fd);
45 void FdClose(ThreadState *thr, uptr pc, int fd, bool write = true);
46 void FdFileCreate(ThreadState *thr, uptr pc, int fd);
47 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd, bool write);
48 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd);
49 void FdEventCreate(ThreadState *thr, uptr pc, int fd);
50 void FdSignalCreate(ThreadState *thr, uptr pc, int fd);
51 void FdInotifyCreate(ThreadState *thr, uptr pc, int fd)
    [all...]
tsan_mman.h 24 void AllocatorThreadStart(ThreadState *thr);
25 void AllocatorThreadFinish(ThreadState *thr);
29 void *user_alloc(ThreadState *thr, uptr pc, uptr sz,
31 void *user_calloc(ThreadState *thr, uptr pc, uptr sz, uptr n);
33 void user_free(ThreadState *thr, uptr pc, void *p, bool signal = true);
34 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz);
35 void *user_alloc_aligned(ThreadState *thr, uptr pc, uptr sz, uptr align);
tsan_sync.h 49 void Init(ThreadState *thr, uptr pc, uptr addr, u64 uid);
50 void Reset(ThreadState *thr);
74 void AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz);
75 uptr FreeBlock(ThreadState *thr, uptr pc, uptr p);
76 bool FreeRange(ThreadState *thr, uptr pc, uptr p, uptr sz);
77 void ResetRange(ThreadState *thr, uptr pc, uptr p, uptr sz);
80 SyncVar* GetOrCreateAndLock(ThreadState *thr, uptr pc,
86 void OnThreadIdle(ThreadState *thr);
98 SyncVar* GetAndLock(ThreadState *thr, uptr pc, uptr addr, bool write_lock,
tsan_platform_mac.cc 70 // the ThreadState object. The main thread's ThreadState pointer is stored
74 static ThreadState *main_thread_state = nullptr;
76 ThreadState *cur_thread() {
77 ThreadState **fake_tls;
82 fake_tls = (ThreadState **)MemToShadow(thread_identity);
84 ThreadState *thr = (ThreadState *)SignalSafeGetOrAllocate(
85 (uptr *)fake_tls, sizeof(ThreadState));
91 // handler will try to access the unmapped ThreadState
    [all...]
tsan_interceptors.h 11 ScopedInterceptor(ThreadState *thr, const char *fname, uptr pc);
16 ThreadState *const thr_;
24 ThreadState *thr = cur_thread(); \
tsan_rtl.h 329 struct ThreadState {
338 // QUESTION: can we can squeeze this into ThreadState::Fast?
339 // E.g. ThreadState::Fast is a 44-bit, 32 are taken by synch_epoch and 12 are
407 explicit ThreadState(Context *ctx, int tid, int unique_id, u64 epoch,
415 ThreadState *cur_thread();
420 INLINE ThreadState *cur_thread() {
421 return reinterpret_cast<ThreadState *>(&cur_thread_placeholder);
431 ThreadState *thr;
558 void ObtainCurrentStack(ThreadState *thr, uptr toppc, StackTraceTy *stack) {
574 void ALWAYS_INLINE StatInc(ThreadState *thr, StatType typ, u64 n = 1)
    [all...]
tsan_mman.cc 70 void AllocatorThreadStart(ThreadState *thr) {
75 void AllocatorThreadFinish(ThreadState *thr) {
84 static void SignalUnsafeCall(ThreadState *thr, uptr pc) {
98 void *user_alloc(ThreadState *thr, uptr pc, uptr sz, uptr align, bool signal) {
111 void *user_calloc(ThreadState *thr, uptr pc, uptr size, uptr n) {
120 void user_free(ThreadState *thr, uptr pc, void *p, bool signal) {
128 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) {
137 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) {
145 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) {
171 ThreadState *thr = cur_thread()
    [all...]
tsan_fd.cc 50 static FdSync *allocsync(ThreadState *thr, uptr pc) {
63 static void unref(ThreadState *thr, uptr pc, FdSync *s) {
74 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) {
94 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s,
128 void FdOnFork(ThreadState *thr, uptr pc) {
160 void FdAcquire(ThreadState *thr, uptr pc, int fd) {
171 void FdRelease(ThreadState *thr, uptr pc, int fd) {
182 void FdAccess(ThreadState *thr, uptr pc, int fd) {
190 void FdClose(ThreadState *thr, uptr pc, int fd, bool write) {
218 void FdFileCreate(ThreadState *thr, uptr pc, int fd)
    [all...]
tsan_rtl_thread.cc 43 ThreadState *caller_thr = static_cast<ThreadState *>(arg);
49 ThreadState *thr;
76 ThreadState *thr1 = static_cast<ThreadState*>(arg);
81 ThreadState *thr;
95 new(thr) ThreadState(ctx, tid, unique_id, epoch0, reuse_count,
150 thr->~ThreadState();
197 static void ThreadCheckIgnore(ThreadState *thr) {
206 static void ThreadCheckIgnore(ThreadState *thr) {
    [all...]
tsan_symbolize.cc 26 ThreadState *thr = cur_thread();
33 ThreadState *thr = cur_thread();
tsan_sync.cc 20 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s);
27 void SyncVar::Init(ThreadState *thr, uptr pc, uptr addr, u64 uid) {
39 void SyncVar::Reset(ThreadState *thr) {
63 void MetaMap::AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz) {
74 uptr MetaMap::FreeBlock(ThreadState *thr, uptr pc, uptr p) {
83 bool MetaMap::FreeRange(ThreadState *thr, uptr pc, uptr p, uptr sz) {
122 void MetaMap::ResetRange(ThreadState *thr, uptr pc, uptr p, uptr sz) {
187 SyncVar* MetaMap::GetOrCreateAndLock(ThreadState *thr, uptr pc,
196 SyncVar* MetaMap::GetAndLock(ThreadState *thr, uptr pc,
282 void MetaMap::OnThreadIdle(ThreadState *thr)
    [all...]
tsan_rtl.cc 48 THREADLOCAL char cur_thread_placeholder[sizeof(ThreadState)] ALIGNED(64);
110 ThreadState::ThreadState(Context *ctx, int tid, int unique_id, u64 epoch,
308 void Initialize(ThreadState *thr) {
379 int Finalize(ThreadState *thr) {
430 void ForkBefore(ThreadState *thr, uptr pc) {
435 void ForkParentAfter(ThreadState *thr, uptr pc) {
440 void ForkChildAfter(ThreadState *thr, uptr pc) {
464 void GrowShadowStack(ThreadState *thr) {
477 u32 CurrentStackId(ThreadState *thr, uptr pc)
    [all...]
tsan_rtl_mutex.cc 26 void ReportDeadlock(ThreadState *thr, uptr pc, DDReport *r);
29 ThreadState *thr;
32 Callback(ThreadState *thr, uptr pc)
43 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) {
49 static void ReportMutexMisuse(ThreadState *thr, uptr pc, ReportType typ,
65 void MutexCreate(ThreadState *thr, uptr pc, uptr addr,
84 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr) {
143 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec, bool try_lock) {
188 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, bool all) {
231 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr, bool trylock)
    [all...]
  /external/v8/src/
v8threads.h 14 class ThreadState {
17 ThreadState* Next();
38 explicit ThreadState(ThreadManager* thread_manager);
39 ~ThreadState();
46 ThreadState* next_;
47 ThreadState* previous_;
90 ThreadState* FirstThreadStateInUse();
91 ThreadState* GetFreeThreadState();
97 void DeleteThreadStateList(ThreadState* anchor);
104 ThreadState* lazily_archived_thread_state_
    [all...]
v8threads.cc 110 lazily_archived_thread_state_->LinkInto(ThreadState::FREE_LIST);
132 ThreadState* state = per_thread->thread_state();
148 state->LinkInto(ThreadState::FREE_LIST);
177 ThreadState::ThreadState(ThreadManager* thread_manager)
187 ThreadState::~ThreadState() {
192 void ThreadState::AllocateSpace() {
197 void ThreadState::Unlink() {
203 void ThreadState::LinkInto(List list)
    [all...]
  /external/valgrind/coregrind/m_sigframe/
priv_sigframe.h 36 #include "pub_core_threadstate.h" // ThreadState
40 Bool ML_(sf_maybe_extend_stack)( const ThreadState *tst, Addr addr,
sigframe-common.c 57 Bool ML_(sf_maybe_extend_stack) ( const ThreadState *tst, Addr addr,
112 Bool ML_(sf_maybe_extend_stack) ( const ThreadState *tst, Addr addr,
  /external/compiler-rt/lib/tsan/go/
tsan_go.cc 74 static ThreadState *main_thr;
77 static ThreadState *AllocGoroutine() {
78 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex,
79 sizeof(ThreadState));
84 void __tsan_init(ThreadState **thrp, void (*cb)(SymbolizeContext *cb)) {
86 ThreadState *thr = AllocGoroutine();
94 ThreadState *thr = main_thr;
103 void __tsan_read(ThreadState *thr, void *addr, void *pc) {
107 void __tsan_read_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc)
    [all...]
  /art/runtime/
thread_state.h 24 enum ThreadState {
52 std::ostream& operator<<(std::ostream& os, const ThreadState& rhs);
thread-inl.h 77 inline ThreadState Thread::SetState(ThreadState new_state) {
93 return static_cast<ThreadState>(old_state_and_flags.as_struct.state);
121 inline void Thread::TransitionToSuspendedAndRunCheckpoints(ThreadState new_state) {
161 inline void Thread::TransitionFromRunnableToSuspended(ThreadState new_state) {
172 inline ThreadState Thread::TransitionFromSuspendedToRunnable() {
176 DCHECK_NE(static_cast<ThreadState>(old_state), kRunnable);
221 return static_cast<ThreadState>(old_state);
  /frameworks/native/include/binder/
BufferedTextOutput.h 49 struct ThreadState;
51 static ThreadState*getThreadState();
  /frameworks/base/libs/hwui/debug/
nullegl.cpp 29 } ThreadState;
42 ThreadState* getThreadState() {
43 ThreadState* ptr;
45 if ((ptr = (ThreadState*) pthread_getspecific(ThreadStateKey)) == NULL) {
46 ptr = (ThreadState*) calloc(1, sizeof(ThreadState));
129 ThreadState* state = getThreadState();
  /external/valgrind/coregrind/m_gdbserver/
target.h 215 extern Bool valgrind_get_tls_addr (ThreadState *tst,
231 extern VexGuestArchState* get_arch (int set, ThreadState* tst);
  /external/compiler-rt/lib/tsan/tests/unit/
tsan_mman_test.cc 38 ThreadState *thr = cur_thread();
52 ThreadState *thr = cur_thread();
97 ThreadState *thr = cur_thread();
110 ThreadState *thr = cur_thread();
144 ThreadState *thr = cur_thread();
  /frameworks/native/libs/binder/
BufferedTextOutput.cpp 85 struct BufferedTextOutput::ThreadState
94 BufferedTextOutput::ThreadState* BufferedTextOutput::getThreadState()
96 ThreadState* ts = (ThreadState*) thread_store_get( &tls );
98 ts = new ThreadState;
105 delete ((ThreadState*)st);
267 ThreadState* ts = getThreadState();

Completed in 246 milliseconds

1 2 3 4 5