Home
last modified time | relevance | path

Searched refs:stacksize (Results 1 – 24 of 24) sorted by relevance

/dragonfly/lib/libthread_xu/thread/
H A Dthr_stack.c44 size_t stacksize; /* Stack size (rounded up). */ member
89 size_t stacksize; in _thr_stack_alloc() local
100 stacksize = round_up(attr->stacksize_attr); in _thr_stack_alloc()
115 if ((stacksize == THR_STACK_DEFAULT) && in _thr_stack_alloc()
130 if (spare_stack->stacksize == stacksize && in _thr_stack_alloc()
179 stackaddr = mmap(base_stack, stacksize + guardsize, in _thr_stack_alloc()
185 munmap(stackaddr, stacksize + guardsize); in _thr_stack_alloc()
211 spare_stack->stacksize = round_up(attr->stacksize_attr); in _thr_stack_free()
215 if (spare_stack->stacksize == THR_STACK_DEFAULT && in _thr_stack_free()
235 spare->stacksize + spare->guardsize); in _thr_stack_cleanup()
H A Dthr_attr.c241 size_t * __restrict stacksize) in _pthread_attr_getstack() argument
247 || stacksize == NULL ) in _pthread_attr_getstack()
252 *stacksize = (*attr)->stacksize_attr; in _pthread_attr_getstack()
280 size_t * __restrict stacksize) in _pthread_attr_getstacksize() argument
285 if (attr == NULL || *attr == NULL || stacksize == NULL) in _pthread_attr_getstacksize()
289 *stacksize = (*attr)->stacksize_attr; in _pthread_attr_getstacksize()
500 size_t stacksize) in _pthread_attr_setstack() argument
506 || stacksize < PTHREAD_STACK_MIN) in _pthread_attr_setstack()
511 (*attr)->stacksize_attr = stacksize; in _pthread_attr_setstack()
538 _pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) in _pthread_attr_setstacksize() argument
[all …]
/dragonfly/contrib/gcc-8.0/libgomp/
H A Denv.c1069 handle_omp_display_env (unsigned long stacksize, int wait_policy) in handle_omp_display_env() argument
1184 fprintf (stderr, " OMP_STACKSIZE = '%lu'\n", stacksize); in handle_omp_display_env()
1204 fprintf (stderr, " GOMP_STACKSIZE = '%lu'\n", stacksize); in handle_omp_display_env()
1221 unsigned long thread_limit_var, stacksize = GOMP_DEFAULT_STACKSIZE; in initialize_env() local
1307 if (parse_stacksize ("OMP_STACKSIZE", &stacksize) in initialize_env()
1308 || parse_stacksize ("GOMP_STACKSIZE", &stacksize) in initialize_env()
1313 err = pthread_attr_setstacksize (&gomp_thread_attr, stacksize); in initialize_env()
1318 if (stacksize < PTHREAD_STACK_MIN) in initialize_env()
1331 handle_omp_display_env (stacksize, wait_policy); in initialize_env()
H A Dteam.c713 size_t stacksize; in gomp_team_start() local
716 if (! pthread_attr_getstacksize (&gomp_thread_attr, &stacksize)) in gomp_team_start()
717 pthread_attr_setstacksize (&thread_attr, stacksize); in gomp_team_start()
/dragonfly/contrib/gcc-4.7/libgomp/
H A Denv.c572 unsigned long stacksize; in initialize_env() local
627 if (parse_stacksize ("OMP_STACKSIZE", &stacksize) in initialize_env()
628 || parse_stacksize ("GOMP_STACKSIZE", &stacksize)) in initialize_env()
632 err = pthread_attr_setstacksize (&gomp_thread_attr, stacksize); in initialize_env()
637 if (stacksize < PTHREAD_STACK_MIN) in initialize_env()
H A Dteam.c402 size_t stacksize; in gomp_team_start() local
405 if (! pthread_attr_getstacksize (&gomp_thread_attr, &stacksize)) in gomp_team_start()
406 pthread_attr_setstacksize (&thread_attr, stacksize); in gomp_team_start()
/dragonfly/contrib/binutils-2.34/bfd/
H A Delf-properties.c606 if (info->stacksize > 0) in _bfd_elf_link_setup_gnu_properties()
609 bfd_vma stacksize = info->stacksize; in _bfd_elf_link_setup_gnu_properties() local
616 p->u.number = stacksize; in _bfd_elf_link_setup_gnu_properties()
619 else if (stacksize > p->u.number) in _bfd_elf_link_setup_gnu_properties()
620 p->u.number = stacksize; in _bfd_elf_link_setup_gnu_properties()
H A Delflink.c6215 if (info->stacksize) in bfd_elf_stack_segment_size()
6224 info->stacksize = h->root.u.def.value; in bfd_elf_stack_segment_size()
6227 if (!info->stacksize) in bfd_elf_stack_segment_size()
6230 info->stacksize = default_size; in bfd_elf_stack_segment_size()
6241 info->stacksize >= 0 ? info->stacksize : 0, in bfd_elf_stack_segment_size()
6841 if (notesec || info->stacksize > 0) in bfd_elf_size_dynamic_sections()
H A Delf.c5186 if (info->stacksize > 0) in _bfd_elf_map_sections_to_segments()
5188 m->p_size = info->stacksize; in _bfd_elf_map_sections_to_segments()
/dragonfly/usr.bin/ktrdump/
H A Dktrdump.c1276 size_t *stacksize) in va_list_push_integral() argument
1302 *stacksize + sizeof(r)))) in va_list_push_integral()
1309 memcpy((char *)valist->overflow_arg_area + *stacksize, &r, sizeof(r)); in va_list_push_integral()
1310 *stacksize += sizeof(r); in va_list_push_integral()
1341 size_t stacksize, sz; in va_list_from_blob() local
1354 stacksize = 0; in va_list_from_blob()
1366 if (va_list_push_integral(valist, blob, sz, &stacksize)) in va_list_from_blob()
/dragonfly/etc/
H A Dlogin.conf35 :stacksize=unlimited:\
/dragonfly/contrib/gdb-7/include/mach-o/
H A Dexternal.h314 unsigned char stacksize[8]; /* Initial stack size, if no null. */ member
/dragonfly/contrib/binutils-2.27/include/mach-o/
H A Dexternal.h339 unsigned char stacksize[8]; /* Initial stack size, if no null. */ member
/dragonfly/contrib/gdb-7/include/
H A Dbfdlink.h421 bfd_signed_vma stacksize; member
/dragonfly/contrib/binutils-2.34/ld/emultempl/
H A Delf.em733 link_info.stacksize = strtoul (optarg + 11, &end, 0);
734 if (*end || link_info.stacksize < 0)
736 if (!link_info.stacksize)
739 link_info.stacksize = -1;
/dragonfly/contrib/binutils-2.27/include/
H A Dbfdlink.h489 bfd_signed_vma stacksize; member
/dragonfly/contrib/binutils-2.34/include/
H A Dbfdlink.h517 bfd_signed_vma stacksize; member
/dragonfly/contrib/binutils-2.27/ld/emultempl/
H A Delf32.em2367 link_info.stacksize = strtoul (optarg + 11, &end, 0);
2368 if (*end || link_info.stacksize < 0)
2370 if (!link_info.stacksize)
2373 link_info.stacksize = -1;
/dragonfly/contrib/binutils-2.27/bfd/
H A Delflink.c5760 if (info->stacksize) in bfd_elf_stack_segment_size()
5767 info->stacksize = h->root.u.def.value; in bfd_elf_stack_segment_size()
5770 if (!info->stacksize) in bfd_elf_stack_segment_size()
5773 info->stacksize = default_size; in bfd_elf_stack_segment_size()
5784 info->stacksize >= 0 ? info->stacksize : 0, in bfd_elf_stack_segment_size()
5874 if (notesec || info->stacksize > 0) in bfd_elf_size_dynamic_sections()
H A Delf.c4804 if (info->stacksize > 0) in _bfd_elf_map_sections_to_segments()
4806 m->p_size = info->stacksize; in _bfd_elf_map_sections_to_segments()
/dragonfly/contrib/gdb-7/bfd/
H A Delflink.c5582 if (info->stacksize) in bfd_elf_stack_segment_size()
5589 info->stacksize = h->root.u.def.value; in bfd_elf_stack_segment_size()
5592 if (!info->stacksize) in bfd_elf_stack_segment_size()
5595 info->stacksize = default_size; in bfd_elf_stack_segment_size()
5606 info->stacksize >= 0 ? info->stacksize : 0, in bfd_elf_stack_segment_size()
5696 if (notesec || info->stacksize > 0) in bfd_elf_size_dynamic_sections()
H A Delf.c4154 if (info->stacksize > 0) in _bfd_elf_map_sections_to_segments()
4156 m->p_size = info->stacksize; in _bfd_elf_map_sections_to_segments()
/dragonfly/contrib/byacc/
H A DCHANGES4210 stacksize; the BSD Lite sources (a year or two later) used 10000.
4217 RedHat #743343 misattributed the change in default stacksize to
/dragonfly/contrib/gcc-4.7/gcc/doc/
H A Dinvoke.texi521 -mmax-stack-frame=@var{n} -melinux-stacksize=@var{n} @gol