Searched refs:stacksize (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/tests/posix/xsi_threads_ext/src/ |
D | main.c | 86 size_t stacksize = BIOS_FOOD; in ZTEST() local 93 zassert_equal(pthread_attr_getstack(NULL, NULL, &stacksize), EINVAL); in ZTEST() 95 zassert_equal(pthread_attr_getstack(NULL, &stackaddr, &stacksize), EINVAL); in ZTEST() 96 zassert_equal(pthread_attr_getstack(&uninit_attr, &stackaddr, &stacksize), in ZTEST() 100 zassert_equal(pthread_attr_getstack(&attr, NULL, &stacksize), EINVAL); in ZTEST() 104 zassert_ok(pthread_attr_getstack(&attr, &stackaddr, &stacksize)); in ZTEST() 106 zassert_not_equal(stacksize, BIOS_FOOD); in ZTEST() 112 size_t stacksize; in ZTEST() local 117 zassert_ok(pthread_attr_getstack(&attr, &stackaddr, &stacksize)); in ZTEST() 124 zassert_equal(pthread_attr_setstack(NULL, NULL, stacksize), EINVAL); in ZTEST() [all …]
|
/Zephyr-latest/lib/posix/options/ |
D | pthread.c | 47 return attr->stacksize + 1; in __get_attr_stacksize() 50 static inline void __set_attr_stacksize(struct posix_thread_attr *attr, size_t stacksize) in __set_attr_stacksize() argument 52 attr->stacksize = stacksize - 1; in __set_attr_stacksize() 283 size_t stacksize; in __attr_is_runnable() local 290 stacksize = __get_attr_stacksize(attr); in __attr_is_runnable() 291 if (stacksize < PTHREAD_STACK_MIN) { in __attr_is_runnable() 293 stacksize, (size_t)PTHREAD_STACK_MIN); in __attr_is_runnable() 344 int pthread_attr_setstack(pthread_attr_t *_attr, void *stackaddr, size_t stacksize) in pthread_attr_setstack() argument 354 if (!__attr_is_initialized(attr) || stacksize == 0 || stacksize < PTHREAD_STACK_MIN || in pthread_attr_setstack() 355 stacksize > PTHREAD_STACK_MAX) { in pthread_attr_setstack() [all …]
|
D | posix_internal.h | 28 uint32_t stacksize : CONFIG_POSIX_PTHREAD_ATTR_STACKSIZE_BITS; member
|
D | Kconfig.pthread | 110 int "Significant bits for pthread_attr_t stacksize" 115 pthread_attr_t stacksize. Valid stacksizes are in the range
|
/Zephyr-latest/include/zephyr/posix/ |
D | pthread.h | 407 int pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize); 409 int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize); 421 void **stackaddr, size_t *stacksize); 423 size_t stacksize);
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_thread.c | 90 __ASSERT(thread_def->stacksize <= CONFIG_CMSIS_THREAD_MAX_STACK_SIZE, in osThreadCreate() 108 stacksz = thread_def->stacksize; in osThreadCreate()
|
/Zephyr-latest/scripts/build/ |
D | gen_kobject_list.py | 243 *dimensions, stacksize = self.elements 250 a = addr + (i * stacksize) 252 o[a].data = stacksize
|
/Zephyr-latest/include/zephyr/portability/ |
D | cmsis_os.h | 170 …uint32_t stacksize; ///< stack size requirements in bytes; 0 is default stack size member
|