OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:dtv
(Results
1 - 4
of
4
) sorted by null
/external/compiler-rt/lib/sanitizer_common/
sanitizer_tls_get_addr.h
39
struct
DTV
{
44
DTV
*
dtv
; // dtv_size elements, allocated by MmapOrDie.
member in struct:__sanitizer::DTLS
53
DTLS::
DTV
*DTLS_on_tls_get_addr(void *arg, void *res, uptr static_tls_begin,
/bionic/tests/
elftls_dl_test.cpp
161
auto
dtv
= []() -> TlsDtv* { return __get_tcb_dtv(__get_bionic_tcb()); };
local
164
"This test assumes that the
Dtv
has a 3-word header");
171
// The initial
DTV
is an empty
DTV
with no generation and a size of 0.
172
TlsDtv* zero_dtv =
dtv
();
181
// After loading one module, the
DTV
should be initialized to the next
183
TlsDtv* initial_dtv =
dtv
();
192
ASSERT_EQ(initial_dtv,
dtv
());
201
// The arm64 TLSDESC resolver doesn't update the
DTV
if it is new enough for
203
ASSERT_EQ(5u,
dtv
()->count)
244
auto
dtv
= []() -> TlsDtv* { return __get_tcb_
dtv
(__get_bionic_tcb()); };
local
[
all
...]
/bionic/libc/bionic/
bionic_elf_tls.cpp
209
// Calculates the number of module slots to allocate in a new
DTV
. For small
211
// so for better space usage, ensure that the
DTV
size (header + slots) is a
239
// If the
DTV
isn't large enough, allocate a larger one. Because a signal
241
// old
DTV
. Instead, we add the old
DTV
to a list, then free all of a thread's
242
// DTVs at thread-exit. Each time the
DTV
is reallocated, its size at least
254
TlsDtv* const
dtv
= __get_tcb_dtv(tcb);
local
260
for (size_t i = 0; i <
dtv
->count; ++i) {
264
dtv
->modules[i] = static_tls + mod.static_offset;
268
mod.first_generation <=
dtv
->generation)
290
TlsDtv*
dtv
= __get_tcb_
dtv
(tcb);
local
315
TlsDtv*
dtv
= __get_tcb_
dtv
(__get_bionic_tcb());
variable
340
TlsDtv*
dtv
= __get_tcb_
dtv
(tcb);
local
[
all
...]
/external/strace/
count.c
135
struct timespec tv_cum,
dtv
;
local
151
ts_mul(&
dtv
, &overhead, counts[i].calls);
152
ts_sub(&counts[i].time, &counts[i].time, &
dtv
);
170
ts_div(&
dtv
, &cc->time, cc->calls);
178
(long) (1000000 *
dtv
.tv_sec +
dtv
.tv_nsec / 1000),
Completed in 681 milliseconds