Home
last modified time | relevance | path

Searched refs:stacksize (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.5.0/lib/posix/
Dpthread.c58 .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()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/posix/
Dpthread.h429 int pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize);
430 int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize);
442 void **stackaddr, size_t *stacksize);
444 size_t stacksize);
Dposix_types.h42 uint32_t stacksize; member
/Zephyr-Core-3.5.0/tests/posix/common/src/
Dpthread.c267 size_t stacksize; in ZTEST() local
315 ret = pthread_attr_getstack(&attr[0], &stackaddr, &stacksize); in ZTEST()
318 ret = pthread_attr_getstacksize(&attr[0], &stacksize); in ZTEST()
354 pthread_attr_getstack(&attr[i], &stackaddr, &stacksize); in ZTEST()
357 zassert_equal(STACKS, stacksize, "stack sizes do not match!"); in ZTEST()
359 pthread_attr_getstacksize(&attr[i], &stacksize); in ZTEST()
360 zassert_equal(STACKS, stacksize, "stack sizes do not match!"); in ZTEST()
449 size_t stacksize; in ZTEST() local
458 zassert_equal(pthread_attr_getstack(NULL, &stackaddr, &stacksize), in ZTEST()
460 zassert_equal(pthread_attr_getstacksize(NULL, &stacksize), in ZTEST()
/Zephyr-Core-3.5.0/subsys/portability/cmsis_rtos_v1/
Dcmsis_thread.c78 __ASSERT(thread_def->stacksize <= CONFIG_CMSIS_THREAD_MAX_STACK_SIZE, in osThreadCreate()
96 stacksz = thread_def->stacksize; in osThreadCreate()
/Zephyr-Core-3.5.0/scripts/build/
Dgen_kobject_list.py239 *dimensions, stacksize = self.elements
246 a = addr + (i * stacksize)
248 o[a].data = stacksize
/Zephyr-Core-3.5.0/include/zephyr/portability/
Dcmsis_os.h170 …uint32_t stacksize; ///< stack size requirements in bytes; 0 is default stack size member