| /tools/perf/arch/arm/tests/ |
| A 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()
|
| /tools/perf/arch/arm64/tests/ |
| A 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()
|
| /tools/perf/arch/powerpc/tests/ |
| A 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()
|
| /tools/perf/arch/x86/tests/ |
| A 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()
|
| /tools/testing/selftests/powerpc/ptrace/ |
| A 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)
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A 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()
|
| A 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()
|
| /tools/testing/selftests/mm/ |
| A D | pkey_sighandler_tests.c | 33 #define STACK_SIZE PTHREAD_STACK_MIN macro 302 stack = mmap(0, STACK_SIZE, PROT_READ | PROT_WRITE, in test_sigsegv_handler_with_different_pkey_for_stack() 315 sys_mprotect_pkey(stack, STACK_SIZE, PROT_READ | PROT_WRITE, pkey); in test_sigsegv_handler_with_different_pkey_for_stack() 318 sigstack.ss_sp = mmap(0, STACK_SIZE, PROT_READ | PROT_WRITE, in test_sigsegv_handler_with_different_pkey_for_stack() 321 sigstack.ss_size = STACK_SIZE; in test_sigsegv_handler_with_different_pkey_for_stack() 330 stack + STACK_SIZE, in test_sigsegv_handler_with_different_pkey_for_stack() 470 stack = mmap(0, STACK_SIZE, PROT_READ | PROT_WRITE, in test_pkru_sigreturn() 488 sys_mprotect_pkey(stack, STACK_SIZE, PROT_READ | PROT_WRITE, pkey); in test_pkru_sigreturn() 491 sigstack.ss_sp = mmap(0, STACK_SIZE, PROT_READ | PROT_WRITE, in test_pkru_sigreturn() 494 sigstack.ss_size = STACK_SIZE; in test_pkru_sigreturn() [all …]
|
| /tools/testing/selftests/powerpc/dexcr/ |
| A 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()
|
| /tools/testing/selftests/sched/ |
| A 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()
|
| /tools/testing/selftests/memfd/ |
| A 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()
|
| A D | memfd_test.c | 31 #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()
|
| /tools/testing/selftests/x86/ |
| A D | lam.c | 64 #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()
|