Home
last modified time | relevance | path

Searched refs:guardsize (Results 1 – 10 of 10) sorted by relevance

/nptl/
A Dallocatestack.c328 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 Dpthread_attr_getguardsize.c22 __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 Dpthread_attr_setguardsize.c22 __pthread_attr_setguardsize (pthread_attr_t *attr, size_t guardsize) in __pthread_attr_setguardsize() argument
31 iattr->guardsize = guardsize; in __pthread_attr_setguardsize()
A Dtst-default-attr.c41 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 Dpthread_attr_init.c46 iattr->guardsize = __getpagesize (); in __pthread_attr_init()
A Dtst-attr3.c273 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 Dpthread_getattr_np.c59 iattr->guardsize = thread->reported_guardsize; in __pthread_getattr_np()
66 iattr->stacksize = thread->stackblock_size - thread->guardsize; in __pthread_getattr_np()
A Dperf.c120 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 Ddescr.h375 size_t guardsize; member
A Dpthread_create.c552 pd->guardsize); in start_thread()
926 new_attr.guardsize = ps; in __pthread_create_2_0()

Completed in 12 milliseconds