| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
| multi-create.c | 42 size_t stacksize; local 47 pthread_attr_getstacksize (&attr, &stacksize); 48 pthread_attr_setstacksize (&attr, 2 * stacksize); 72 size_t stacksize; local 76 pthread_attr_getstacksize (&attr, &stacksize); 77 pthread_attr_setstacksize (&attr, 2 * stacksize);
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
| multi-create.c | 42 size_t stacksize; local 47 pthread_attr_getstacksize (&attr, &stacksize); 48 pthread_attr_setstacksize (&attr, 2 * stacksize); 72 size_t stacksize; local 76 pthread_attr_getstacksize (&attr, &stacksize); 77 pthread_attr_setstacksize (&attr, 2 * stacksize);
|
| /src/external/bsd/ntp/dist/libntp/lib/isc/pthreads/ |
| thread.c | 38 size_t stacksize; local 45 ret = pthread_attr_getstacksize(&attr, &stacksize); 49 if (stacksize < THREAD_MINSTACKSIZE) {
|
| /src/external/gpl3/gdb/dist/sim/testsuite/cris/c/ |
| clone4.c | 32 int stacksize = 16384; local 36 char *stack = malloc (stacksize); 40 pid = clone (process, (char *) stack + stacksize - 64,
|
| /src/external/gpl3/gdb.old/dist/sim/testsuite/cris/c/ |
| clone4.c | 32 int stacksize = 16384; local 36 char *stack = malloc (stacksize); 40 pid = clone (process, (char *) stack + stacksize - 64,
|
| /src/external/bsd/pcc/dist/pcc/arch/sparc64/ |
| code.c | 137 moveargs(NODE *p, int *regp, int *stacksize) 142 p->n_left = moveargs(p->n_left, regp, stacksize); 153 *stacksize = ALIGN(*stacksize, (tlen(r) - 1)); 154 r->n_rval = *stacksize; 155 *stacksize += tlen(r); 193 int reg = 0, stacksize = 0; local 197 p->n_right = moveargs(p->n_right, ®, &stacksize); 206 * stacksize values to the prologue and doing it all in the "save" 209 if (stacksize != 0) [all...] |
| /src/lib/libpuffs/ |
| callcontext.c | 190 size_t stacksize = 1<<pu->pu_cc_stackshift; local 196 sp = mmap(NULL, stacksize, PROT_READ|PROT_WRITE, 207 mprotect((uint8_t *)sp + stacksize - psize, (size_t)psize, PROT_NONE); 212 munmap(pcc, stacksize); 216 munmap(pcc, stacksize); 228 size_t stacksize = 1<<pu->pu_cc_stackshift; local 264 st->ss_size = stacksize - psize; 296 size_t stacksize = 1<<pu->pu_cc_stackshift; local 300 munmap(pcc, stacksize); 337 size_t stacksize = 1<<pu->pu_cc_stackshift local [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/isc/pthreads/ |
| thread.c | 60 size_t stacksize; local 69 ret = pthread_attr_getstacksize(&attr, &stacksize); 74 if (stacksize < THREAD_MINSTACKSIZE) {
|
| /src/tests/lib/libpthread/ |
| t_join.c | 46 #define STACKSIZE 65536 106 ATF_REQUIRE(pthread_attr_setstacksize(&attr, STACKSIZE * (i + 1)) == 0); 107 ATF_REQUIRE(pthread_attr_setguardsize(&attr, STACKSIZE * (i + 2)) == 0); 152 size_t stacksize, guardsize; local 157 ATF_REQUIRE(pthread_attr_getstacksize(&attr, &stacksize) == 0); 158 ATF_REQUIRE(stacksize == STACKSIZE * (j + 1)); 160 ATF_REQUIRE(guardsize == STACKSIZE * (j + 2));
|
| t_stack.c | 74 size_t stacksize; local 81 RZ(pthread_attr_getstacksize(&attr, &stacksize)); 88 ATF_CHECK_EQ_MSG(stacksize, pthread__stacksize, 89 "stacksize=%zu pthread__stacksize=%zu", 90 stacksize, pthread__stacksize); 92 return stacksize; 156 * init(stacksize) 159 * stacksize. 167 init(size_t stacksize) 170 C->size = stacksize; [all...] |
| /src/external/mpl/bind/dist/lib/isc/ |
| thread.c | 130 size_t stacksize; local 131 ret = pthread_attr_getstacksize(&attr, &stacksize); 134 if (stacksize < THREAD_MINSTACKSIZE) {
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_linux_libcdep.cc | 118 // Get stacksize from rlimit, but clip it so that it does not overlap 120 uptr stacksize = rl.rlim_cur; local 121 if (stacksize > segment.end - prev_end) stacksize = segment.end - prev_end; 125 if (stacksize > kMaxThreadStackSize) 126 stacksize = kMaxThreadStackSize; 128 *stack_bottom = segment.end - stacksize; 131 uptr stacksize = 0; local 136 stacksize = ss.ss_size; 137 stackaddr = (char *)ss.ss_sp - stacksize; [all...] |
| sanitizer_posix_libcdep.cc | 420 uptr stacksize = 0; local 421 my_pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize); 422 // GLibC will return (0 - stacksize) as the stack address in the case when 423 // stacksize is set, but stackaddr is not. 424 bool stack_set = (stackaddr != 0) && (stackaddr + stacksize != 0); 427 if (stacksize < minstacksize) { 429 if (stacksize != 0) { 430 VPrintf(1, "Sanitizer: increasing stacksize %zu->%zu\n", stacksize, 436 "%zu < %zu\n", stacksize, minstacksize) [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/ |
| csky-tdep.c | 968 int stacksize = 0; local 994 stacksize = 0; 1014 stacksize += offset; 1028 saved relative to the current stacksize. This will 1030 function. Remember, stacksize is NOT constant until 1046 register_offsets[rn] = stacksize - offset; 1068 register_offsets[rn] = stacksize - disp; 1078 adjust_fp = stacksize; 1097 register_offsets[rn] = stacksize - offset; 1140 register_offsets[rn] = stacksize - offset [all...] |
| /src/external/gpl3/gdb/dist/gdb/ |
| csky-tdep.c | 968 int stacksize = 0; local 994 stacksize = 0; 1014 stacksize += offset; 1028 saved relative to the current stacksize. This will 1030 function. Remember, stacksize is NOT constant until 1046 register_offsets[rn] = stacksize - offset; 1068 register_offsets[rn] = stacksize - disp; 1078 adjust_fp = stacksize; 1097 register_offsets[rn] = stacksize - offset; 1140 register_offsets[rn] = stacksize - offset [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_posix_libcdep.cpp | 399 uptr stacksize = 0; local 400 internal_pthread_attr_getstack(attr, (void **)&stackaddr, &stacksize); 401 // GLibC will return (0 - stacksize) as the stack address in the case when 402 // stacksize is set, but stackaddr is not. 403 bool stack_set = (stackaddr != 0) && (stackaddr + stacksize != 0); 406 if (stacksize < minstacksize) { 408 if (stacksize != 0) { 409 VPrintf(1, "Sanitizer: increasing stacksize %zu->%zu\n", stacksize, 415 "%zu < %zu\n", stacksize, minstacksize) [all...] |
| sanitizer_linux_libcdep.cpp | 125 // Get stacksize from rlimit, but clip it so that it does not overlap 127 uptr stacksize = rl.rlim_cur; local 128 if (stacksize > segment.end - prev_end) stacksize = segment.end - prev_end; 132 if (stacksize > kMaxThreadStackSize) 133 stacksize = kMaxThreadStackSize; 135 *stack_bottom = segment.end - stacksize; 138 uptr stacksize = 0; local 143 stacksize = ss.ss_size; 144 stackaddr = (char *)ss.ss_sp - stacksize; [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_posix_libcdep.cpp | 399 uptr stacksize = 0; local 400 my_pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize); 401 // GLibC will return (0 - stacksize) as the stack address in the case when 402 // stacksize is set, but stackaddr is not. 403 bool stack_set = (stackaddr != 0) && (stackaddr + stacksize != 0); 406 if (stacksize < minstacksize) { 408 if (stacksize != 0) { 409 VPrintf(1, "Sanitizer: increasing stacksize %zu->%zu\n", stacksize, 415 "%zu < %zu\n", stacksize, minstacksize) [all...] |
| sanitizer_linux_libcdep.cpp | 123 // Get stacksize from rlimit, but clip it so that it does not overlap 125 uptr stacksize = rl.rlim_cur; local 126 if (stacksize > segment.end - prev_end) stacksize = segment.end - prev_end; 130 if (stacksize > kMaxThreadStackSize) 131 stacksize = kMaxThreadStackSize; 133 *stack_bottom = segment.end - stacksize; 136 uptr stacksize = 0; local 141 stacksize = ss.ss_size; 142 stackaddr = (char *)ss.ss_sp - stacksize; [all...] |
| /src/sys/arch/mips/mips/ |
| db_trace.c | 232 int stacksize; 254 stacksize = 0; 264 stacksize = -(short)i.IType.imm; 272 name, pc - func, (void *)(intptr_t)ra, stacksize); 278 sp += stacksize;
|
| /src/external/bsd/unbound/dist/util/ |
| locks.h | 160 size_t stacksize; \ 162 LOCKRET(pthread_attr_getstacksize(&attr, &stacksize)); \ 163 if (stacksize < stackrequired) { \ 166 LOCKRET(pthread_attr_getstacksize(&attr, &stacksize)); \ 167 verbose(VERB_ALGO, "Thread stack size set to %u", (unsigned)stacksize); \
|
| /src/sys/arch/ia64/ia64/ |
| vm_machdep.c | 135 * in both the stack and stacksize args), set up the user stack pointer 139 cpu_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 197 l2->l_md.user_stack_size = stacksize;
|
| /src/sys/arch/m68k/m68k/ |
| vm_machdep.c | 85 * in both the stack and stacksize args), set up the user stack pointer 89 cpu_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 122 tf->tf_regs[15] = (u_int)stack + stacksize;
|
| /src/sys/arch/x86/x86/ |
| vm_machdep.c | 127 * in both the stack and stacksize arguments), then set up the user stack 131 cpu_lwp_fork(struct lwp *l1, struct lwp *l2, void *stack, size_t stacksize, 200 tf->tf_rsp = (uint64_t)stack + stacksize; 202 tf->tf_esp = (uint32_t)stack + stacksize;
|
| /src/lib/libpthread/ |
| pthread.c | 334 size_t stacksize, guardsize; local 338 pthread_attr_getstack(attr, &stackbase, &stacksize); 345 stacksize = 0; 348 if (stacksize == 0) 349 stacksize = pthread__stacksize; 353 newthread->pt_stack.ss_size == stacksize && 369 stacksize = ((stacksize - 1) | (pthread__pagesize - 1)) + 1; 371 stackbase = mmap(NULL, stacksize + guardsize, 380 redzone = (char *)stackbase + stacksize; [all...] |