Lines Matching refs:stacksize
58 .stacksize = 0,
208 int pthread_attr_setstack(pthread_attr_t *_attr, void *stackaddr, size_t stacksize) in pthread_attr_setstack() argument
218 attr->stacksize = stacksize; in pthread_attr_setstack()
230 if (attr->initialized == 0U || attr->stack == NULL || attr->stacksize == 0) { in pthread_attr_is_valid()
382 attr->stacksize = DYNAMIC_STACK_SIZE; in pthread_create()
384 k_thread_stack_alloc(attr->stacksize, k_is_user_context() ? K_USER : 0); in pthread_create()
386 LOG_ERR("Unable to allocate stack of size %u", attr->stacksize); in pthread_create()
439 k_thread_create(&t->thread, attr->stack, attr->stacksize, zephyr_thread_wrapper, in pthread_create()
821 int pthread_attr_getstacksize(const pthread_attr_t *_attr, size_t *stacksize) in pthread_attr_getstacksize() argument
829 *stacksize = attr->stacksize; in pthread_attr_getstacksize()
838 int pthread_attr_setstacksize(pthread_attr_t *_attr, size_t stacksize) in pthread_attr_setstacksize() argument
846 if (stacksize < PTHREAD_STACK_MIN) { in pthread_attr_setstacksize()
850 attr->stacksize = stacksize; in pthread_attr_setstacksize()
859 int pthread_attr_getstack(const pthread_attr_t *_attr, void **stackaddr, size_t *stacksize) in pthread_attr_getstack() argument
868 *stacksize = attr->stacksize; in pthread_attr_getstack()