Home
last modified time | relevance | path

Searched refs:map_base (Results 1 – 13 of 13) sorted by relevance

/third_party/musl/porting/liteos_m/user/src/thread/
Dpthread_create.c120 unsigned char *stack = 0, *stack_limit, *map_base = 0; in __pthread_create() local
136 map_base = malloc(size); in __pthread_create()
137 if (map_base == NULL) goto fail; in __pthread_create()
138 stack_limit = map_base; in __pthread_create()
139 stack = map_base + size; in __pthread_create()
142 new->map_base = stack_limit; in __pthread_create()
183 if (map_base) free(map_base); in __pthread_create()
/third_party/musl/src/thread/liteos_a/
Dpthread_clone.c24 unsigned long map_base; member
40 param.map_base = thread->map_base; in __thread_clone()
Dpthread_create.c133 if (state==DT_DETACHED && self->map_base) { in __pthread_exit()
141 __unmapself(self->map_base, self->map_size); in __pthread_exit()
300 new->map_base = map; in __pthread_create()
/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_clone.c9 unsigned long map_base; member
25 param.map_base = thread->map_base; in __thread_clone()
Dpthread_create.c133 if (state==DT_DETACHED && self->map_base) { in __pthread_exit()
141 __unmapself(self->map_base, self->map_size); in __pthread_exit()
300 new->map_base = map; in __pthread_create()
/third_party/musl/src/thread/linux/
Dpthread_create.c30 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, new->map_base, new->guard_size, name); in stack_naming()
31 start_addr = new->map_base + new->guard_size; in stack_naming()
35 start_addr = new->map_base; in stack_naming()
170 if (state==DT_DETACHED && self->map_base) { in __pthread_exit()
240 if (state==DT_DETACHED && self->map_base) { in __pthread_exit()
253 __unmapself(self->map_base, self->map_size); in __pthread_exit()
443 new->map_base = map; in __pthread_create()
/third_party/musl/porting/linux/user/src/thread/
Dpthread_create.c30 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, new->map_base, new->guard_size, name); in stack_naming()
31 start_addr = new->map_base + new->guard_size; in stack_naming()
35 start_addr = new->map_base; in stack_naming()
170 if (state==DT_DETACHED && self->map_base) { in __pthread_exit()
240 if (state==DT_DETACHED && self->map_base) { in __pthread_exit()
253 __unmapself(self->map_base, self->map_size); in __pthread_exit()
443 new->map_base = map; in __pthread_create()
/third_party/musl/src/thread/
Dpthread_join.c57 if (t->map_base) __munmap(t->map_base, t->map_size); in __pthread_timedjoin_np()
Dpthread_create.c87 if (state==DT_DETACHED && self->map_base) { in __pthread_exit()
151 if (state==DT_DETACHED && self->map_base) { in __pthread_exit()
164 __unmapself(self->map_base, self->map_size); in __pthread_exit()
319 new->map_base = map; in __pthread_create()
/third_party/musl/porting/liteos_m/user/src/internal/
Dpthread_impl.h34 unsigned char *map_base; member
/third_party/musl/porting/liteos_a/user/src/internal/
Dpthread_impl.h42 unsigned char *map_base; member
/third_party/musl/porting/linux/user/src/internal/
Dpthread_impl.h63 unsigned char *map_base; member
/third_party/musl/src/internal/
Dpthread_impl.h50 unsigned char *map_base; member