Lines Matching defs:stack
139 /* The following call unmaps the thread's stack mapping
140 * and then exits without touching the stack. */
154 * signals, since they will not have a stack in their last
239 unsigned char *map = 0, *stack = 0, *tsd = 0, *stack_limit;
260 stack = (void *)(attr._a_stackaddr & -16);
262 /* Use application-provided stack for TLS only when
264 * application's stack space. */
266 tsd = stack - __pthread_tsd_size;
267 stack = tsd - libc.tls_size;
268 memset(stack, 0, need);
293 if (!stack) {
294 stack = tsd - libc.tls_size;
302 new->stack = stack;
303 new->stack_size = stack - stack_limit;
317 /* Setup argument structure for the new thread on its stack.
320 stack -= (uintptr_t)stack % sizeof(uintptr_t);
321 stack -= sizeof(struct start_args);
322 struct start_args *args = (void *)stack;
341 ret = __thread_clone((c11 ? start_c11 : start), flags, new, stack);