Home
last modified time | relevance | path

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

12

/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/linux/user/src/env/
D__init_tls.c47 dtv = (uintptr_t*)(mem + libc.tls_size) - (libc.tls_cnt + 1); in __copy_tls()
62 mem += libc.tls_size - sizeof(struct pthread); in __copy_tls()
130 libc.tls_size = 2*sizeof(void *) + sizeof(struct pthread) in static_init_tls()
137 if (libc.tls_size > sizeof builtin_tls) { in static_init_tls()
143 0, libc.tls_size, PROT_READ|PROT_WRITE, in static_init_tls()
/third_party/musl/porting/liteos_a/user/src/env/
D__init_tls.c80 dtv = (uintptr_t*)(mem + libc.tls_size) - (libc.tls_cnt + 1); in __copy_tls()
93 mem += libc.tls_size - sizeof(struct pthread); in __copy_tls()
159 libc.tls_size = 2*sizeof(void *) + sizeof(struct pthread) in static_init_tls()
166 if (libc.tls_size > sizeof builtin_tls) { in static_init_tls()
172 0, libc.tls_size, PROT_READ|PROT_WRITE, in static_init_tls()
/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_create.c261 size_t need = libc.tls_size + __pthread_tsd_size; in __pthread_create()
270 stack = tsd - libc.tls_size; in __pthread_create()
279 + libc.tls_size + __pthread_tsd_size); in __pthread_create()
297 stack = tsd - libc.tls_size; in __pthread_create()
302 new = __copy_tls(tsd - libc.tls_size); in __pthread_create()
/third_party/musl/src/thread/
Dpthread_create.c266 size_t need = libc.tls_size + __pthread_tsd_size; in __pthread_create()
275 stack = tsd - libc.tls_size; in __pthread_create()
284 + libc.tls_size + __pthread_tsd_size); in __pthread_create()
302 stack = tsd - libc.tls_size; in __pthread_create()
307 new = __copy_tls(tsd - libc.tls_size); in __pthread_create()
/third_party/musl/porting/linux/user/src/thread/
Dpthread_create.c344 size_t need = libc.tls_size + __pthread_tsd_size; in __pthread_create()
353 stack = tsd - libc.tls_size; in __pthread_create()
362 + libc.tls_size + __pthread_tsd_size); in __pthread_create()
380 stack = tsd - libc.tls_size; in __pthread_create()
385 new = __copy_tls(tsd - libc.tls_size); in __pthread_create()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_screen.c910 uint64_t *tls_size) in nv50_tls_alloc() argument
920 *tls_size = screen->cur_tls_space * util_next_power_of_two(screen->TPs) * in nv50_tls_alloc()
924 *tls_size, NULL, &screen->tls_bo); in nv50_tls_alloc()
937 uint64_t tls_size; in nv50_tls_realloc() local
951 ret = nv50_tls_alloc(screen, tls_space, &tls_size); in nv50_tls_realloc()
1182 uint64_t tls_size; in nv50_screen_create() local
1184 ret = nv50_tls_alloc(screen, tls_space, &tls_size); in nv50_screen_create()
1190 screen->TPs, screen->MPsInTP, dev->vram_size >> 20, tls_size >> 10); in nv50_screen_create()
/third_party/musl/porting/linux/user/src/internal/
Dlibc.h42 size_t tls_size, tls_align, tls_cnt; member
/third_party/musl/src/internal/
Dlibc.h27 size_t tls_size, tls_align, tls_cnt; member
/third_party/musl/porting/liteos_a/user/src/internal/
Dlibc.h27 size_t tls_size, tls_align, tls_cnt; member
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_ra.c501 unsigned spill_count = ctx->info->tls_size; in bi_register_allocate()
540 ctx->info->tls_size = spill_count; in bi_register_allocate()
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c1550 libc.tls_size = ALIGN( in update_tls_size()
1691 libc.tls_size = sizeof builtin_tls; in __dls2b()
1924 if (libc.tls_size > sizeof builtin_tls || tls_align > MIN_TLS_ALIGN) { in __dls3()
1925 initial_tls = calloc(libc.tls_size, 1); in __dls3()
1928 argv[0], libc.tls_size); in __dls3()
1946 size_t tmp_tls_size = libc.tls_size; in __dls3()
1951 libc.tls_size = sizeof builtin_tls; in __dls3()
1953 libc.tls_size = tmp_tls_size; in __dls3()
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c1550 libc.tls_size = ALIGN( in update_tls_size()
1691 libc.tls_size = sizeof builtin_tls; in __dls2b()
1924 if (libc.tls_size > sizeof builtin_tls || tls_align > MIN_TLS_ALIGN) { in __dls3()
1925 initial_tls = calloc(libc.tls_size, 1); in __dls3()
1928 argv[0], libc.tls_size); in __dls3()
1946 size_t tmp_tls_size = libc.tls_size; in __dls3()
1951 libc.tls_size = sizeof builtin_tls; in __dls3()
1953 libc.tls_size = tmp_tls_size; in __dls3()
/third_party/musl/ldso/
Ddynlink.c1534 libc.tls_size = ALIGN( in update_tls_size()
1675 libc.tls_size = sizeof builtin_tls; in __dls2b()
1901 if (libc.tls_size > sizeof builtin_tls || tls_align > MIN_TLS_ALIGN) { in __dls3()
1902 initial_tls = calloc(libc.tls_size, 1); in __dls3()
1905 argv[0], libc.tls_size); in __dls3()
1923 size_t tmp_tls_size = libc.tls_size; in __dls3()
1928 libc.tls_size = sizeof builtin_tls; in __dls3()
1930 libc.tls_size = tmp_tls_size; in __dls3()
/third_party/mesa3d/src/panfrost/util/
Dpan_ir.h204 unsigned tls_size; member
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_pipeline.c313 pipeline->tls_size = MAX2(pipeline->tls_size, shader->info.tls_size); in panvk_pipeline_builder_init_shaders()
Dpanvk_private.h770 unsigned tls_size; member
Dpanvk_vX_cmd_buffer.c750 batch->tlsinfo.tls.size = MAX2(pipeline->tls_size, batch->tlsinfo.tls.size); in panvk_per_arch()
/third_party/mesa3d/src/panfrost/lib/
Dpan_indirect_dispatch.c230 assert(!shader_info.tls_size); in GENX()
Dpan_cs.c481 cfg.tls_size = shift; in GENX()
Dpan_indirect_draw.c1108 assert(!shader_info.tls_size); in create_indirect_draw_shader()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_ra.c1084 unsigned spill_count = DIV_ROUND_UP(ctx->info->tls_size, 16); in mir_ra()
1126 ctx->info->tls_size = spill_count * 16; in mir_ra()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c2496 libc.tls_size = ALIGN( in update_tls_size()
2638 libc.tls_size = sizeof builtin_tls; in __dls2b()
2907 if (libc.tls_size > sizeof builtin_tls || tls_align > MIN_TLS_ALIGN) { in __dls3()
2908 initial_tls = internal_calloc(libc.tls_size, 1); in __dls3()
2911 argv[0], libc.tls_size); in __dls3()
2935 size_t tmp_tls_size = libc.tls_size; in __dls3()
2940 libc.tls_size = sizeof builtin_tls; in __dls3()
2942 libc.tls_size = tmp_tls_size; in __dls3()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c1206 if (ss->info.tls_size) { in panfrost_emit_shared_memory()
1208 panfrost_get_stack_shift(ss->info.tls_size); in panfrost_emit_shared_memory()
1211 ss->info.tls_size, in panfrost_emit_shared_memory()
1215 ls.tls_size = shift; in panfrost_emit_shared_memory()
Dpan_job.c848 batch->stack_size = MAX2(batch->stack_size, ss->info.tls_size); in panfrost_batch_adjust_stack_size()

12