Home
last modified time | relevance | path

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

12

/Linux-v5.4/tools/testing/selftests/powerpc/include/
Dfpu_asm.h10 #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); \
19 stfd f23,(stack_size + STACK_FRAME_MIN_SIZE - 64)(%r1); \
[all …]
Dgpr_asm.h51 #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-v5.4/tools/perf/arch/arm64/tests/
Ddwarf-unwind.c19 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-v5.4/tools/perf/arch/x86/tests/
Ddwarf-unwind.c20 u64 stack_size, *buf; in sample_ustack() local
37 stack_size = map->end - sp; in sample_ustack()
38 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
40 memcpy(buf, (void *) sp, stack_size); in sample_ustack()
42 stack->size = stack_size; in sample_ustack()
/Linux-v5.4/tools/perf/arch/arm/tests/
Ddwarf-unwind.c19 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-v5.4/tools/perf/arch/powerpc/tests/
Ddwarf-unwind.c20 u64 stack_size, *buf; in sample_ustack() local
37 stack_size = map->end - sp; in sample_ustack()
38 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
40 memcpy(buf, (void *) sp, stack_size); in sample_ustack()
42 stack->size = stack_size; in sample_ustack()
/Linux-v5.4/arch/mips/oprofile/
Dbacktrace.c77 size_t stack_size = 0; in unwind_user_frame() local
84 && (!ra_offset || !stack_size); --addr) { in unwind_user_frame()
96 stack_size = (unsigned long) stack_adjustment; in unwind_user_frame()
107 if (!ra_offset || !stack_size) in unwind_user_frame()
116 if (stack_size) { in unwind_user_frame()
117 new_frame.sp = old_frame->sp + stack_size; in unwind_user_frame()
/Linux-v5.4/arch/arm64/include/asm/
Dvmap_stack.h18 static inline unsigned long *arch_alloc_vmap_stack(size_t stack_size, int node) in arch_alloc_vmap_stack() argument
22 return __vmalloc_node_range(stack_size, THREAD_ALIGN, in arch_alloc_vmap_stack()
/Linux-v5.4/samples/pidfd/
Dpidfd-metadata.c36 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-v5.4/tools/objtool/
Dcheck.c1378 state->stack_size != initial_func_cfi.cfa.offset || in has_modified_stack_frame()
1534 regs[CFI_BP].offset = -state->stack_size; in update_insn_state()
1551 state->vals[op->dest.reg].offset = -state->stack_size; in update_insn_state()
1562 state->stack_size = -state->regs[CFI_BP].offset; in update_insn_state()
1580 state->stack_size = cfa->offset; in update_insn_state()
1594 state->stack_size -= op->src.offset; in update_insn_state()
1603 state->stack_size = -(op->src.offset + regs[CFI_BP].offset); in update_insn_state()
1624 -state->stack_size + op->src.offset; in update_insn_state()
1634 cfa->offset = state->stack_size = -op->src.offset; in update_insn_state()
1660 cfa->offset = state->stack_size = 0; in update_insn_state()
[all …]
/Linux-v5.4/fs/
Dbinfmt_elf_fdpic.c171 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-v5.4/arch/sparc/include/asm/
Dsyscalls.h10 unsigned long stack_size);
/Linux-v5.4/include/linux/
Delf-fdpic.h24 unsigned long stack_size; /* stack size requested (PT_GNU_STACK) */ member
Dflat.h34 __be32 stack_size; /* Size of stack, in bytes */ member
/Linux-v5.4/tools/testing/selftests/pidfd/
Dpidfd_test.c32 size_t stack_size = 1024; in pidfd_clone() local
36 return __clone2(fn, stack, stack_size, flags | SIGCHLD, NULL, pidfd); in pidfd_clone()
38 return clone(fn, stack + stack_size, flags | SIGCHLD, NULL, pidfd); in pidfd_clone()
/Linux-v5.4/arch/mips/include/asm/octeon/
Dcvmx-sysinfo.h63 uint32_t stack_size; member
Docteon.h69 uint32_t stack_size; member
119 uint32_t stack_size;
Dcvmx-bootinfo.h68 uint32_t stack_size; member
150 uint32_t stack_size;
/Linux-v5.4/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c319 size_t stack_size = vm->page_size == 4096 ? in aarch64_vcpu_add_default() local
322 uint64_t stack_vaddr = vm_vaddr_alloc(vm, stack_size, in aarch64_vcpu_add_default()
328 set_reg(vm, vcpuid, ARM64_CORE_REG(sp_el1), stack_vaddr + stack_size); in aarch64_vcpu_add_default()
/Linux-v5.4/kernel/bpf/
Dcore.c1566 #define PROG_NAME(stack_size) __bpf_prog_run##stack_size argument
1567 #define DEFINE_BPF_PROG_RUN(stack_size) \ argument
1568 static unsigned int PROG_NAME(stack_size)(const void *ctx, const struct bpf_insn *insn) \
1570 u64 stack[stack_size / sizeof(u64)]; \
1578 #define PROG_NAME_ARGS(stack_size) __bpf_prog_run_args##stack_size argument
1579 #define DEFINE_BPF_PROG_RUN_ARGS(stack_size) \ argument
1580 static u64 PROG_NAME_ARGS(stack_size)(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5, \
1583 u64 stack[stack_size / sizeof(u64)]; \
1610 #define PROG_NAME_LIST(stack_size) PROG_NAME(stack_size), argument
1619 #define PROG_NAME_LIST(stack_size) PROG_NAME_ARGS(stack_size), argument
/Linux-v5.4/arch/ia64/mm/
Dinit.c89 unsigned long stack_size = rlimit_max(RLIMIT_STACK) & -16; in ia64_set_rbs_bot() local
91 if (stack_size > MAX_USER_STACK_SIZE) in ia64_set_rbs_bot()
92 stack_size = MAX_USER_STACK_SIZE; in ia64_set_rbs_bot()
93 current->thread.rbs_bot = PAGE_ALIGN(current->mm->start_stack - stack_size); in ia64_set_rbs_bot()
/Linux-v5.4/include/uapi/linux/
Dsched.h73 __aligned_u64 stack_size; member
/Linux-v5.4/tools/include/uapi/linux/
Dsched.h69 __aligned_u64 stack_size; member
/Linux-v5.4/arch/powerpc/net/
Dbpf_jit64.h103 unsigned int stack_size; member
/Linux-v5.4/tools/testing/selftests/kvm/lib/s390x/
Dprocessor.c243 size_t stack_size = DEFAULT_STACK_PGS * getpagesize(); in vm_vcpu_add_default() local
252 stack_vaddr = vm_vaddr_alloc(vm, stack_size, in vm_vcpu_add_default()

12