Home
last modified time | relevance | path

Searched refs:tls_size (Results 1 – 25 of 31) sorted by relevance

12

/third_party/musl/porting/linux/user/src/env/
D__init_tls.c48 dtv = (uintptr_t*)(mem + libc.tls_size) - (libc.tls_cnt + 1); in __copy_tls()
63 mem += libc.tls_size - sizeof(struct pthread); in __copy_tls()
131 libc.tls_size = 2*sizeof(void *) + sizeof(struct pthread) in static_init_tls()
138 if (libc.tls_size > sizeof builtin_tls) { in static_init_tls()
144 0, libc.tls_size, PROT_READ|PROT_WRITE, in static_init_tls()
/third_party/musl/src/env/
D__init_tls.c47 dtv = (uintptr_t*)(mem + libc.tls_size) - (libc.tls_cnt + 1); in __copy_tls()
60 mem += libc.tls_size - sizeof(struct pthread); in __copy_tls()
126 libc.tls_size = 2*sizeof(void *) + sizeof(struct pthread) in static_init_tls()
133 if (libc.tls_size > sizeof builtin_tls) { in static_init_tls()
139 0, libc.tls_size, PROT_READ|PROT_WRITE, in static_init_tls()
/third_party/musl/porting/liteos_a/user/src/env/
D__init_tls.c79 dtv = (uintptr_t*)(mem + libc.tls_size) - (libc.tls_cnt + 1); in __copy_tls()
92 mem += libc.tls_size - sizeof(struct pthread); in __copy_tls()
158 libc.tls_size = 2*sizeof(void *) + sizeof(struct pthread) in static_init_tls()
165 if (libc.tls_size > sizeof builtin_tls) { in static_init_tls()
171 0, libc.tls_size, PROT_READ|PROT_WRITE, in static_init_tls()
/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_create.c258 size_t need = libc.tls_size + __pthread_tsd_size; in __pthread_create()
267 stack = tsd - libc.tls_size; in __pthread_create()
276 + libc.tls_size + __pthread_tsd_size); in __pthread_create()
294 stack = tsd - libc.tls_size; in __pthread_create()
299 new = __copy_tls(tsd - libc.tls_size); in __pthread_create()
/third_party/musl/src/thread/
Dpthread_create.c277 size_t need = libc.tls_size + __pthread_tsd_size; in __pthread_create()
286 stack = tsd - libc.tls_size; in __pthread_create()
295 + libc.tls_size + __pthread_tsd_size); in __pthread_create()
313 stack = tsd - libc.tls_size; in __pthread_create()
318 new = __copy_tls(tsd - libc.tls_size); in __pthread_create()
/third_party/musl/porting/linux/user/src/thread/
Dpthread_create.c394 size_t need = libc.tls_size + __pthread_tsd_size; in __pthread_create()
403 stack = tsd - libc.tls_size; in __pthread_create()
412 + libc.tls_size + __pthread_tsd_size); in __pthread_create()
437 stack = tsd - libc.tls_size; in __pthread_create()
442 new = __copy_tls(tsd - libc.tls_size); in __pthread_create()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_screen.c937 uint64_t *tls_size) in nv50_tls_alloc() argument
948 *tls_size = screen->cur_tls_space * util_next_power_of_two(screen->TPs) * in nv50_tls_alloc()
952 *tls_size, NULL, &screen->tls_bo); in nv50_tls_alloc()
965 uint64_t tls_size; in nv50_tls_realloc() local
979 ret = nv50_tls_alloc(screen, tls_space, &tls_size); in nv50_tls_realloc()
1178 uint64_t tls_size; in nv50_screen_create() local
1180 ret = nv50_tls_alloc(screen, tls_space, &tls_size); in nv50_screen_create()
1186 screen->TPs, screen->MPsInTP, dev->vram_size >> 20, tls_size >> 10); in nv50_screen_create()
/third_party/musl/src/internal/
Dlibc.h28 size_t tls_size, tls_align, tls_cnt; member
/third_party/musl/porting/liteos_a/user/src/internal/
Dlibc.h28 size_t tls_size, tls_align, tls_cnt; member
/third_party/musl/porting/linux/user/src/internal/
Dlibc.h44 size_t tls_size, tls_align, tls_cnt; member
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c1589 libc.tls_size = ALIGN( in update_tls_size()
1730 libc.tls_size = sizeof builtin_tls; in __dls2b()
1963 if (libc.tls_size > sizeof builtin_tls || tls_align > MIN_TLS_ALIGN) { in __dls3()
1964 initial_tls = calloc(libc.tls_size, 1); in __dls3()
1967 argv[0], libc.tls_size); in __dls3()
1985 size_t tmp_tls_size = libc.tls_size; in __dls3()
1990 libc.tls_size = sizeof builtin_tls; in __dls3()
1992 libc.tls_size = tmp_tls_size; in __dls3()
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c1590 libc.tls_size = ALIGN( in update_tls_size()
1731 libc.tls_size = sizeof builtin_tls; in __dls2b()
1964 if (libc.tls_size > sizeof builtin_tls || tls_align > MIN_TLS_ALIGN) { in __dls3()
1965 initial_tls = calloc(libc.tls_size, 1); in __dls3()
1968 argv[0], libc.tls_size); in __dls3()
1986 size_t tmp_tls_size = libc.tls_size; in __dls3()
1991 libc.tls_size = sizeof builtin_tls; in __dls3()
1993 libc.tls_size = tmp_tls_size; in __dls3()
/third_party/musl/ldso/
Ddynlink.c1573 libc.tls_size = ALIGN( in update_tls_size()
1714 libc.tls_size = sizeof builtin_tls; in __dls2b()
1940 if (libc.tls_size > sizeof builtin_tls || tls_align > MIN_TLS_ALIGN) { in __dls3()
1941 initial_tls = calloc(libc.tls_size, 1); in __dls3()
1944 argv[0], libc.tls_size); in __dls3()
1962 size_t tmp_tls_size = libc.tls_size; in __dls3()
1967 libc.tls_size = sizeof builtin_tls; in __dls3()
1969 libc.tls_size = tmp_tls_size; in __dls3()
/third_party/mesa3d/src/panfrost/lib/
Dpan_indirect_dispatch.c161 assert(!shader_info.tls_size); in GENX()
Dpan_cs.c548 cfg.tls_size = shift; in GENX()
/third_party/mesa3d/src/panfrost/util/
Dpan_ir.h276 unsigned tls_size; member
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_pipeline.c258 pipeline->tls_size = MAX2(pipeline->tls_size, shader->info.tls_size); in panvk_pipeline_builder_init_shaders()
Dpanvk_vX_cmd_buffer.c773 batch->tlsinfo.tls.size = MAX2(pipeline->tls_size, batch->tlsinfo.tls.size); in panvk_cmd_draw()
1377 batch->tlsinfo.tls.size = pipeline->tls_size; in panvk_per_arch()
Dpanvk_private.h868 unsigned tls_size; member
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_ra.c854 unsigned spill_count = ctx->info.tls_size; in bi_register_allocate()
916 ctx->info.tls_size = spill_count; in bi_register_allocate()
Dbifrost_compile.c5199 .tls_size = info->tls_size, in bi_compile_variant()
5239 info->tls_size = MAX2(info->tls_size, ctx->info.tls_size); in bi_compile_variant()
5317 info->tls_size = nir->scratch_size; in bifrost_compile_shader_nir()
Dcompiler.h748 unsigned tls_size; member
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_ra.c1150 unsigned spill_count = DIV_ROUND_UP(ctx->info->tls_size, 16); in mir_ra()
1192 ctx->info->tls_size = spill_count * 16; in mir_ra()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c2713 libc.tls_size = ALIGN( in update_tls_size()
2858 libc.tls_size = sizeof builtin_tls; in __dls2b()
3126 if (libc.tls_size > sizeof builtin_tls || tls_align > MIN_TLS_ALIGN) { in __dls3()
3127 initial_tls = calloc(libc.tls_size, 1); in __dls3()
3130 argv[0], libc.tls_size); in __dls3()
3154 size_t tmp_tls_size = libc.tls_size; in __dls3()
3159 libc.tls_size = sizeof builtin_tls; in __dls3()
3161 libc.tls_size = tmp_tls_size; in __dls3()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_job.c920 batch->stack_size = MAX2(batch->stack_size, ss->info.tls_size); in panfrost_batch_adjust_stack_size()

12