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

/bionic/libc/include/bits/
H A Dpthread_types.h39 size_t stack_size; member in struct:__anon23
/bionic/libc/kernel/uapi/linux/
H A Dflat.h32 unsigned long stack_size; member in struct:flat_hdr
/bionic/libc/bionic/
H A Dpthread_attr.cpp44 attr->stack_size = PTHREAD_STACK_SIZE_DEFAULT;
92 int pthread_attr_setstacksize(pthread_attr_t* attr, size_t stack_size) { argument
93 if (stack_size < PTHREAD_STACK_MIN) {
96 attr->stack_size = stack_size;
100 int pthread_attr_getstacksize(const pthread_attr_t* attr, size_t* stack_size) { argument
102 return pthread_attr_getstack(attr, &unused, stack_size);
105 int pthread_attr_setstack(pthread_attr_t* attr, void* stack_base, size_t stack_size) { argument
106 if ((stack_size & (PAGE_SIZE - 1) || stack_size < PTHREAD_STACK_MI
147 __pthread_attr_getstack_main_thread(void** stack_base, size_t* stack_size) argument
183 pthread_attr_getstack(const pthread_attr_t* attr, void** stack_base, size_t* stack_size) argument
[all...]
/bionic/tests/
H A Dpthread_test.cpp158 size_t stack_size = 640 * 1024; local
159 void* stack = mmap(NULL, stack_size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
161 memset(stack, 0xff, stack_size);
165 ASSERT_EQ(0, pthread_attr_setstack(&attr, stack, stack_size));
174 ASSERT_EQ(0, munmap(stack, stack_size));
537 size_t stack_size = 640*1024; local
538 void* stack = mmap(NULL, stack_size, PROT_READ|PROT_WRITE, MAP_ANON|MAP_PRIVATE, -1, 0);
542 pthread_attr_setstack(&a, stack, stack_size);
547 ASSERT_EQ(0, munmap(stack, stack_size));
617 size_t stack_size; local
1250 size_t stack_size; local
1335 size_t stack_size; local
1393 size_t stack_size; local
[all...]

Completed in 144 milliseconds