Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_tls_get_addr.cc98 uptr tls_size = 0; in DTLS_on_tls_get_addr() local
105 tls_size = dtls.last_memalign_size; in DTLS_on_tls_get_addr()
107 tls_beg, tls_size); in DTLS_on_tls_get_addr()
112 tls_size = 0; in DTLS_on_tls_get_addr()
116 tls_size = header->size; in DTLS_on_tls_get_addr()
119 tls_beg, tls_size); in DTLS_on_tls_get_addr()
123 tls_size = 0; in DTLS_on_tls_get_addr()
126 dtls.dtv[dso_id].size = tls_size; in DTLS_on_tls_get_addr()
Dsanitizer_linux_libcdep.cc178 size_t tls_size = 0; in InitTlsSize() local
180 get_tls(&tls_size, &tls_align); in InitTlsSize()
183 g_tls_size = RoundUpTo(tls_size, tls_align); in InitTlsSize()
390 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
393 *stk_addr = *stk_size = *tls_addr = *tls_size = 0; in GetThreadStackAndTls()
395 GetTls(tls_addr, tls_size); in GetThreadStackAndTls()
405 CHECK_GT(*tls_addr + *tls_size, *stk_addr); in GetThreadStackAndTls()
406 CHECK_LE(*tls_addr + *tls_size, *stk_addr + *stk_size); in GetThreadStackAndTls()
407 *stk_size -= *tls_size; in GetThreadStackAndTls()
Dsanitizer_mac.cc364 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
371 *tls_size = 0; in GetThreadStackAndTls()
376 *tls_size = 0; in GetThreadStackAndTls()
Dsanitizer_win.cc699 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
704 *tls_size = 0; in GetThreadStackAndTls()
711 *tls_size = 0; in GetThreadStackAndTls()
Dsanitizer_common.h80 uptr *tls_addr, uptr *tls_size);
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cc85 uptr tls_size; member
96 args->stk_addr, args->stk_size, args->tls_addr, args->tls_size); in OnStarted()
124 args->tls_addr, args->tls_size); in OnStarted()
236 uptr tls_size = 0; in ThreadStart() local
238 GetThreadStackAndTls(tid == 0, &stk_addr, &stk_size, &tls_addr, &tls_size); in ThreadStart()
244 if (tls_addr && tls_size) { in ThreadStart()
249 CHECK_LE(thr_beg, tls_addr + tls_size); in ThreadStart()
251 CHECK_LE(thr_end, tls_addr + tls_size); in ThreadStart()
255 thr_end, tls_addr + tls_size - thr_end); in ThreadStart()
261 OnStartedArgs args = { thr, stk_addr, stk_size, tls_addr, tls_size }; in ThreadStart()
[all …]
Dtsan_rtl.cc113 uptr tls_addr, uptr tls_size) in ThreadState() argument
128 , tls_size(tls_size) in ThreadState()
Dtsan_rtl.h410 const uptr tls_size; member
443 uptr tls_addr, uptr tls_size);
Dtsan_rtl_report.cc234 (addr >= thr->tls_addr && addr < thr->tls_addr + thr->tls_size)); in IsInStackOrTls()
Dtsan_interceptors.cc2405 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, res, thr->tls_addr, thr->tls_size); in TSAN_INTERCEPTOR()
/external/compiler-rt/lib/msan/
Dmsan_thread.cc23 uptr tls_size = 0; in SetThreadStackAndTls() local
26 &tls_begin_, &tls_size); in SetThreadStackAndTls()
28 tls_end_ = tls_begin_ + tls_size; in SetThreadStackAndTls()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_common_test.cc128 uptr tls_size = 0; in TestThreadInfo() local
129 GetThreadStackAndTls(main, &stk_addr, &stk_size, &tls_addr, &tls_size); in TestThreadInfo()
140 EXPECT_NE(tls_size, (uptr)0); in TestThreadInfo()
142 EXPECT_LT((uptr)&thread_var, tls_addr + tls_size); in TestThreadInfo()
145 uptr tls_end = tls_addr + tls_size; in TestThreadInfo()
/external/compiler-rt/lib/lsan/
Dlsan_thread.cc93 uptr tls_size = 0; in ThreadStart() local
95 &args.tls_begin, &tls_size); in ThreadStart()
97 args.tls_end = args.tls_begin + tls_size; in ThreadStart()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_screen.c784 uint64_t *tls_size) in nv50_tls_alloc() argument
794 *tls_size = screen->cur_tls_space * util_next_power_of_two(screen->TPs) * in nv50_tls_alloc()
798 *tls_size, NULL, &screen->tls_bo); in nv50_tls_alloc()
811 uint64_t tls_size; in nv50_tls_realloc() local
825 ret = nv50_tls_alloc(screen, tls_space, &tls_size); in nv50_tls_realloc()
1011 uint64_t tls_size; in nv50_screen_create() local
1013 ret = nv50_tls_alloc(screen, tls_space, &tls_size); in nv50_screen_create()
1019 screen->TPs, screen->MPsInTP, dev->vram_size >> 20, tls_size >> 10); in nv50_screen_create()
/external/compiler-rt/lib/asan/
Dasan_thread.cc264 uptr tls_size = 0; in SetThreadStackAndTls() local
267 const_cast<uptr *>(&stack_size), &tls_begin_, &tls_size); in SetThreadStackAndTls()
269 tls_end_ = tls_begin_ + tls_size; in SetThreadStackAndTls()
Dasan_rtl.cc611 uptr tls_addr, tls_size, stack_size; in __asan_handle_no_return() local
613 &tls_size); in __asan_handle_no_return()