Searched defs:stack_size (Results 1 - 2 of 2) sorted by relevance

/bionic/libc/include/
H A Dpthread.h75 size_t stack_size; member in struct:__anon36
126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size);
127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size);
132 int pthread_attr_setstack(pthread_attr_t * attr, void * stackaddr, size_t stack_size);
133 int pthread_attr_getstack(pthread_attr_t const * attr, void ** stackaddr, size_t * stack_size);
/bionic/libc/bionic/
H A Dpthread.c97 .stack_size = DEFAULT_STACKSIZE,
161 *p_stack_size = thread->attr.stack_size;
321 size_t stack_size = (attr->stack_size + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1); local
324 stack = mkstack(stack_size, attr->guard_size);
332 void** tls = (void**)(stack + stack_size - BIONIC_TLS_SLOTS*sizeof(void*));
354 munmap(stack, stack_size);
441 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size) argument
443 if ((stack_size & (PAGE_SIZE - 1) || stack_size < PTHREAD_STACK_MI
450 pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) argument
476 pthread_attr_setstack(pthread_attr_t * attr, void * stack_base, size_t stack_size) argument
489 pthread_attr_getstack(pthread_attr_t const * attr, void ** stack_base, size_t * stack_size) argument
567 int stack_size = thread->attr.stack_size; local
[all...]

Completed in 296 milliseconds