Home
last modified time | relevance | path

Searched refs:tls_size (Results 1 – 17 of 17) 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.cc198 size_t tls_size = 0; in InitTlsSize() local
200 get_tls(&tls_size, &tls_align); in InitTlsSize()
203 g_tls_size = RoundUpTo(tls_size, tls_align); in InitTlsSize()
382 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
385 *stk_addr = *stk_size = *tls_addr = *tls_size = 0; in GetThreadStackAndTls()
387 GetTls(tls_addr, tls_size); in GetThreadStackAndTls()
397 CHECK_GT(*tls_addr + *tls_size, *stk_addr); in GetThreadStackAndTls()
398 CHECK_LE(*tls_addr + *tls_size, *stk_addr + *stk_size); in GetThreadStackAndTls()
399 *stk_size -= *tls_size; in GetThreadStackAndTls()
Dsanitizer_mac.cc332 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
339 *tls_size = 0; in GetThreadStackAndTls()
344 *tls_size = 0; in GetThreadStackAndTls()
Dsanitizer_win.cc618 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
623 *tls_size = 0; in GetThreadStackAndTls()
630 *tls_size = 0; in GetThreadStackAndTls()
Dsanitizer_common.h78 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()
129 args->tls_addr, args->tls_size); in OnStarted()
248 uptr tls_size = 0; in ThreadStart() local
250 GetThreadStackAndTls(tid == 0, &stk_addr, &stk_size, &tls_addr, &tls_size); in ThreadStart()
256 if (tls_addr && tls_size) { in ThreadStart()
261 CHECK_LE(thr_beg, tls_addr + tls_size); in ThreadStart()
263 CHECK_LE(thr_end, tls_addr + tls_size); in ThreadStart()
267 thr_end, tls_addr + tls_size - thr_end); in ThreadStart()
273 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.h382 const uptr tls_size; member
410 uptr tls_addr, uptr tls_size);
Dtsan_rtl_report.cc229 (addr >= thr->tls_addr && addr < thr->tls_addr + thr->tls_size)); in IsInStackOrTls()
/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.cc88 uptr tls_size = 0; in ThreadStart() local
90 &args.tls_begin, &tls_size); in ThreadStart()
92 args.tls_end = args.tls_begin + tls_size; in ThreadStart()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_screen.c632 screen->tls_size = 8 * 64; in nvc0_screen_create()
634 screen->tls_size = 16 * 48; in nvc0_screen_create()
635 screen->tls_size *= NVC0_CAP_MAX_PROGRAM_TEMPS * 16; in nvc0_screen_create()
636 screen->tls_size = align(screen->tls_size, 1 << 17); in nvc0_screen_create()
639 screen->tls_size, NULL, &screen->tls); in nvc0_screen_create()
649 PUSH_DATA (push, screen->tls_size >> 32); in nvc0_screen_create()
650 PUSH_DATA (push, screen->tls_size); in nvc0_screen_create()
Dnvc0_screen.h37 uint64_t tls_size; member
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_screen.c537 uint64_t *tls_size) in nv50_tls_alloc() argument
547 *tls_size = screen->cur_tls_space * util_next_power_of_two(screen->TPs) * in nv50_tls_alloc()
551 *tls_size, NULL, &screen->tls_bo); in nv50_tls_alloc()
564 uint64_t tls_size; in nv50_tls_realloc() local
578 ret = nv50_tls_alloc(screen, tls_space, &tls_size); in nv50_tls_realloc()
741 uint64_t tls_size; in nv50_screen_create() local
743 ret = nv50_tls_alloc(screen, tls_space, &tls_size); in nv50_screen_create()
749 screen->TPs, screen->MPsInTP, dev->vram_size >> 20, tls_size >> 10); in nv50_screen_create()
/external/compiler-rt/lib/asan/
Dasan_thread.cc197 uptr tls_size = 0; in SetThreadStackAndTls() local
199 &tls_size); in SetThreadStackAndTls()
201 tls_end_ = tls_begin_ + tls_size; in SetThreadStackAndTls()
Dasan_rtl.cc593 uptr tls_addr, tls_size, stack_size; in __asan_handle_no_return() local
595 &tls_size); in __asan_handle_no_return()