/linux-6.12.1/tools/testing/selftests/mm/ |
D | pkey_sighandler_tests.c | 32 #define STACK_SIZE PTHREAD_STACK_MIN macro 254 stack = mmap(0, STACK_SIZE, PROT_READ | PROT_WRITE, in test_sigsegv_handler_with_different_pkey_for_stack() 264 pkey_mprotect(stack, STACK_SIZE, PROT_READ | PROT_WRITE, pkey); in test_sigsegv_handler_with_different_pkey_for_stack() 267 sigstack.ss_sp = mmap(0, STACK_SIZE, PROT_READ | PROT_WRITE | PROT_EXEC, in test_sigsegv_handler_with_different_pkey_for_stack() 270 sigstack.ss_size = STACK_SIZE; in test_sigsegv_handler_with_different_pkey_for_stack() 280 (long) ((char *)(stack) + STACK_SIZE), in test_sigsegv_handler_with_different_pkey_for_stack() 410 stack = mmap(0, STACK_SIZE, PROT_READ | PROT_WRITE, in test_pkru_sigreturn() 425 pkey_mprotect(stack, STACK_SIZE, PROT_READ | PROT_WRITE, pkey); in test_pkru_sigreturn() 428 sigstack.ss_sp = mmap(0, STACK_SIZE, PROT_READ | PROT_WRITE | PROT_EXEC, in test_pkru_sigreturn() 431 sigstack.ss_size = STACK_SIZE; in test_pkru_sigreturn() [all …]
|
/linux-6.12.1/tools/perf/arch/arm64/tests/ |
D | dwarf-unwind.c | 11 #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.12.1/tools/perf/arch/arm/tests/ |
D | dwarf-unwind.c | 11 #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.12.1/tools/perf/arch/powerpc/tests/ |
D | dwarf-unwind.c | 11 #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.12.1/tools/perf/arch/x86/tests/ |
D | dwarf-unwind.c | 11 #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-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | fexit_sleep.c | 23 #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()
|
D | ns_current_pid_tgid.c | 17 #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-6.12.1/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-gpr.S | 13 #define STACK_SIZE (NUM_GPRS * GPR_SIZE) macro 22 PUSH_BASIC_STACK(STACK_SIZE) 51 POP_BASIC_STACK(STACK_SIZE)
|
/linux-6.12.1/arch/mips/crypto/ |
D | chacha-core.S | 9 #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.12.1/arch/sh/boot/compressed/ |
D | misc.c | 121 #define STACK_SIZE (4096) macro 122 long __attribute__ ((aligned(stackalign))) user_stack[STACK_SIZE]; 123 long *stack_start = &user_stack[STACK_SIZE];
|
/linux-6.12.1/arch/xtensa/lib/ |
D | usercopy.S | 64 #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.12.1/tools/testing/selftests/powerpc/dexcr/ |
D | hashchk_test.c | 183 #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-6.12.1/tools/testing/selftests/sched/ |
D | cs_prctl_test.c | 88 #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.12.1/tools/testing/selftests/memfd/ |
D | fuse_test.c | 40 #define STACK_SIZE 65536 macro 205 stack = malloc(STACK_SIZE); in spawn_sealing_thread() 212 stack + STACK_SIZE, in spawn_sealing_thread()
|
D | memfd_test.c | 30 #define STACK_SIZE 65536 macro 765 stack = malloc(STACK_SIZE); in spawn_thread() 771 pid = clone(fn, stack + STACK_SIZE, SIGCHLD | flags, arg); in spawn_thread()
|
/linux-6.12.1/arch/xtensa/boot/boot-redboot/ |
D | bootstrap.S | 29 #define STACK_SIZE 32768 macro 163 movi a1, _stack + STACK_SIZE 249 .comm _stack, STACK_SIZE
|
/linux-6.12.1/arch/alpha/lib/ |
D | dbg_stackkill.S | 23 lda $2, -STACK_SIZE
|
/linux-6.12.1/arch/s390/ |
D | Makefile | 39 STACK_SIZE := $(if $(CONFIG_KASAN),65536,$(if $(CONFIG_KMSAN),65536,16384)) macro 76 CC_FLAGS_CHECK_STACK := -mstack-size=$(STACK_SIZE)
|
/linux-6.12.1/tools/testing/selftests/x86/ |
D | lam.c | 55 #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.12.1/arch/arm/common/ |
D | bL_switcher.c | 120 #define STACK_SIZE 512 macro 128 stack += clusterid * STACK_SIZE + STACK_SIZE; in bL_switchpoint()
|
/linux-6.12.1/arch/x86/boot/ |
D | main.c | 123 stack_end = (char *) (current_stack_pointer - STACK_SIZE); in init_heap()
|
D | boot.h | 17 #define STACK_SIZE 1024 /* Minimum number of bytes for stack */ macro
|
/linux-6.12.1/arch/x86/crypto/ |
D | sm3-avx-asm_64.S | 141 #define STACK_SIZE (STACK_REG_SAVE + STACK_REG_SAVE_SIZE) macro 344 subq $STACK_SIZE, %rsp;
|
D | sha256-ssse3-asm.S | 122 STACK_SIZE = _XMM_SAVE + _XMM_SAVE_SIZE define 368 subq $STACK_SIZE, %rsp
|
D | sha256-avx-asm.S | 128 STACK_SIZE = _XMM_SAVE + _XMM_SAVE_SIZE define 359 subq $STACK_SIZE, %rsp # allocate stack space
|