Home
last modified time | relevance | path

Searched defs:thr (Results 1 – 25 of 201) sorted by relevance

123456789

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/go/
H A Dtsan_go.cc135 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, in AllocGoroutine() local
144 ThreadState *thr = AllocGoroutine(); in __tsan_init() local
153 ThreadState *thr = main_thr; in __tsan_fini() local
162 void __tsan_read(ThreadState *thr, void *addr, void *pc) { in __tsan_read()
166 void __tsan_read_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_read_pc()
174 void __tsan_write(ThreadState *thr, void *addr, void *pc) { in __tsan_write()
178 void __tsan_write_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_write_pc()
186 void __tsan_read_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_read_range()
190 void __tsan_write_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_write_range()
194 void __tsan_func_enter(ThreadState *thr, void *pc) { in __tsan_func_enter()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_rtl_mutex.cpp28 ThreadState *thr; member
42 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) { in DDMutexInit()
48 static void ReportMutexMisuse(ThreadState *thr, uptr pc, ReportType typ, in ReportMutexMisuse()
66 void MutexCreate(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexCreate()
82 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexDestroy()
140 void MutexPreLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexPreLock()
157 void MutexPostLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz, int rec) { in MutexPostLock()
212 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexUnlock()
255 void MutexPreReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexPreReadLock()
270 void MutexPostReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexPostReadLock()
[all …]
H A Dtsan_mman.cpp83 ThreadState *thr = cur_thread(); in ScopedGlobalProcessor() local
106 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor() local
143 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall()
158 void *user_alloc_internal(ThreadState *thr, uptr pc, uptr sz, uptr align, in user_alloc_internal()
184 void user_free(ThreadState *thr, uptr pc, void *p, bool signal) { in user_free()
193 void *user_alloc(ThreadState *thr, uptr pc, uptr sz) { in user_alloc()
197 void *user_calloc(ThreadState *thr, uptr pc, uptr size, uptr n) { in user_calloc()
210 void *user_reallocarray(ThreadState *thr, uptr pc, void *p, uptr size, uptr n) { in user_reallocarray()
220 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc()
229 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree()
[all …]
H A Dtsan_fd.cpp49 static FdSync *allocsync(ThreadState *thr, uptr pc) { in allocsync()
62 static void unref(ThreadState *thr, uptr pc, FdSync *s) { in unref()
73 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc()
94 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s, in init()
128 void FdOnFork(ThreadState *thr, uptr pc) { in FdOnFork()
160 void FdAcquire(ThreadState *thr, uptr pc, int fd) { in FdAcquire()
171 void FdRelease(ThreadState *thr, uptr pc, int fd) { in FdRelease()
182 void FdAccess(ThreadState *thr, uptr pc, int fd) { in FdAccess()
190 void FdClose(ThreadState *thr, uptr pc, int fd, bool write) { in FdClose()
218 void FdFileCreate(ThreadState *thr, uptr pc, int fd) { in FdFileCreate()
[all …]
H A Dtsan_rtl_thread.cpp78 static void ThreadCheckIgnore(ThreadState *thr) { in ThreadCheckIgnore()
87 static void ThreadCheckIgnore(ThreadState *thr) {} in ThreadCheckIgnore()
90 void ThreadFinalize(ThreadState *thr) { in ThreadFinalize()
108 int ThreadCount(ThreadState *thr) { in ThreadCount()
115 ThreadState *thr; member
119 Tid ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate()
144 ThreadState *thr; member
151 void ThreadStart(ThreadState *thr, Tid tid, tid_t os_id, in ThreadStart()
223 void ThreadFinish(ThreadState *thr) { in ThreadFinish()
282 Tid ThreadConsumeTid(ThreadState *thr, uptr pc, uptr uid) { in ThreadConsumeTid()
[all …]
H A Dtsan_rtl_access.cpp20 ALWAYS_INLINE USED bool TryTraceMemoryAccess(ThreadState *thr, uptr pc, in TryTraceMemoryAccess()
56 ALWAYS_INLINE USED bool TryTraceMemoryAccessRange(ThreadState *thr, uptr pc, in TryTraceMemoryAccessRange()
78 void TraceMemoryAccessRange(ThreadState *thr, uptr pc, uptr addr, uptr size, in TraceMemoryAccessRange()
87 void TraceFunc(ThreadState *thr, uptr pc) { in TraceFunc()
95 void TraceMutexLock(ThreadState *thr, EventType type, uptr pc, uptr addr, in TraceMutexLock()
112 void TraceMutexUnlock(ThreadState *thr, uptr addr) { in TraceMutexUnlock()
124 void TraceTime(ThreadState *thr) { in TraceTime()
159 void HandleRace(ThreadState *thr, u64 *shadow_mem, Shadow cur, Shadow old) { in HandleRace()
170 static inline bool HappensBefore(Shadow old, ThreadState *thr) { in HappensBefore()
175 void MemoryAccessImpl1(ThreadState *thr, uptr addr, int kAccessSizeLog, in MemoryAccessImpl1()
[all …]
H A Dtsan_rtl.cpp274 void UnmapShadow(ThreadState *thr, uptr addr, uptr size) { in UnmapShadow()
362 void Initialize(ThreadState *thr) { in Initialize()
452 int Finalize(ThreadState *thr) { in Finalize()
490 void ForkBefore(ThreadState *thr, uptr pc) NO_THREAD_SAFETY_ANALYSIS { in ForkBefore()
505 void ForkParentAfter(ThreadState *thr, uptr pc) NO_THREAD_SAFETY_ANALYSIS { in ForkParentAfter()
513 void ForkChildAfter(ThreadState *thr, uptr pc, in ForkChildAfter()
542 void GrowShadowStack(ThreadState *thr) { in GrowShadowStack()
554 StackID CurrentStackId(ThreadState *thr, uptr pc) { in CurrentStackId()
577 void TraceSwitchPart(ThreadState *thr) { in TraceSwitchPart()
639 void TraceSwitch(ThreadState *thr) { in TraceSwitch()
[all …]
H A Dtsan_interface.cpp31 ThreadState *thr = cur_thread(); in __tsan_read16() local
38 ThreadState *thr = cur_thread(); in __tsan_write16() local
45 ThreadState *thr = cur_thread(); in __tsan_read16_pc() local
52 ThreadState *thr = cur_thread(); in __tsan_write16_pc() local
61 ThreadState *thr = cur_thread(); in __tsan_unaligned_read16() local
68 ThreadState *thr = cur_thread(); in __tsan_unaligned_write16() local
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_rtl_mutex.cc29 ThreadState *thr; member
43 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) { in DDMutexInit()
49 static void ReportMutexMisuse(ThreadState *thr, uptr pc, ReportType typ, in ReportMutexMisuse()
65 void MutexCreate(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexCreate()
81 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexDestroy()
143 void MutexPreLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexPreLock()
159 void MutexPostLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz, int rec) { in MutexPostLock()
214 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexUnlock()
257 void MutexPreReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexPreReadLock()
269 void MutexPostReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexPostReadLock()
[all …]
H A Dtsan_mman.cc87 ThreadState *thr = cur_thread(); in ScopedGlobalProcessor() local
110 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor() local
140 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall()
156 void *user_alloc_internal(ThreadState *thr, uptr pc, uptr sz, uptr align, in user_alloc_internal()
179 void user_free(ThreadState *thr, uptr pc, void *p, bool signal) { in user_free()
188 void *user_alloc(ThreadState *thr, uptr pc, uptr sz) { in user_alloc()
192 void *user_calloc(ThreadState *thr, uptr pc, uptr size, uptr n) { in user_calloc()
205 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc()
214 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree()
222 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { in user_realloc()
[all …]
H A Dtsan_fd.cc50 static FdSync *allocsync(ThreadState *thr, uptr pc) { in allocsync()
63 static void unref(ThreadState *thr, uptr pc, FdSync *s) { in unref()
74 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc()
94 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s, in init()
128 void FdOnFork(ThreadState *thr, uptr pc) { in FdOnFork()
160 void FdAcquire(ThreadState *thr, uptr pc, int fd) { in FdAcquire()
171 void FdRelease(ThreadState *thr, uptr pc, int fd) { in FdRelease()
182 void FdAccess(ThreadState *thr, uptr pc, int fd) { in FdAccess()
190 void FdClose(ThreadState *thr, uptr pc, int fd, bool write) { in FdClose()
218 void FdFileCreate(ThreadState *thr, uptr pc, int fd) { in FdFileCreate()
[all …]
H A Dtsan_rtl_thread.cc49 ThreadState *thr; member
82 ThreadState *thr; member
196 static void ThreadCheckIgnore(ThreadState *thr) { in ThreadCheckIgnore()
205 static void ThreadCheckIgnore(ThreadState *thr) {} in ThreadCheckIgnore()
208 void ThreadFinalize(ThreadState *thr) { in ThreadFinalize()
226 int ThreadCount(ThreadState *thr) { in ThreadCount()
232 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate()
243 void ThreadStart(ThreadState *thr, int tid, tid_t os_id, bool workerthread) { in ThreadStart()
276 void ThreadFinish(ThreadState *thr) { in ThreadFinish()
296 int ThreadTid(ThreadState *thr, uptr pc, uptr uid) { in ThreadTid()
[all …]
H A Dtsan_rtl.cc344 void Initialize(ThreadState *thr) { in Initialize()
435 int Finalize(ThreadState *thr) { in Finalize()
487 void ForkBefore(ThreadState *thr, uptr pc) { in ForkBefore()
492 void ForkParentAfter(ThreadState *thr, uptr pc) { in ForkParentAfter()
497 void ForkChildAfter(ThreadState *thr, uptr pc) { in ForkChildAfter()
521 void GrowShadowStack(ThreadState *thr) { in GrowShadowStack()
534 u32 CurrentStackId(ThreadState *thr, uptr pc) { in CurrentStackId()
554 void TraceSwitch(ThreadState *thr) { in TraceSwitch()
574 uptr TraceTopPC(ThreadState *thr) { in TraceTopPC()
616 void HandleRace(ThreadState *thr, u64 *shadow_mem, in HandleRace()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_rtl_mutex.cc27 ThreadState *thr; member
41 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) { in DDMutexInit()
47 static void ReportMutexMisuse(ThreadState *thr, uptr pc, ReportType typ, in ReportMutexMisuse()
63 void MutexCreate(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexCreate()
79 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexDestroy()
141 void MutexPreLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexPreLock()
157 void MutexPostLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz, int rec) { in MutexPostLock()
212 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexUnlock()
255 void MutexPreReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexPreReadLock()
267 void MutexPostReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexPostReadLock()
[all …]
H A Dtsan_fd.cc48 static FdSync *allocsync(ThreadState *thr, uptr pc) { in allocsync()
61 static void unref(ThreadState *thr, uptr pc, FdSync *s) { in unref()
72 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc()
92 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s, in init()
126 void FdOnFork(ThreadState *thr, uptr pc) { in FdOnFork()
158 void FdAcquire(ThreadState *thr, uptr pc, int fd) { in FdAcquire()
169 void FdRelease(ThreadState *thr, uptr pc, int fd) { in FdRelease()
180 void FdAccess(ThreadState *thr, uptr pc, int fd) { in FdAccess()
188 void FdClose(ThreadState *thr, uptr pc, int fd, bool write) { in FdClose()
216 void FdFileCreate(ThreadState *thr, uptr pc, int fd) { in FdFileCreate()
[all …]
H A Dtsan_mman.cc85 ThreadState *thr = cur_thread(); in ScopedGlobalProcessor() local
108 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor() local
138 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall()
154 void *user_alloc_internal(ThreadState *thr, uptr pc, uptr sz, uptr align, in user_alloc_internal()
177 void user_free(ThreadState *thr, uptr pc, void *p, bool signal) { in user_free()
186 void *user_alloc(ThreadState *thr, uptr pc, uptr sz) { in user_alloc()
190 void *user_calloc(ThreadState *thr, uptr pc, uptr size, uptr n) { in user_calloc()
203 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc()
212 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree()
220 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { in user_realloc()
[all …]
H A Dtsan_rtl_thread.cc47 ThreadState *thr; member
80 ThreadState *thr; member
194 static void ThreadCheckIgnore(ThreadState *thr) { in ThreadCheckIgnore()
203 static void ThreadCheckIgnore(ThreadState *thr) {} in ThreadCheckIgnore()
206 void ThreadFinalize(ThreadState *thr) { in ThreadFinalize()
224 int ThreadCount(ThreadState *thr) { in ThreadCount()
230 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate()
241 void ThreadStart(ThreadState *thr, int tid, tid_t os_id, bool workerthread) { in ThreadStart()
274 void ThreadFinish(ThreadState *thr) { in ThreadFinish()
294 int ThreadTid(ThreadState *thr, uptr pc, uptr uid) { in ThreadTid()
[all …]
H A Dtsan_rtl.cc342 void Initialize(ThreadState *thr) { in Initialize()
431 int Finalize(ThreadState *thr) { in Finalize()
483 void ForkBefore(ThreadState *thr, uptr pc) { in ForkBefore()
488 void ForkParentAfter(ThreadState *thr, uptr pc) { in ForkParentAfter()
493 void ForkChildAfter(ThreadState *thr, uptr pc) { in ForkChildAfter()
517 void GrowShadowStack(ThreadState *thr) { in GrowShadowStack()
530 u32 CurrentStackId(ThreadState *thr, uptr pc) { in CurrentStackId()
550 void TraceSwitch(ThreadState *thr) { in TraceSwitch()
570 uptr TraceTopPC(ThreadState *thr) { in TraceTopPC()
612 void HandleRace(ThreadState *thr, u64 *shadow_mem, in HandleRace()
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/dd/
H A Ddd_rtl.cc22 static u32 CurrentStackTrace(Thread *thr, uptr skip) { in CurrentStackTrace()
32 static void PrintStackTrace(Thread *thr, u32 stk) { in PrintStackTrace()
39 static void ReportDeadlock(Thread *thr, DDReport *rep) { in ReportDeadlock()
58 Callback::Callback(Thread *thr) in Callback()
100 void ThreadInit(Thread *thr) { in ThreadInit()
107 void ThreadDestroy(Thread *thr) { in ThreadDestroy()
112 void MutexBeforeLock(Thread *thr, uptr m, bool writelock) { in MutexBeforeLock()
125 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) { in MutexAfterLock()
138 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock) { in MutexBeforeUnlock()
149 void MutexDestroy(Thread *thr, uptr m) { in MutexDestroy()
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/
H A Doacc-async.c38 struct goacc_thread *thr = goacc_thread (); in get_goacc_thread() local
74 lookup_goacc_asyncqueue (struct goacc_thread *thr, bool create, int async) in lookup_goacc_asyncqueue()
133 struct goacc_thread *thr = get_goacc_thread (); in get_goacc_asyncqueue() local
140 struct goacc_thread *thr = goacc_thread (); in acc_async_test() local
172 struct goacc_thread *thr = get_goacc_thread (); in acc_async_test_all() local
200 struct goacc_thread *thr = get_goacc_thread (); in acc_wait() local
239 struct goacc_thread *thr = get_goacc_thread (); local
285 struct goacc_thread *thr = goacc_thread (); in acc_wait_all() local
321 struct goacc_thread *thr = get_goacc_thread (); local
362 struct goacc_thread *thr = goacc_thread (); in GOACC_wait() local
H A Dordered.c41 struct gomp_thread *thr = gomp_thread (); in gomp_ordered_first() local
72 struct gomp_thread *thr = gomp_thread (); in gomp_ordered_last() local
107 struct gomp_thread *thr = gomp_thread (); in gomp_ordered_next() local
155 struct gomp_thread *thr = gomp_thread (); in gomp_ordered_static_init() local
173 struct gomp_thread *thr = gomp_thread (); in gomp_ordered_static_next() local
197 struct gomp_thread *thr = gomp_thread (); in gomp_ordered_sync() local
265 struct gomp_thread *thr = gomp_thread (); in gomp_doacross_init() local
376 struct gomp_thread *thr = gomp_thread (); in GOMP_doacross_post() local
427 struct gomp_thread *thr = gomp_thread (); in GOMP_doacross_wait() local
515 struct gomp_thread *thr = gomp_thread (); in gomp_doacross_ull_init() local
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgomp/
H A Doacc-async.c38 struct goacc_thread *thr = goacc_thread (); in get_goacc_thread() local
74 lookup_goacc_asyncqueue (struct goacc_thread *thr, bool create, int async) in lookup_goacc_asyncqueue()
133 struct goacc_thread *thr = get_goacc_thread (); in get_goacc_asyncqueue() local
140 struct goacc_thread *thr = goacc_thread (); in acc_async_test() local
172 struct goacc_thread *thr = get_goacc_thread (); in acc_async_test_all() local
200 struct goacc_thread *thr = get_goacc_thread (); in acc_wait() local
239 struct goacc_thread *thr = get_goacc_thread (); local
285 struct goacc_thread *thr = goacc_thread (); in acc_wait_all() local
321 struct goacc_thread *thr = get_goacc_thread (); local
362 struct goacc_thread *thr = goacc_thread (); in GOACC_wait() local
H A Dordered.c41 struct gomp_thread *thr = gomp_thread (); in gomp_ordered_first() local
72 struct gomp_thread *thr = gomp_thread (); in gomp_ordered_last() local
107 struct gomp_thread *thr = gomp_thread (); in gomp_ordered_next() local
155 struct gomp_thread *thr = gomp_thread (); in gomp_ordered_static_init() local
173 struct gomp_thread *thr = gomp_thread (); in gomp_ordered_static_next() local
197 struct gomp_thread *thr = gomp_thread (); in gomp_ordered_sync() local
265 struct gomp_thread *thr = gomp_thread (); in gomp_doacross_init() local
376 struct gomp_thread *thr = gomp_thread (); in GOMP_doacross_post() local
427 struct gomp_thread *thr = gomp_thread (); in GOMP_doacross_wait() local
515 struct gomp_thread *thr = gomp_thread (); in gomp_doacross_ull_init() local
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/
H A Dtsan_mman_test.cc38 ThreadState *thr = cur_thread(); in TEST() local
52 ThreadState *thr = cur_thread(); in TEST() local
99 ThreadState *thr = cur_thread(); in TEST() local
112 ThreadState *thr = cur_thread(); in TEST() local
141 ThreadState *thr = cur_thread(); in TEST() local
163 ThreadState *thr = cur_thread(); in TEST() local
180 ThreadState *thr = cur_thread(); in TEST() local
190 ThreadState *thr = cur_thread(); in TEST() local
H A Dtsan_sync_test.cc20 ThreadState *thr = cur_thread(); in TEST() local
35 ThreadState *thr = cur_thread(); in TEST() local
52 ThreadState *thr = cur_thread(); in TEST() local
75 ThreadState *thr = cur_thread(); in TEST() local
112 ThreadState *thr = cur_thread(); in TEST() local

123456789