Lines Matching refs:guardsize
659 &t->thread, t->attr.stack, __get_attr_stacksize(&t->attr) + t->attr.guardsize, in pthread_create()
944 attr->guardsize = CONFIG_POSIX_PTHREAD_ATTR_GUARDSIZE_DEFAULT; in pthread_attr_init()
949 attr->stack = k_thread_stack_alloc(DYNAMIC_STACK_SIZE + attr->guardsize, in pthread_attr_init()
1321 k_thread_stack_alloc(stacksize + attr->guardsize, k_is_user_context() ? K_USER : 0); in pthread_attr_setstacksize()
1329 __get_attr_stacksize(attr) + attr->guardsize); in pthread_attr_setstacksize()
1332 LOG_DBG("Allocated thread stack %zu@%p", stacksize + attr->guardsize, new_stack); in pthread_attr_setstacksize()
1366 int pthread_attr_getguardsize(const pthread_attr_t *ZRESTRICT _attr, size_t *ZRESTRICT guardsize) in pthread_attr_getguardsize() argument
1370 if (!__attr_is_initialized(attr) || guardsize == NULL) { in pthread_attr_getguardsize()
1374 *guardsize = attr->guardsize; in pthread_attr_getguardsize()
1379 int pthread_attr_setguardsize(pthread_attr_t *_attr, size_t guardsize) in pthread_attr_setguardsize() argument
1383 if (!__attr_is_initialized(attr) || guardsize > PTHREAD_GUARD_MAX) { in pthread_attr_setguardsize()
1387 attr->guardsize = guardsize; in pthread_attr_setguardsize()