Searched refs:tls_size (Results 1 - 6 of 6) sorted by relevance

/seL4-refos-master/libs/libmuslc/src/env/
H A D__init_tls.c35 return libc.tls_size;
67 dtv = (void **)(mem + libc.tls_size) - (libc.tls_cnt + 1);
80 mem += libc.tls_size - sizeof(struct pthread);
138 libc.tls_size = 2*sizeof(void *) + sizeof(struct pthread)
142 if (libc.tls_size > sizeof builtin_tls) {
148 0, libc.tls_size, PROT_READ|PROT_WRITE,
/seL4-refos-master/libs/libmuslc/src/internal/
H A Dlibc.h27 size_t tls_size, tls_align, tls_cnt; member in struct:__libc
/seL4-refos-master/libs/libmuslc/src/thread/
H A Dpthread_create.c217 size_t need = libc.tls_size + __pthread_tsd_size;
226 stack = tsd - libc.tls_size;
235 + libc.tls_size + __pthread_tsd_size);
253 stack = tsd - libc.tls_size;
258 new = __copy_tls(tsd - libc.tls_size);
/seL4-refos-master/libs/libsel4utils/src/
H A Dthread.c169 size_t tls_size = sel4runtime_get_tls_size(); local
171 if (tls_size > thread->stack_size * PAGE_SIZE_4K / 8) {
172 ZF_LOGE("TLS would use more than 1/8th of the application stack %zu/%zu", tls_size, thread->stack_size);
175 uintptr_t tls_base = (uintptr_t)thread->initial_stack_pointer - tls_size;
/seL4-refos-master/projects/seL4_libs/libsel4utils/src/
H A Dthread.c169 size_t tls_size = sel4runtime_get_tls_size(); local
171 if (tls_size > thread->stack_size * PAGE_SIZE_4K / 8) {
172 ZF_LOGE("TLS would use more than 1/8th of the application stack %zu/%zu", tls_size, thread->stack_size);
175 uintptr_t tls_base = (uintptr_t)thread->initial_stack_pointer - tls_size;
/seL4-refos-master/libs/libmuslc/ldso/
H A Ddynlink.c1309 libc.tls_size = ALIGN(
1418 libc.tls_size = sizeof builtin_tls;
1601 if (libc.tls_size > sizeof builtin_tls || tls_align > MIN_TLS_ALIGN) {
1602 void *initial_tls = calloc(libc.tls_size, 1);
1605 argv[0], libc.tls_size);
1612 size_t tmp_tls_size = libc.tls_size;
1617 libc.tls_size = sizeof builtin_tls;
1619 libc.tls_size = tmp_tls_size;

Completed in 47 milliseconds