/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 in function:threadfunc2 157 ATF_REQUIRE(pthread_attr_getstacksize(&attr, &stacksize) == 0); 158 ATF_REQUIRE(stacksize == STACKSIZE * (j + 1)); 160 ATF_REQUIRE(guardsize == STACKSIZE * (j + 2));
|
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 in function:threadfunc2 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 in function:getdefaultstacksize 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...] |
t_stack.c | 74 size_t stacksize; local in function:getdefaultstacksize 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/lib/libpuffs/ |
callcontext.c | 190 size_t stacksize = 1<<pu->pu_cc_stackshift; local in function:slowccalloc 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 in function:puffs__cc_create 264 st->ss_size = stacksize - psize; 296 size_t stacksize = 1<<pu->pu_cc_stackshift; local in function:cc_free 300 munmap(pcc, stacksize); 337 size_t stacksize = 1<<pu->pu_cc_stackshift local in function:puffs_cc_getcc [all...] |
callcontext.c | 190 size_t stacksize = 1<<pu->pu_cc_stackshift; local in function:slowccalloc 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 in function:puffs__cc_create 264 st->ss_size = stacksize - psize; 296 size_t stacksize = 1<<pu->pu_cc_stackshift; local in function:cc_free 300 munmap(pcc, stacksize); 337 size_t stacksize = 1<<pu->pu_cc_stackshift local in function:puffs_cc_getcc [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_linux_test.cc | 213 size_t stacksize; local in function:__sanitizer::thread_descriptor_size_test_func 214 pthread_attr_getstack(&attr, &stackaddr, &stacksize); 215 return (void *)((uptr)stackaddr + stacksize - descr_addr);
|
sanitizer_linux_test.cc | 213 size_t stacksize; local in function:__sanitizer::thread_descriptor_size_test_func 214 pthread_attr_getstack(&attr, &stackaddr, &stacksize); 215 return (void *)((uptr)stackaddr + stacksize - descr_addr);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_posix_libcdep.cc | 420 uptr stacksize = 0; local in function:__sanitizer::AdjustStackSize 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...] |
sanitizer_posix_libcdep.cc | 420 uptr stacksize = 0; local in function:__sanitizer::AdjustStackSize 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...] |
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 in function:__sanitizer::GetThreadStackTopAndBottom 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 in function:__sanitizer::GetThreadStackTopAndBottom 136 stacksize = ss.ss_size; 137 stackaddr = (char *)ss.ss_sp - stacksize; [all...] |
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 in function:__sanitizer::GetThreadStackTopAndBottom 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 in function:__sanitizer::GetThreadStackTopAndBottom 136 stacksize = ss.ss_size; 137 stackaddr = (char *)ss.ss_sp - stacksize; [all...] |
sanitizer_mac.cc | 304 uptr stacksize = pthread_get_stacksize_np(pthread_self()); local in function:__sanitizer::GetThreadStackTopAndBottom 309 stacksize == (1 << 19)) { 314 stacksize = rl.rlim_cur; 316 stacksize = kMaxThreadStackSize; 321 *stack_bottom = *stack_top - stacksize;
|
sanitizer_mac.cc | 304 uptr stacksize = pthread_get_stacksize_np(pthread_self()); local in function:__sanitizer::GetThreadStackTopAndBottom 309 stacksize == (1 << 19)) { 314 stacksize = rl.rlim_cur; 316 stacksize = kMaxThreadStackSize; 321 *stack_bottom = *stack_top - stacksize;
|
/src/sys/arch/aarch64/aarch64/ |
db_trace.c | 476 TRACE_DEBUG("stacksize: %#06lx = %lu\n", ssize, ssize); 554 vsize_t stacksize; variable in typeref:typename:vsize_t 582 if (analyze_func(func_entry, pc, sp, &lr, &stacksize, 595 sp += stacksize;
|
db_trace.c | 476 TRACE_DEBUG("stacksize: %#06lx = %lu\n", ssize, ssize); 554 vsize_t stacksize; variable in typeref:typename:vsize_t 582 if (analyze_func(func_entry, pc, sp, &lr, &stacksize, 595 sp += stacksize;
|
/src/sys/sys/ |
disklabel_rdb.h | 171 uint32_t stacksize; /* to use when loading handler */ member in struct:fsblock
|
disklabel_rdb.h | 171 uint32_t stacksize; /* to use when loading handler */ member in struct:fsblock
|
/src/lib/libpthread/ |
pthread.c | 339 size_t stacksize, guardsize; local in function:pthread__getstack 343 pthread_attr_getstack(attr, &stackbase, &stacksize); 350 stacksize = 0; 353 if (stacksize == 0) 354 stacksize = pthread__stacksize; 358 newthread->pt_stack.ss_size == stacksize && 376 stacksize = ((stacksize - 1) | (pthread__pagesize - 1)) + 1; 378 stackbase = mmap(NULL, stacksize + guardsize, 387 redzone = (char *)stackbase + stacksize; [all...] |
pthread.c | 339 size_t stacksize, guardsize; local in function:pthread__getstack 343 pthread_attr_getstack(attr, &stackbase, &stacksize); 350 stacksize = 0; 353 if (stacksize == 0) 354 stacksize = pthread__stacksize; 358 newthread->pt_stack.ss_size == stacksize && 376 stacksize = ((stacksize - 1) | (pthread__pagesize - 1)) + 1; 378 stackbase = mmap(NULL, stacksize + guardsize, 387 redzone = (char *)stackbase + stacksize; [all...] |