Searched refs:stackaddr (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/posix/xsi_threads_ext/src/ |
D | main.c | 85 void *stackaddr = (void *)BIOS_FOOD; in ZTEST() local 94 zassert_equal(pthread_attr_getstack(NULL, &stackaddr, NULL), 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() 101 zassert_equal(pthread_attr_getstack(&attr, &stackaddr, NULL), EINVAL); in ZTEST() 104 zassert_ok(pthread_attr_getstack(&attr, &stackaddr, &stacksize)); in ZTEST() 105 zassert_not_equal(stackaddr, (void *)BIOS_FOOD); in ZTEST() 111 void *stackaddr; in ZTEST() local 117 zassert_ok(pthread_attr_getstack(&attr, &stackaddr, &stacksize)); in ZTEST() 125 zassert_equal(pthread_attr_setstack(NULL, stackaddr, 0), EINVAL); in ZTEST() [all …]
|
/Zephyr-latest/include/zephyr/posix/ |
D | pthread.h | 421 void **stackaddr, size_t *stacksize); 422 int pthread_attr_setstack(pthread_attr_t *attr, void *stackaddr,
|
/Zephyr-latest/lib/posix/options/ |
D | pthread.c | 340 int pthread_attr_setstack(pthread_attr_t *_attr, void *stackaddr, size_t stacksize) in pthread_attr_setstack() argument 345 if (stackaddr == NULL) { in pthread_attr_setstack() 364 attr->stack = stackaddr; in pthread_attr_setstack() 1353 int pthread_attr_getstack(const pthread_attr_t *_attr, void **stackaddr, size_t *stacksize) in pthread_attr_getstack() argument 1357 if (!__attr_is_initialized(attr) || (stackaddr == NULL) || (stacksize == NULL)) { in pthread_attr_getstack() 1361 *stackaddr = attr->stack; in pthread_attr_getstack()
|