Home
last modified time | relevance | path

Searched refs:generation (Results 1 – 17 of 17) sorted by relevance

/bionic/libc/bionic/
Dbionic_elf_tls.cpp233 if (__get_tcb_dtv(tcb)->generation == atomic_load(&modules.generation)) { in update_tls_dtv()
268 mod.first_generation <= dtv->generation) { in update_tls_dtv()
276 dtv->generation = atomic_load(&modules.generation); in update_tls_dtv()
318 size_t generation = atomic_load(&__libc_tls_generation_copy); in TLS_GET_ADDR() local
319 if (__predict_true(generation == dtv->generation)) { in TLS_GET_ADDR()
341 if (dtv->generation == kTlsGenerationNone) { in __free_dynamic_tls()
358 while (dtv->generation != kTlsGenerationNone) { in __free_dynamic_tls()
Dpthread_internal.h203 return reinterpret_cast<TlsDtv*>(dtv_slot - offsetof(TlsDtv, generation)); in __get_tcb_dtv()
207 tcb->tls_slot(TLS_SLOT_DTV) = &val->generation; in __set_tcb_dtv()
Dlibc_init_dynamic.cpp89 __libc_tls_generation_copy = tls_modules.generation; in __libc_preinit_impl()
Dlibc_init_static.cpp155 __libc_tls_generation_copy = modules.generation; in layout_static_tls()
/bionic/libc/kernel/uapi/linux/
Dbtrfs_tree.h129 __le64 generation; member
163 __le64 generation; member
177 __le64 generation; member
206 __le64 generation; member
232 __le64 generation; member
264 __le64 generation; member
335 __le64 generation; member
413 __le64 generation; member
418 __le64 generation; member
Dfirewire-cdev.h46 __u32 generation; member
72 __u32 generation; member
153 __u32 generation; member
258 __u32 generation; member
264 __u32 generation; member
Dfd.h116 int generation; member
Dfuse.h187 uint64_t generation; member
Dbtrfs.h428 __u64 generation; member
/bionic/libc/private/
Dbionic_elf_tls.h122 _Atomic(size_t) generation = kTlsGenerationFirst;
157 size_t generation; member
/bionic/linker/
Dlinker_tls.h59 size_t generation; member
Dlinker_tls.cpp71 const size_t new_generation = ++libc_modules.generation; in register_tls_module()
Dlinker_relocate.cpp450 .generation = mod.first_generation, in process_relocation_impl()
461 rel_target, desc_arg.generation, desc_arg.index.module_id, in process_relocation_impl()
Dlinker.cpp378 if (dtv->generation < tls_mod.first_generation) return nullptr; in get_tls_block_for_this_thread()
/bionic/tests/
Delftls_dl_test.cpp177 ASSERT_EQ(kTlsGenerationNone, zero_dtv->generation); in TEST()
188 ASSERT_LT(0u, initial_dtv->generation); in TEST()
/bionic/libc/kernel/uapi/linux/raid/
Dmd_p.h243 __le64 generation; member
/bionic/docs/
Delf-tls.md50 The DTV's "generation" field is used to lazily update/reallocate the DTV when new modules are loaded
108 1. If the current thread's DTV generation count is less than the current global TLS generation, then
288 * By storing the module's initial generation alongside the TlsIndex, the resolver function doesn't
289 need to use an atomic or synchronized access of the global TLS generation counter.
300   unsigned long generation;
307   if (dtv->generation >= arg->first_generation &&
435 compare a module's initial generation count against the DTV's generation count. (XXX: Does gdb have