/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/ |
A D | manager.c | 372 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 D | attr.c | 148 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 D | allocatestack.c | 440 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 D | pthread_attr_getguardsize.c | 24 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 D | pthread_attr_setguardsize.c | 24 pthread_attr_setguardsize (pthread_attr_t* attr, size_t guardsize) in pthread_attr_setguardsize() argument 34 iattr->guardsize = guardsize; in pthread_attr_setguardsize()
|
A D | pthread_attr_init.c | 46 iattr->guardsize = getpagesize (); in __pthread_attr_init_2_1()
|
A D | pthread_getattr_np.c | 57 iattr->guardsize = thread->reported_guardsize; in pthread_getattr_np()
|
A D | descr.h | 358 size_t guardsize; member
|
A D | pthread_create.c | 426 .guardsize = 1,
|
A D | ChangeLog | 5117 reported_guardsize instead of guardsize. 6259 guardsize for each thread.
|
/l4re-core-master/uclibc/lib/libpthread/src/ |
A D | manager.cc | 391 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 D | attr.c | 182 __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 D | attr.c | 181 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 D | manager.c | 350 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 D | linuxthreads.texi | 317 @item guardsize 327 attribute has been set), then the @code{guardsize} attribute is ignored.
|
/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/ |
A D | tst-attr3.c | 271 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 D | tst-timer4.c | 68 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 D | timer_create.c | 186 nattr->guardsize = oattr->guardsize; in timer_create()
|
A D | internaltypes.h | 33 size_t guardsize; member
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/ |
A D | timer_routines.c | 506 && ileft->guardsize == iright->guardsize in thread_attr_compare()
|