Searched refs:guardsize (Results 1 – 10 of 10) sorted by relevance
/nptl/ |
A D | allocatestack.c | 328 size_t guardsize; in allocate_stack() local 347 guardsize = (attr->guardsize + pagesize_m1) & ~pagesize_m1; in allocate_stack() 349 if (guardsize > 0 && guardsize < ARCH_MIN_GUARD_SIZE) in allocate_stack() 351 if (guardsize < attr->guardsize || size + guardsize < guardsize) in allocate_stack() 409 pd->guardsize = guardsize; in allocate_stack() 478 if (__glibc_unlikely (guardsize > pd->guardsize)) in allocate_stack() 505 pd->guardsize = guardsize; in allocate_stack() 507 else if (__builtin_expect (pd->guardsize - guardsize > size - reqsize, in allocate_stack() 521 oldguard + pd->guardsize - guard - guardsize, in allocate_stack() 525 if (__mprotect ((char *) mem + guardsize, pd->guardsize - guardsize, in allocate_stack() [all …]
|
A D | pthread_attr_getguardsize.c | 22 __pthread_attr_getguardsize (const pthread_attr_t *attr, size_t *guardsize) in __pthread_attr_getguardsize() argument 28 *guardsize = iattr->guardsize; in __pthread_attr_getguardsize()
|
A D | pthread_attr_setguardsize.c | 22 __pthread_attr_setguardsize (pthread_attr_t *attr, size_t guardsize) in __pthread_attr_setguardsize() argument 31 iattr->guardsize = guardsize; in __pthread_attr_setguardsize()
|
A D | tst-default-attr.c | 41 static size_t guardsize; variable 274 if (guardsize != guard) in verify_guardsize_result() 276 printf ("failed to set guardsize (%zu, %zu)\n", guardsize, guard); in verify_guardsize_result() 298 RETURN_IF_FAIL (pthread_attr_getguardsize, &attr, &guardsize); in do_guardsize_test() 299 guardsize += pagesize; in do_guardsize_test() 300 RETURN_IF_FAIL (pthread_attr_setguardsize, &attr, guardsize); in do_guardsize_test()
|
A D | pthread_attr_init.c | 46 iattr->guardsize = __getpagesize (); in __pthread_attr_init()
|
A D | tst-attr3.c | 273 size_t guardsize; in do_test() local 274 err = pthread_attr_getguardsize (&a, &guardsize); in do_test() 280 else if (guardsize != 0) in do_test() 283 guardsize); in do_test()
|
A D | pthread_getattr_np.c | 59 iattr->guardsize = thread->reported_guardsize; in __pthread_getattr_np() 66 iattr->stacksize = thread->stackblock_size - thread->guardsize; in __pthread_getattr_np()
|
A D | perf.c | 120 static long int guardsize = -1; variable 407 if (guardsize != -1 in main() 408 && pthread_attr_setguardsize (&attr, guardsize) != 0) in main() 572 guardsize = snum; in parse_opt()
|
A D | descr.h | 375 size_t guardsize; member
|
A D | pthread_create.c | 552 pd->guardsize); in start_thread() 926 new_attr.guardsize = ps; in __pthread_create_2_0()
|
Completed in 14 milliseconds