/linux/tools/testing/selftests/powerpc/include/ |
A D | fpu_asm.h | 10 #define PUSH_FPU(stack_size) \ argument 11 stfd f31,(stack_size + STACK_FRAME_MIN_SIZE)(%r1); \ 12 stfd f30,(stack_size + STACK_FRAME_MIN_SIZE - 8)(%r1); \ 13 stfd f29,(stack_size + STACK_FRAME_MIN_SIZE - 16)(%r1); \ 14 stfd f28,(stack_size + STACK_FRAME_MIN_SIZE - 24)(%r1); \ 15 stfd f27,(stack_size + STACK_FRAME_MIN_SIZE - 32)(%r1); \ 16 stfd f26,(stack_size + STACK_FRAME_MIN_SIZE - 40)(%r1); \ 17 stfd f25,(stack_size + STACK_FRAME_MIN_SIZE - 48)(%r1); \ 18 stfd f24,(stack_size + STACK_FRAME_MIN_SIZE - 56)(%r1); \ 30 #define POP_FPU(stack_size) \ argument [all …]
|
A D | gpr_asm.h | 51 #define PUSH_NVREGS(stack_size) \ argument 52 __PUSH_NVREGS(stack_size + STACK_FRAME_MIN_SIZE) 55 #define PUSH_NVREGS_BELOW_FPU(stack_size) \ argument 56 __PUSH_NVREGS(stack_size + STACK_FRAME_MIN_SIZE - (18 * 8)) 58 #define POP_NVREGS(stack_size) \ argument 59 __POP_NVREGS(stack_size + STACK_FRAME_MIN_SIZE) 62 #define POP_NVREGS_BELOW_FPU(stack_size) \ argument 63 __POP_NVREGS(stack_size + STACK_FRAME_MIN_SIZE - (18 * 8))
|
/linux/tools/perf/arch/x86/tests/ |
A D | dwarf-unwind.c | 19 u64 stack_size, *buf; in sample_ustack() local 36 stack_size = map->end - sp; in sample_ustack() 37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack() 39 memcpy(buf, (void *) sp, stack_size); in sample_ustack() 45 __msan_unpoison(buf, stack_size); in sample_ustack() 48 stack->size = stack_size; in sample_ustack()
|
/linux/tools/testing/selftests/powerpc/mm/ |
A D | stack_expansion_signal.c | 32 static int consume_stack(unsigned int stack_size, union pipe write_pipe) in consume_stack() argument 36 if ((stack_base_ptr - &stack_cur) < stack_size) in consume_stack() 37 return consume_stack(stack_size, write_pipe); in consume_stack() 50 static int child(unsigned int stack_size, union pipe write_pipe) in child() argument 63 FAIL_IF(consume_stack(stack_size, write_pipe)); in child() 66 stack_size, stack_base_ptr, stack_top_ptr, in child() 72 static int test_one_size(unsigned int stack_size) in test_one_size() argument 84 exit(child(stack_size, read_pipe)); in test_one_size()
|
/linux/tools/perf/arch/arm64/tests/ |
A D | dwarf-unwind.c | 19 u64 stack_size, *buf; in sample_ustack() local 36 stack_size = map->end - sp; in sample_ustack() 37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack() 39 memcpy(buf, (void *) sp, stack_size); in sample_ustack() 41 stack->size = stack_size; in sample_ustack()
|
/linux/tools/perf/arch/powerpc/tests/ |
A D | dwarf-unwind.c | 19 u64 stack_size, *buf; in sample_ustack() local 36 stack_size = map->end - sp; in sample_ustack() 37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack() 39 memcpy(buf, (void *) sp, stack_size); in sample_ustack() 41 stack->size = stack_size; in sample_ustack()
|
/linux/tools/perf/arch/arm/tests/ |
A D | dwarf-unwind.c | 19 u64 stack_size, *buf; in sample_ustack() local 36 stack_size = map->end - sp; in sample_ustack() 37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack() 39 memcpy(buf, (void *) sp, stack_size); in sample_ustack() 41 stack->size = stack_size; in sample_ustack()
|
/linux/tools/testing/selftests/sigaltstack/ |
A D | sas.c | 32 static unsigned int stack_size; variable 56 sp >= (unsigned long)sstack + stack_size) { in my_usr1() 118 stack_size = getauxval(AT_MINSIGSTKSZ) + SIGSTKSZ; in main() 119 ksft_print_msg("[NOTE]\tthe stack size is %lu\n", stack_size); in main() 130 sstack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, in main() 152 stk.ss_size = stack_size; in main() 174 ustack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, in main() 183 uc.uc_stack.ss_size = stack_size; in main()
|
/linux/samples/pidfd/ |
A D | pidfd-metadata.c | 36 size_t stack_size = 1024; in pidfd_clone() local 40 return __clone2(do_child, stack, stack_size, flags | SIGCHLD, NULL, pidfd); in pidfd_clone() 42 return clone(do_child, stack + stack_size, flags | SIGCHLD, NULL, pidfd); in pidfd_clone()
|
/linux/arch/arm64/include/asm/ |
A D | vmap_stack.h | 18 static inline unsigned long *arch_alloc_vmap_stack(size_t stack_size, int node) in arch_alloc_vmap_stack() argument 22 return __vmalloc_node(stack_size, THREAD_ALIGN, THREADINFO_GFP, node, in arch_alloc_vmap_stack()
|
/linux/arch/x86/net/ |
A D | bpf_jit_comp.c | 1724 int stack_size) in save_regs() argument 1736 -(stack_size - i * 8)); in save_regs() 1740 int stack_size) in restore_regs() argument 1753 -(stack_size - i * 8)); in restore_regs() 1780 EMIT4(0x48, 0x8D, 0x7D, -stack_size); in invoke_bpf_prog() 1979 int stack_size = nr_args * 8; in arch_prepare_bpf_trampoline() local 1997 stack_size += 8; in arch_prepare_bpf_trampoline() 2028 stack_size -= 8; in arch_prepare_bpf_trampoline() 2031 save_regs(m, &prog, nr_args, stack_size); in arch_prepare_bpf_trampoline() 2043 if (invoke_bpf(m, &prog, fentry, stack_size, in arch_prepare_bpf_trampoline() [all …]
|
/linux/fs/ |
A D | binfmt_elf_fdpic.c | 171 params->stack_size = phdr->p_memsz; in elf_fdpic_fetch_phdrs() 187 unsigned long stack_size, entryaddr; in load_elf_fdpic_binary() local 315 stack_size = exec_params.stack_size; in load_elf_fdpic_binary() 323 if (stack_size == 0) { in load_elf_fdpic_binary() 324 stack_size = interp_params.stack_size; in load_elf_fdpic_binary() 334 if (stack_size == 0) in load_elf_fdpic_binary() 335 stack_size = 131072UL; /* same as exec.c's default commit */ in load_elf_fdpic_binary() 412 stack_size = (stack_size + PAGE_SIZE - 1) & PAGE_MASK; in load_elf_fdpic_binary() 413 if (stack_size < PAGE_SIZE * 2) in load_elf_fdpic_binary() 414 stack_size = PAGE_SIZE * 2; in load_elf_fdpic_binary() [all …]
|
/linux/tools/objtool/ |
A D | check.c | 2353 cfi->stack_size = cfa->offset; in update_cfi_state() 2403 cfi->stack_size += 8; in update_cfi_state() 2413 cfi->stack_size -= op->src.offset; in update_cfi_state() 2454 -cfi->stack_size + op->src.offset; in update_cfi_state() 2490 cfa->offset = cfi->stack_size = 0; in update_cfi_state() 2531 cfi->stack_size -= 8; in update_cfi_state() 2543 cfa->offset = cfi->stack_size; in update_cfi_state() 2587 cfi->stack_size += 8; in update_cfi_state() 2599 cfa->offset = -cfi->stack_size; in update_cfi_state() 2607 cfi->stack_size = 0; in update_cfi_state() [all …]
|
/linux/arch/ia64/mm/ |
A D | init.c | 82 unsigned long stack_size = rlimit_max(RLIMIT_STACK) & -16; in ia64_set_rbs_bot() local 84 if (stack_size > MAX_USER_STACK_SIZE) in ia64_set_rbs_bot() 85 stack_size = MAX_USER_STACK_SIZE; in ia64_set_rbs_bot() 86 current->thread.rbs_bot = PAGE_ALIGN(current->mm->start_stack - stack_size); in ia64_set_rbs_bot()
|
/linux/tools/testing/selftests/pidfd/ |
A D | pidfd_fdinfo_test.c | 92 size_t stack_size = 1024; in clone_newns() local 100 ret.pid = __clone2(fn, stack, stack_size, flags, args, &ret.fd); in clone_newns() 102 ret.pid = clone(fn, stack + stack_size, flags, args, &ret.fd); in clone_newns()
|
A D | pidfd_test.c | 35 size_t stack_size = 1024; in pidfd_clone() local 39 return __clone2(fn, stack, stack_size, flags | SIGCHLD, NULL, pidfd); in pidfd_clone() 41 return clone(fn, stack + stack_size, flags | SIGCHLD, NULL, pidfd); in pidfd_clone()
|
/linux/kernel/bpf/ |
A D | core.c | 1748 #define PROG_NAME(stack_size) __bpf_prog_run##stack_size argument 1749 #define DEFINE_BPF_PROG_RUN(stack_size) \ argument 1750 static unsigned int PROG_NAME(stack_size)(const void *ctx, const struct bpf_insn *insn) \ 1752 u64 stack[stack_size / sizeof(u64)]; \ 1760 #define PROG_NAME_ARGS(stack_size) __bpf_prog_run_args##stack_size argument 1761 #define DEFINE_BPF_PROG_RUN_ARGS(stack_size) \ argument 1762 static u64 PROG_NAME_ARGS(stack_size)(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5, \ 1765 u64 stack[stack_size / sizeof(u64)]; \ 1792 #define PROG_NAME_LIST(stack_size) PROG_NAME(stack_size), argument 1801 #define PROG_NAME_LIST(stack_size) PROG_NAME_ARGS(stack_size), argument
|
/linux/tools/objtool/include/objtool/ |
A D | cfi.h | 32 int stack_size; member
|
/linux/include/linux/ |
A D | elf-fdpic.h | 24 unsigned long stack_size; /* stack size requested (PT_GNU_STACK) */ member
|
A D | flat.h | 34 __be32 stack_size; /* Size of stack, in bytes */ member
|
/linux/arch/mips/include/asm/octeon/ |
A D | octeon.h | 69 uint32_t stack_size; member 119 uint32_t stack_size;
|
A D | cvmx-sysinfo.h | 63 uint32_t stack_size; member
|
A D | cvmx-bootinfo.h | 68 uint32_t stack_size; member 150 uint32_t stack_size;
|
/linux/tools/testing/selftests/kvm/lib/s390x/ |
A D | processor.c | 160 size_t stack_size = DEFAULT_STACK_PGS * getpagesize(); in vm_vcpu_add_default() local 169 stack_vaddr = vm_vaddr_alloc(vm, stack_size, in vm_vcpu_add_default()
|
/linux/arch/ia64/kernel/ |
A D | process.c | 401 unsigned long stack_size, unsigned long parent_tidptr, in ia64_clone() argument 411 .stack_size = stack_size, in ia64_clone()
|