Home
last modified time | relevance | path

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

/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/
A Dmanager.c372 guardsize = 0; in pthread_allocate_stack()
392 guardsize = 0; in pthread_allocate_stack()
424 guardsize = granularity; in pthread_allocate_stack()
437 if (guardsize > 0) in pthread_allocate_stack()
443 + guardsize)); in pthread_allocate_stack()
446 + guardsize)) - 1; in pthread_allocate_stack()
450 if (guardsize > 0) in pthread_allocate_stack()
461 if (guardsize > 0) in pthread_allocate_stack()
549 if (guardsize > 0) in pthread_allocate_stack()
564 if (guardsize > 0) in pthread_allocate_stack()
[all …]
A Dattr.c148 int __pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize) in strong_alias()
151 if (guardsize >= attr->__stacksize) return EINVAL; in strong_alias()
153 attr->__guardsize = guardsize; in strong_alias()
159 int __pthread_attr_getguardsize(const pthread_attr_t *attr, size_t *guardsize) in weak_alias()
161 *guardsize = attr->__guardsize; in weak_alias()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/
A Dallocatestack.c440 size_t guardsize; in allocate_stack() local
459 guardsize = (attr->guardsize + pagesize_m1) & ~pagesize_m1; in allocate_stack()
589 if (__builtin_expect (guardsize > pd->guardsize, 0)) in allocate_stack()
624 pd->guardsize = guardsize; in allocate_stack()
626 else if (__builtin_expect (pd->guardsize - guardsize > size - reqsize, in allocate_stack()
639 if (mprotect (guard + guardsize, in allocate_stack()
640 oldguard + pd->guardsize - guard - guardsize, in allocate_stack()
644 if (mprotect ((char *) mem + guardsize, pd->guardsize - guardsize, in allocate_stack()
649 pd->guardsize - guardsize, prot) != 0) in allocate_stack()
653 pd->guardsize = guardsize; in allocate_stack()
[all …]
A Dpthread_attr_getguardsize.c24 pthread_attr_getguardsize (const pthread_attr_t *attr, size_t *guardsize) in pthread_attr_getguardsize() argument
31 *guardsize = iattr->guardsize; in pthread_attr_getguardsize()
A Dpthread_attr_setguardsize.c24 pthread_attr_setguardsize (pthread_attr_t* attr, size_t guardsize) in pthread_attr_setguardsize() argument
34 iattr->guardsize = guardsize; in pthread_attr_setguardsize()
A Dpthread_attr_init.c46 iattr->guardsize = getpagesize (); in __pthread_attr_init_2_1()
A Dpthread_getattr_np.c57 iattr->guardsize = thread->reported_guardsize; in pthread_getattr_np()
A Ddescr.h358 size_t guardsize; member
A Dpthread_create.c426 .guardsize = 1,
A DChangeLog5117 reported_guardsize instead of guardsize.
6259 guardsize for each thread.
/l4re-core-master/uclibc/lib/libpthread/src/
A Dmanager.cc391 size_t stacksize, guardsize; in pthread_allocate_stack() local
411 guardsize = 0; in pthread_allocate_stack()
431 guardsize = 0; in pthread_allocate_stack()
457 guardsize = granularity; in pthread_allocate_stack()
505 if (guardsize > 0) in pthread_allocate_stack()
520 *out_guardsize = guardsize; in pthread_allocate_stack()
675 size_t guardsize = 0, stksize = 0; in pthread_handle_create() local
752 new_thread->p_guardsize = guardsize; in pthread_handle_create()
824 munmap(stack_addr, stacksize + guardsize); in pthread_handle_create()
840 munmap(new_thread_bottom - guardsize, guardsize + stacksize); in pthread_handle_create()
[all …]
A Dattr.c182 __pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize) in strong_alias()
185 if (guardsize >= attr->__stacksize) return EINVAL; in strong_alias()
187 attr->__guardsize = guardsize; in strong_alias()
195 __pthread_attr_getguardsize(const pthread_attr_t *attr, size_t *guardsize) in weak_alias()
197 *guardsize = attr->__guardsize; in weak_alias()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/
A Dattr.c181 int __pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize) in libpthread_hidden_def()
186 guardsize = roundup (guardsize, ps); in libpthread_hidden_def()
189 if (guardsize >= attr->__stacksize) return EINVAL; in libpthread_hidden_def()
191 attr->__guardsize = guardsize; in libpthread_hidden_def()
197 int __pthread_attr_getguardsize(const pthread_attr_t *attr, size_t *guardsize) in weak_alias()
199 *guardsize = attr->__guardsize; in weak_alias()
A Dmanager.c350 size_t stacksize, guardsize; in pthread_allocate_stack() local
358 guardsize = 0; in pthread_allocate_stack()
392 guardsize = 0; in pthread_allocate_stack()
397 guardsize = attr->__guardsize; in pthread_allocate_stack()
398 guardaddr = (void *)new_thread_bottom - guardsize; in pthread_allocate_stack()
404 guardsize = 0; in pthread_allocate_stack()
447 guardsize = 0; in pthread_allocate_stack()
468 *out_guardsize = guardsize; in pthread_allocate_stack()
485 size_t guardsize = 0; in pthread_handle_create() local
504 &guardaddr, &guardsize) == 0) in pthread_handle_create()
[all …]
A Dlinuxthreads.texi317 @item guardsize
327 attribute has been set), then the @code{guardsize} attribute is ignored.
/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/
A Dtst-attr3.c271 size_t guardsize; in do_test() local
272 err = pthread_attr_getguardsize (&a, &guardsize); in do_test()
278 else if (guardsize != 0) in do_test()
281 guardsize); in do_test()
A Dtst-timer4.c68 size_t guardsize = -1; in thr2() local
78 ret = pthread_attr_getguardsize (&nattr, &guardsize); in thr2()
100 thr2_guardsize = guardsize; in thr2()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/
A Dtimer_create.c186 nattr->guardsize = oattr->guardsize; in timer_create()
A Dinternaltypes.h33 size_t guardsize; member
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/
A Dtimer_routines.c506 && ileft->guardsize == iright->guardsize in thread_attr_compare()

Completed in 38 milliseconds