Home
last modified time | relevance | path

Searched refs:stack_size (Results 1 – 25 of 58) sorted by relevance

123

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dipa-utils.cc62 int stack_size; member
93 env->stack[(env->stack_size)++] = v; in searchc()
132 x = env->stack[--(env->stack_size)]; in searchc()
170 env.stack_size = 0; in ipa_reduced_postorder()
279 int stack_size = 0; in ipa_reverse_postorder() local
303 stack_size = 0; in ipa_reverse_postorder()
304 stack[stack_size].node = node; in ipa_reverse_postorder()
305 stack[stack_size].edge = node->callers; in ipa_reverse_postorder()
306 stack[stack_size].ref = 0; in ipa_reverse_postorder()
308 while (stack_size >= 0) in ipa_reverse_postorder()
[all …]
/netbsd/src/lib/libpthread/
Dpthread_makelwp_netbsd.c49 void *stack_base, size_t stack_size, in pthread__makelwp() argument
62 uc.uc_stack.ss_size = stack_size; in pthread__makelwp()
66 _lwp_makecontext(&uc, start_routine, arg, priv, stack_base, stack_size); in pthread__makelwp()
/netbsd/src/usr.bin/sort/
Dradix_sort.c77 int stack_size = 512; in radix_sort() local
88 s = emalloc(stack_size * sizeof *s); in radix_sort()
130 if (sp + nc > s + stack_size) { in radix_sort()
131 stack_size *= 2; in radix_sort()
132 sp1 = erealloc(s, stack_size * sizeof *s); in radix_sort()
/netbsd/src/lib/libc/arch/powerpc64/gen/
D_lwp.c52 void *private, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
60 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
62 sp = (void *)(stack_base + stack_size); in _lwp_makecontext()
/netbsd/src/lib/libc/arch/i386/gen/
D_lwp.c46 void *arg, void *private, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
54 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
61 sp = (void **) (((uintptr_t)(stack_base + stack_size - 4) & ~0xf) + 4); in _lwp_makecontext()
/netbsd/src/lib/libc/arch/m68k/gen/
D_lwp.c48 void *arg, void *tcb, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
56 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
60 sp = (void **)(void *)(stack_base + stack_size); in _lwp_makecontext()
/netbsd/src/lib/libc/arch/alpha/gen/
D_lwp.c48 void *arg, void *private, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
58 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
64 gr[_REG_SP] = ((unsigned long) (stack_base + stack_size)) & in _lwp_makecontext()
/netbsd/src/lib/libc/arch/x86_64/gen/
D_lwp.c46 void *arg, void *private, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
55 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
60 sp = (void **) (((uintptr_t)(stack_base + stack_size) & ~15)); in _lwp_makecontext()
/netbsd/src/lib/libc/arch/ia64/gen/
D_lwp.c45 void *arg, void *private, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
56 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
62 gr[_REG_SP] = ((unsigned long) (stack_base + stack_size)) & ~0x7; in _lwp_makecontext()
/netbsd/src/lib/libc/arch/sh3/gen/
D_lwp.c51 void *arg, void *private, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
59 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
61 sp = (uintptr_t)stack_base + stack_size; in _lwp_makecontext()
/netbsd/src/lib/libc/arch/powerpc/gen/
D_lwp.c54 void *tcb, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
62 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
64 sp = (uintptr_t)stack_base + stack_size; in _lwp_makecontext()
/netbsd/src/lib/libc/arch/arm/gen/
D_lwp.c51 void *arg, void *private, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
59 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
61 sp = (uintptr_t)stack_base + stack_size; in _lwp_makecontext()
/netbsd/src/lib/libc/arch/aarch64/gen/
D_lwp.c45 void *arg, void *private, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
51 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
53 uintptr_t sp = (uintptr_t)stack_base + stack_size; in _lwp_makecontext()
/netbsd/src/lib/libc/arch/mips/gen/
D_lwp.c56 void *arg, void *tcb, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
66 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
67 sp = stack_base + stack_size - CALLFRAME_SIZ; in _lwp_makecontext()
/netbsd/src/lib/libc/arch/sparc/gen/
D_lwp.c45 void *private, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
56 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
59 sp = (void *)(stack_base + stack_size); in _lwp_makecontext()
/netbsd/src/lib/libc/arch/vax/gen/
D_lwp.c46 void *arg, void *private, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
55 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
59 sp = (int *)((uintptr_t)(stack_base + stack_size) & ~0x3); in _lwp_makecontext()
/netbsd/src/lib/libc/arch/sparc64/gen/
D_lwp.c43 caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
54 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()
57 sp = (ulong *)(stack_base + stack_size); in _lwp_makecontext()
/netbsd/src/external/gpl3/binutils/dist/gas/
Dscfi.c110 offsetT stack_size; member
171 ret |= state1->stack_size != state2->stack_size; in cmp_scfi_state()
681 ? -state->stack_size in verify_heuristic_symmetrical_restore_reg()
713 state->stack_size += SCFI_INIT_CFA_OFFSET; in gen_scfi_ops()
749 state->stack_size = -state->regs[REG_FP].offset; in gen_scfi_ops()
779 state->scratch[ginsn_get_dst_reg (dst)].offset = -state->stack_size; in gen_scfi_ops()
790 state->stack_size = -state->scratch[ginsn_get_src_reg (src1)].offset; in gen_scfi_ops()
807 state->stack_size += ginsn_get_src_imm (src2); in gen_scfi_ops()
821 state->stack_size -= ginsn_get_src_imm (src2); in gen_scfi_ops()
834 state->stack_size = 0 - (state->regs[REG_FP].offset + ginsn_get_src_imm (src2)); in gen_scfi_ops()
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
Dthreadcrash.c195 size_t stack_size = get_stack_size (); in setup_alt_stack() local
197 void *stack_area = malloc (stack_size); in setup_alt_stack()
202 stk.ss_size = stack_size; in setup_alt_stack()
209 desc.size = stack_size; in setup_alt_stack()
/netbsd/src/external/gpl3/gcc/dist/libiberty/
Dsplay-tree.c214 int stack_ptr, stack_size; in splay_tree_foreach_helper() local
221 stack_size = INITIAL_STACK_SIZE; in splay_tree_foreach_helper()
223 stack = XNEWVEC (splay_tree_node, stack_size); in splay_tree_foreach_helper()
230 if (stack_ptr == stack_size) in splay_tree_foreach_helper()
232 stack_size *= 2; in splay_tree_foreach_helper()
233 stack = XRESIZEVEC (splay_tree_node, stack, stack_size); in splay_tree_foreach_helper()
/netbsd/src/external/gpl3/binutils/dist/libiberty/
Dsplay-tree.c214 int stack_ptr, stack_size; in splay_tree_foreach_helper() local
221 stack_size = INITIAL_STACK_SIZE; in splay_tree_foreach_helper()
223 stack = XNEWVEC (splay_tree_node, stack_size); in splay_tree_foreach_helper()
230 if (stack_ptr == stack_size) in splay_tree_foreach_helper()
232 stack_size *= 2; in splay_tree_foreach_helper()
233 stack = XRESIZEVEC (splay_tree_node, stack, stack_size); in splay_tree_foreach_helper()
/netbsd/src/external/gpl3/gdb/dist/libiberty/
Dsplay-tree.c214 int stack_ptr, stack_size; in splay_tree_foreach_helper() local
221 stack_size = INITIAL_STACK_SIZE; in splay_tree_foreach_helper()
223 stack = XNEWVEC (splay_tree_node, stack_size); in splay_tree_foreach_helper()
230 if (stack_ptr == stack_size) in splay_tree_foreach_helper()
232 stack_size *= 2; in splay_tree_foreach_helper()
233 stack = XRESIZEVEC (splay_tree_node, stack, stack_size); in splay_tree_foreach_helper()
/netbsd/src/tests/lib/libc/sys/
Dt_ptrace_clone_wait.h45 const size_t stack_size = 1024 * 1024; in clone_body() local
48 stack = malloc(stack_size); in clone_body()
54 stack_base = (char *)stack + stack_size; in clone_body()
343 const size_t stack_size = 1024 * 1024; in CLONE_TEST() local
346 stack = malloc(stack_size); in CLONE_TEST()
352 stack_base = (char *)stack + stack_size; in CLONE_TEST()
690 const size_t stack_size = 1024 * 1024; in CLONE_TEST2() local
693 stack = malloc(stack_size); in CLONE_TEST2()
699 stack_base = (char *)stack + stack_size; in CLONE_TEST2()
/netbsd/src/sys/external/bsd/compiler_rt/dist/lib/lsan/
Dlsan_thread.cc82 uptr stack_size = 0; in ThreadStart() local
84 GetThreadStackAndTls(tid == 0, &args.stack_begin, &stack_size, in ThreadStart()
86 args.stack_end = args.stack_begin + stack_size; in ThreadStart()
/netbsd/src/lib/libc/arch/hppa/gen/
D_lwp.c50 void *arg, void *private, caddr_t stack_base, size_t stack_size) in _lwp_makecontext() argument
62 u->uc_stack.ss_size = stack_size; in _lwp_makecontext()

123