/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/ |
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); \ 19 stfd f23,(stack_size + STACK_FRAME_MIN_SIZE - 64)(%r1); \ [all …]
|
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))
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/ |
D | dwarf-unwind.c | 20 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() 46 __msan_unpoison(buf, stack_size); in sample_ustack() 49 stack->size = stack_size; in sample_ustack()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/ |
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()
|
/kernel/linux/linux-5.10/tools/perf/arch/arm/tests/ |
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()
|
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/tests/ |
D | dwarf-unwind.c | 20 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()
|
/kernel/linux/linux-5.10/tools/perf/arch/arm64/tests/ |
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()
|
/kernel/linux/linux-5.10/arch/mips/oprofile/ |
D | backtrace.c | 77 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()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
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()
|
/kernel/linux/linux-5.10/samples/pidfd/ |
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()
|
/kernel/linux/linux-5.10/arch/x86/net/ |
D | bpf_jit_comp.c | 1511 int stack_size) in save_regs() argument 1523 -(stack_size - i * 8)); in save_regs() 1527 int stack_size) in restore_regs() argument 1540 -(stack_size - i * 8)); in restore_regs() 1544 struct bpf_prog *p, int stack_size, bool save_ret) in invoke_bpf_prog() argument 1560 EMIT4(0x48, 0x8D, 0x7D, -stack_size); in invoke_bpf_prog() 1646 struct bpf_tramp_progs *tp, int stack_size, in invoke_bpf() argument 1653 if (invoke_bpf_prog(m, &prog, tp->progs[i], stack_size, in invoke_bpf() 1662 struct bpf_tramp_progs *tp, int stack_size, in invoke_bpf_mod_ret() argument 1674 if (invoke_bpf_prog(m, &prog, tp->progs[i], stack_size, true)) in invoke_bpf_mod_ret() [all …]
|
/kernel/linux/linux-5.10/fs/ |
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 …]
|
/kernel/linux/linux-5.10/tools/objtool/ |
D | check.c | 1719 state->stack_size = initial_func_cfi.cfa.offset; in set_func_state() 2097 if (cfi->stack_size != initial_func_cfi.cfa.offset) in has_modified_stack_frame() 2256 regs[CFI_BP].offset = -cfi->stack_size; in update_cfi_state() 2273 cfi->vals[op->dest.reg].offset = -cfi->stack_size; in update_cfi_state() 2284 cfi->stack_size = -cfi->regs[CFI_BP].offset; in update_cfi_state() 2302 cfi->stack_size = cfa->offset; in update_cfi_state() 2316 cfi->stack_size -= op->src.offset; in update_cfi_state() 2325 cfi->stack_size = -(op->src.offset + regs[CFI_BP].offset); in update_cfi_state() 2346 -cfi->stack_size + op->src.offset; in update_cfi_state() 2356 cfa->offset = cfi->stack_size = -op->src.offset; in update_cfi_state() [all …]
|
D | cfi.h | 32 int stack_size; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | flat.h | 22 unsigned long stack_size; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | elf-fdpic.h | 24 unsigned long stack_size; /* stack size requested (PT_GNU_STACK) */ member
|
D | flat.h | 34 __be32 stack_size; /* Size of stack, in bytes */ member
|
/kernel/liteos_m/testsuites/unittest/xts/cmsis/ |
D | cmsis_event_func_test.c | 155 attr.stack_size = TEST_TASK_STACK_SIZE; 211 attr.stack_size = TEST_TASK_STACK_SIZE; 312 attr.stack_size = TEST_TASK_STACK_SIZE;
|
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
D | cvmx-sysinfo.h | 63 uint32_t stack_size; member
|
D | octeon.h | 69 uint32_t stack_size; member 119 uint32_t stack_size;
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
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()
|
/kernel/linux/linux-5.10/arch/ia64/mm/ |
D | init.c | 88 unsigned long stack_size = rlimit_max(RLIMIT_STACK) & -16; in ia64_set_rbs_bot() local 90 if (stack_size > MAX_USER_STACK_SIZE) in ia64_set_rbs_bot() 91 stack_size = MAX_USER_STACK_SIZE; in ia64_set_rbs_bot() 92 current->thread.rbs_bot = PAGE_ALIGN(current->mm->start_stack - stack_size); in ia64_set_rbs_bot()
|
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/ |
D | clone3_selftests.h | 33 __aligned_u64 stack_size; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 318 size_t stack_size = vm->page_size == 4096 ? in aarch64_vcpu_add_default() local 321 uint64_t stack_vaddr = vm_vaddr_alloc(vm, stack_size, in aarch64_vcpu_add_default() 327 set_reg(vm, vcpuid, ARM64_CORE_REG(sp_el1), stack_vaddr + stack_size); in aarch64_vcpu_add_default()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | sched.h | 58 __aligned_u64 stack_size; member
|