Home
last modified time | relevance | path

Searched refs:stack_size (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/include/
Dpthread.h75 size_t stack_size; member
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/
Dpthread.c94 .stack_size = DEFAULT_STACKSIZE,
174 *p_stack_size = thread->attr.stack_size; in __get_stack_base()
327 size_t stackSize = (attr->stack_size + in pthread_create()
447 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size) in pthread_attr_setstacksize() argument
449 if ((stack_size & (PAGE_SIZE - 1) || stack_size < PTHREAD_STACK_MIN)) { in pthread_attr_setstacksize()
452 attr->stack_size = stack_size; in pthread_attr_setstacksize()
456 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) in pthread_attr_getstacksize() argument
458 *stack_size = attr->stack_size; in pthread_attr_getstacksize()
478 *stack_addr = (char*)attr->stack_base + attr->stack_size; in pthread_attr_getstackaddr()
482 int pthread_attr_setstack(pthread_attr_t * attr, void * stack_base, size_t stack_size) in pthread_attr_setstack() argument
[all …]