/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))
|
/tools/perf/arch/x86/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() 45 __msan_unpoison(buf, stack_size); in sample_ustack() 48 stack->size = stack_size; in sample_ustack()
|
/tools/perf/arch/powerpc/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()
|
/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()
|
/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()
|
/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()
|
/tools/testing/selftests/sigaltstack/ |
D | sas.c | 33 static unsigned int stack_size; variable 51 sp >= (unsigned long)sstack + stack_size) { in my_usr1() 113 stack_size = getauxval(AT_MINSIGSTKSZ) + SIGSTKSZ; in main() 114 ksft_print_msg("[NOTE]\tthe stack size is %lu\n", stack_size); in main() 125 sstack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, in main() 147 stk.ss_size = stack_size; in main() 169 ustack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, in main() 178 uc.uc_stack.ss_size = stack_size; in main()
|
/tools/objtool/include/objtool/ |
D | cfi.h | 32 int stack_size; member
|
/tools/testing/selftests/clone3/ |
D | clone3_selftests.h | 33 __aligned_u64 stack_size; member
|
/tools/include/uapi/linux/ |
D | sched.h | 99 __aligned_u64 stack_size; member
|
/tools/objtool/ |
D | check.c | 1837 state->stack_size = initial_func_cfi.cfa.offset; in set_func_state() 2223 if (cfi->stack_size != initial_func_cfi.cfa.offset) in has_modified_stack_frame() 2390 regs[CFI_BP].offset = -cfi->stack_size; in update_cfi_state() 2407 cfi->vals[op->dest.reg].offset = -cfi->stack_size; in update_cfi_state() 2418 cfi->stack_size = -cfi->regs[CFI_BP].offset; in update_cfi_state() 2436 cfi->stack_size = cfa->offset; in update_cfi_state() 2486 cfi->stack_size += 8; in update_cfi_state() 2496 cfi->stack_size -= op->src.offset; in update_cfi_state() 2505 cfi->stack_size = -(op->src.offset + regs[CFI_BP].offset); in update_cfi_state() 2526 -cfi->stack_size + op->src.offset; in update_cfi_state() [all …]
|
/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()
|
/tools/testing/selftests/kvm/lib/s390x/ |
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()
|
/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 296 size_t stack_size = vm->page_size == 4096 ? in aarch64_vcpu_add_default() local 299 uint64_t stack_vaddr = vm_vaddr_alloc(vm, stack_size, in aarch64_vcpu_add_default() 305 set_reg(vm, vcpuid, ARM64_CORE_REG(sp_el1), stack_vaddr + stack_size); in aarch64_vcpu_add_default()
|