HomeSort by: relevance | last modified time | path
    Searched refs:guardsize (Results 1 - 3 of 3) sorted by relevancy

  /src/tests/lib/libpthread/
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_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));
  /src/lib/libpthread/
pthread.c 341 size_t stacksize, guardsize; local in function:pthread__getstack
347 pthread_attr_getguardsize(attr, &guardsize);
349 guardsize = 0;
353 guardsize = pthread__guardsize;
361 newthread->pt_guardsize == guardsize)
379 guardsize = ((guardsize - 1) | (pthread__pagesize - 1)) + 1;
380 stackbase = mmap(NULL, stacksize + guardsize,
393 stackbase2 = (char *)stackbase + guardsize;
395 if (allocated && guardsize &
    [all...]

Completed in 11 milliseconds