/third_party/musl/porting/linux/user/src/env/ |
D | __init_tls.c | 48 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.c | 47 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.c | 79 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/ |
D | pthread_create.c | 258 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/ |
D | pthread_create.c | 277 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/ |
D | pthread_create.c | 394 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/ |
D | nv50_screen.c | 937 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/ |
D | libc.h | 28 size_t tls_size, tls_align, tls_cnt; member
|
/third_party/musl/porting/liteos_a/user/src/internal/ |
D | libc.h | 28 size_t tls_size, tls_align, tls_cnt; member
|
/third_party/musl/porting/linux/user/src/internal/ |
D | libc.h | 44 size_t tls_size, tls_align, tls_cnt; member
|
/third_party/musl/porting/liteos_a/user_debug/ldso/ |
D | dynlink.c | 1589 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/ |
D | dynlink.c | 1590 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/ |
D | dynlink.c | 1573 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/ |
D | pan_indirect_dispatch.c | 161 assert(!shader_info.tls_size); in GENX()
|
D | pan_cs.c | 548 cfg.tls_size = shift; in GENX()
|
/third_party/mesa3d/src/panfrost/util/ |
D | pan_ir.h | 276 unsigned tls_size; member
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_pipeline.c | 258 pipeline->tls_size = MAX2(pipeline->tls_size, shader->info.tls_size); in panvk_pipeline_builder_init_shaders()
|
D | panvk_vX_cmd_buffer.c | 773 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()
|
D | panvk_private.h | 868 unsigned tls_size; member
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bi_ra.c | 854 unsigned spill_count = ctx->info.tls_size; in bi_register_allocate() 916 ctx->info.tls_size = spill_count; in bi_register_allocate()
|
D | bifrost_compile.c | 5199 .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()
|
D | compiler.h | 748 unsigned tls_size; member
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_ra.c | 1150 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/ |
D | dynlink.c | 2713 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/ |
D | pan_job.c | 920 batch->stack_size = MAX2(batch->stack_size, ss->info.tls_size); in panfrost_batch_adjust_stack_size()
|