/src/tests/lib/libpthread/ |
t_join.c | 152 size_t stacksize, guardsize; local in function:threadfunc2 159 ATF_REQUIRE(pthread_attr_getguardsize(&attr, &guardsize) == 0); 160 ATF_REQUIRE(guardsize == STACKSIZE * (j + 2));
|
t_join.c | 152 size_t stacksize, guardsize; local in function:threadfunc2 159 ATF_REQUIRE(pthread_attr_getguardsize(&attr, &guardsize) == 0); 160 ATF_REQUIRE(guardsize == STACKSIZE * (j + 2));
|
t_stack.c | 59 size_t guardsize; /* default guard size */ member in struct:ctx 118 unsigned guardsize; local in function:getdefaultguardsize 119 size_t len = sizeof(guardsize); 121 RL(sysctl(mib, __arraycount(mib), &guardsize, &len, NULL, 0)); 122 ATF_REQUIRE_EQ_MSG(len, sizeof(guardsize), 123 "len=%zu sizeof(guardsize)=%zu", len, sizeof(guardsize)); 129 ATF_CHECK_EQ_MSG(guardsize, pthread__guardsize, 130 "guardsize=%u pthread__guardsize=%zu", 131 guardsize, pthread__guardsize) 283 size_t size, guardsize; local in function:checkguardaccessthread [all...] |
t_stack.c | 59 size_t guardsize; /* default guard size */ member in struct:ctx 118 unsigned guardsize; local in function:getdefaultguardsize 119 size_t len = sizeof(guardsize); 121 RL(sysctl(mib, __arraycount(mib), &guardsize, &len, NULL, 0)); 122 ATF_REQUIRE_EQ_MSG(len, sizeof(guardsize), 123 "len=%zu sizeof(guardsize)=%zu", len, sizeof(guardsize)); 129 ATF_CHECK_EQ_MSG(guardsize, pthread__guardsize, 130 "guardsize=%u pthread__guardsize=%zu", 131 guardsize, pthread__guardsize) 283 size_t size, guardsize; local in function:checkguardaccessthread [all...] |
/src/lib/libpthread/ |
pthread.c | 339 size_t stacksize, guardsize; local in function:pthread__getstack 345 pthread_attr_getguardsize(attr, &guardsize); 347 guardsize = 0; 351 guardsize = pthread__guardsize; 359 newthread->pt_guardsize == guardsize) 377 guardsize = ((guardsize - 1) | (pthread__pagesize - 1)) + 1; 378 stackbase = mmap(NULL, stacksize + guardsize, 391 stackbase2 = (char *)stackbase + guardsize; 393 if (allocated && guardsize & [all...] |
pthread.c | 339 size_t stacksize, guardsize; local in function:pthread__getstack 345 pthread_attr_getguardsize(attr, &guardsize); 347 guardsize = 0; 351 guardsize = pthread__guardsize; 359 newthread->pt_guardsize == guardsize) 377 guardsize = ((guardsize - 1) | (pthread__pagesize - 1)) + 1; 378 stackbase = mmap(NULL, stacksize + guardsize, 391 stackbase2 = (char *)stackbase + guardsize; 393 if (allocated && guardsize & [all...] |