Home
last modified time | relevance | path

Searched refs:STACK_SIZE (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.6.21/tools/perf/arch/arm64/tests/
Ddwarf-unwind.c11 #define STACK_SIZE 8192 macro
21 buf = malloc(STACK_SIZE); in sample_ustack()
37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
/linux-6.6.21/tools/perf/arch/arm/tests/
Ddwarf-unwind.c11 #define STACK_SIZE 8192 macro
21 buf = malloc(STACK_SIZE); in sample_ustack()
37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
/linux-6.6.21/tools/perf/arch/powerpc/tests/
Ddwarf-unwind.c11 #define STACK_SIZE 8192 macro
21 buf = malloc(STACK_SIZE); in sample_ustack()
37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
/linux-6.6.21/tools/perf/arch/x86/tests/
Ddwarf-unwind.c11 #define STACK_SIZE 8192 macro
21 buf = malloc(STACK_SIZE); in sample_ustack()
37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/
Dptrace-gpr.S13 #define STACK_SIZE (NUM_GPRS * GPR_SIZE) macro
22 PUSH_BASIC_STACK(STACK_SIZE)
51 POP_BASIC_STACK(STACK_SIZE)
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dns_current_pid_tgid.c16 #define STACK_SIZE (1024 * 1024) macro
17 static char child_stack[STACK_SIZE];
68 cpid = clone(test_current_pid_tgid, child_stack + STACK_SIZE, in test_ns_current_pid_tgid_new_ns()
Dfexit_sleep.c23 #define STACK_SIZE (1024 * 1024) macro
24 static char child_stack[STACK_SIZE];
41 cpid = clone(do_sleep, child_stack + STACK_SIZE, CLONE_FILES | SIGCHLD, fexit_skel); in test_fexit_sleep()
/linux-6.6.21/arch/mips/crypto/
Dchacha-core.S9 #define STACK_SIZE 32 macro
206 .frame $sp, STACK_SIZE, $ra
211 addiu $sp, -STACK_SIZE
280 lw $at, (STACK_SIZE+16)($sp)
311 addiu $sp, STACK_SIZE
347 lw $at, (STACK_SIZE+16)($sp)
446 .frame $sp, STACK_SIZE, $ra
448 addiu $sp, -STACK_SIZE
494 addiu $sp, STACK_SIZE
/linux-6.6.21/arch/sh/boot/compressed/
Dmisc.c124 #define STACK_SIZE (4096) macro
125 long __attribute__ ((aligned(stackalign))) user_stack[STACK_SIZE];
126 long *stack_start = &user_stack[STACK_SIZE];
/linux-6.6.21/arch/xtensa/lib/
Dusercopy.S64 #define STACK_SIZE 4 macro
66 #define STACK_SIZE 0 macro
68 abi_entry(STACK_SIZE)
83 abi_ret(STACK_SIZE)
135 abi_ret(STACK_SIZE)
195 abi_ret(STACK_SIZE)
283 abi_ret(STACK_SIZE)
301 abi_ret(STACK_SIZE)
/linux-6.6.21/tools/testing/selftests/powerpc/dexcr/
Dhashchk_test.c177 #define STACK_SIZE (1024 * 1024) macro
199 child_stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, in hashchk_clone_share_key_test()
204 pid = clone(hashchk_clone_child_fn, child_stack + STACK_SIZE, in hashchk_clone_share_key_test()
/linux-6.6.21/tools/testing/selftests/sched/
Dcs_prctl_test.c88 #define STACK_SIZE (1024 * 1024) macro
141 child_stack = malloc(STACK_SIZE); in create_threads()
145 tid = clone(child_func_thread, child_stack + STACK_SIZE, THREAD_CLONE_FLAGS, NULL); in create_threads()
173 static unsigned char child_func_process_stack[STACK_SIZE];
186 cpid = clone(child_func_process, child_func_process_stack + STACK_SIZE, in create_processes()
/linux-6.6.21/tools/testing/selftests/memfd/
Dfuse_test.c40 #define STACK_SIZE 65536 macro
205 stack = malloc(STACK_SIZE); in spawn_sealing_thread()
212 stack + STACK_SIZE, in spawn_sealing_thread()
Dmemfd_test.c30 #define STACK_SIZE 65536 macro
771 stack = malloc(STACK_SIZE); in spawn_thread()
777 pid = clone(fn, stack + STACK_SIZE, SIGCHLD | flags, arg); in spawn_thread()
/linux-6.6.21/arch/xtensa/boot/boot-redboot/
Dbootstrap.S29 #define STACK_SIZE 32768 macro
163 movi a1, _stack + STACK_SIZE
249 .comm _stack, STACK_SIZE
/linux-6.6.21/arch/alpha/lib/
Ddbg_stackkill.S23 lda $2, -STACK_SIZE
/linux-6.6.21/arch/s390/
DMakefile37 STACK_SIZE := $(if $(CONFIG_KASAN),65536,16384) macro
74 CC_FLAGS_CHECK_STACK := -mstack-size=$(STACK_SIZE)
/linux-6.6.21/tools/testing/selftests/x86/
Dlam.c55 #define STACK_SIZE 65536 macro
752 char stack[STACK_SIZE]; in handle_thread()
764 pid = clone(thread_fn_get_lam, stack + STACK_SIZE, in handle_thread()
787 char stack[STACK_SIZE]; in handle_thread_enable()
792 pid = clone(thread_fn_set_lam, stack + STACK_SIZE, in handle_thread_enable()
/linux-6.6.21/arch/arm/common/
DbL_switcher.c120 #define STACK_SIZE 512 macro
128 stack += clusterid * STACK_SIZE + STACK_SIZE; in bL_switchpoint()
/linux-6.6.21/arch/x86/boot/
Dmain.c123 : "=r" (stack_end) : "i" (-STACK_SIZE)); in init_heap()
Dboot.h17 #define STACK_SIZE 1024 /* Minimum number of bytes for stack */ macro
/linux-6.6.21/arch/x86/crypto/
Dsm3-avx-asm_64.S141 #define STACK_SIZE (STACK_REG_SAVE + STACK_REG_SAVE_SIZE) macro
344 subq $STACK_SIZE, %rsp;
Dsha256-avx-asm.S128 STACK_SIZE = _XMM_SAVE + _XMM_SAVE_SIZE define
359 subq $STACK_SIZE, %rsp # allocate stack space
Dsha256-ssse3-asm.S122 STACK_SIZE = _XMM_SAVE + _XMM_SAVE_SIZE define
368 subq $STACK_SIZE, %rsp
/linux-6.6.21/arch/arm64/crypto/
Dsm3-neon-core.S31 #define STACK_SIZE (STACK_W + STACK_W_SIZE) macro
368 sub addr0, sp, #STACK_SIZE

12