Home
last modified time | relevance | path

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

12

/linux/tools/perf/arch/arm64/tests/
H A 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/tools/perf/arch/arm/tests/
H A 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/tools/perf/arch/powerpc/tests/
H A 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/tools/perf/arch/x86/tests/
H A Ddwarf-unwind.c11 #define STACK_SIZE 8192 macro
21 buf = malloc(STACK_SIZE); in sample_ustack()
38 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfexit_sleep.c23 #define STACK_SIZE (1024 * 1024) macro
41 child_stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | in test_fexit_sleep()
46 cpid = clone(do_sleep, child_stack + STACK_SIZE, CLONE_FILES | SIGCHLD, fexit_skel); in test_fexit_sleep()
86 munmap(child_stack, STACK_SIZE); in test_fexit_sleep()
H A Dns_current_pid_tgid.c17 #define STACK_SIZE (1024 * 1024) macro
18 static char child_stack[STACK_SIZE];
190 cpid = clone(fn, child_stack + STACK_SIZE, in test_ns_current_pid_tgid_new_ns()
/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-gpr.S13 #define STACK_SIZE (NUM_GPRS * GPR_SIZE) macro
22 PUSH_BASIC_STACK(STACK_SIZE)
51 POP_BASIC_STACK(STACK_SIZE)
/linux/lib/crypto/mips/
H A Dchacha-core.S9 #define STACK_SIZE 32 macro
202 .frame $sp, STACK_SIZE, $ra
207 addiu $sp, -STACK_SIZE
276 lw $at, (STACK_SIZE+16)($sp)
307 addiu $sp, STACK_SIZE
343 lw $at, (STACK_SIZE+16)($sp)
440 .frame $sp, STACK_SIZE, $ra
442 addiu $sp, -STACK_SIZE
488 addiu $sp, STACK_SIZE
/linux/arch/xtensa/lib/
H A 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/arch/sh/boot/compressed/
H A Dmisc.c121 #define STACK_SIZE (4096) macro
122 long __attribute__ ((aligned(stackalign))) user_stack[STACK_SIZE];
123 long *stack_start = &user_stack[STACK_SIZE];
/linux/tools/testing/selftests/sched/
H A 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/tools/testing/selftests/powerpc/dexcr/
H A Dhashchk_test.c183 #define STACK_SIZE (1024 * 1024) macro
205 child_stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, in hashchk_clone_share_key_test()
210 pid = clone(hashchk_clone_child_fn, child_stack + STACK_SIZE, in hashchk_clone_share_key_test()
/linux/tools/testing/selftests/memfd/
H A Dfuse_test.c40 #define STACK_SIZE 65536 macro
205 stack = malloc(STACK_SIZE); in spawn_sealing_thread()
207 printf("malloc(STACK_SIZE) failed: %m\n"); in spawn_sealing_thread()
212 stack + STACK_SIZE, in spawn_sealing_thread()
H A Dmemfd_test.c31 #define STACK_SIZE 65536 macro
784 stack = malloc(STACK_SIZE); in spawn_thread()
790 pid = clone(fn, stack + STACK_SIZE, SIGCHLD | flags, arg); in spawn_thread()
/linux/arch/xtensa/boot/boot-redboot/
H A Dbootstrap.S29 #define STACK_SIZE 32768 macro
163 movi a1, _stack + STACK_SIZE
249 .comm _stack, STACK_SIZE
/linux/arch/alpha/lib/
H A Ddbg_stackkill.S23 lda $2, -STACK_SIZE
/linux/tools/testing/selftests/x86/
H A Dlam.c64 #define STACK_SIZE 65536 macro
856 char stack[STACK_SIZE]; in handle_thread()
868 pid = clone(thread_fn_get_lam, stack + STACK_SIZE, in handle_thread()
891 char stack[STACK_SIZE]; in handle_thread_enable()
896 pid = clone(thread_fn_set_lam, stack + STACK_SIZE, in handle_thread_enable()
/linux/arch/x86/boot/
H A Dmain.c123 stack_end = (char *) (current_stack_pointer - STACK_SIZE); in init_heap()
/linux/arch/s390/
H A DMakefile39 STACK_SIZE := $(if $(CONFIG_KASAN),65536,$(if $(CONFIG_KMSAN),65536,16384)) macro
/linux/arch/x86/crypto/
H A Dsm3-avx-asm_64.S141 #define STACK_SIZE (STACK_REG_SAVE + STACK_REG_SAVE_SIZE) macro
344 subq $STACK_SIZE, %rsp;
/linux/lib/crypto/x86/
H A Dsha256-avx-asm.S127 STACK_SIZE = _XMM_SAVE + _XMM_SAVE_SIZE define
356 subq $STACK_SIZE, %rsp # allocate stack space
H A Dsha256-ssse3-asm.S121 STACK_SIZE = _XMM_SAVE + _XMM_SAVE_SIZE define
363 subq $STACK_SIZE, %rsp
H A Dsha256-avx2-asm.S126 STACK_SIZE = _CTX + _CTX_SIZE define
534 subq $STACK_SIZE, %rsp
/linux/arch/arm64/crypto/
H A Dsm3-neon-core.S31 #define STACK_SIZE (STACK_W + STACK_W_SIZE) macro
368 sub addr0, sp, #STACK_SIZE
/linux/arch/x86/net/
H A Dbpf_jit_comp32.c183 #define STACK_SIZE ALIGN(_STACK_SIZE, STACK_ALIGNMENT) macro
1221 EMIT2_off32(0x81, 0xEC, STACK_SIZE); in emit_prologue()

12