Lines Matching refs:memsz
89 init_static_tls (size_t memsz, size_t align) in init_static_tls() argument
92 GL(dl_tls_static_size) = roundup (memsz + GLRO(dl_tls_static_surplus), in init_static_tls()
97 GL(dl_tls_static_used) = memsz; in init_static_tls()
108 size_t memsz = 0; in __libc_setup_tls() local
126 memsz = phdr->p_memsz; in __libc_setup_tls()
147 tcb_offset = roundup (memsz + GLRO(dl_tls_static_surplus), max_align); in __libc_setup_tls()
153 tlsblock = _dl_early_allocate (tcb_offset + memsz + max_align in __libc_setup_tls()
176 - roundup (memsz, align ?: 1)); in __libc_setup_tls()
177 main_map->l_tls_offset = roundup (memsz, align ?: 1); in __libc_setup_tls()
208 main_map->l_tls_blocksize = memsz; in __libc_setup_tls()
217 memsz = roundup (memsz, align ?: 1); in __libc_setup_tls()
220 memsz += tcb_offset; in __libc_setup_tls()
223 init_static_tls (memsz, MAX (TCB_ALIGNMENT, max_align)); in __libc_setup_tls()