Home
last modified time | relevance | path

Searched refs:getppid (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.1.9/tools/testing/selftests/cgroup/
Dtest_kill.c48 int ppid = getppid(); in child_fn()
50 while (getppid() == ppid) in child_fn()
53 return getppid() == ppid; in child_fn()
211 ppid = getppid(); in forkbomb_fn()
213 while (getppid() == ppid) in forkbomb_fn()
216 return getppid() == ppid; in forkbomb_fn()
Dtest_freezer.c123 int ppid = getppid(); in child_fn()
125 while (getppid() == ppid) in child_fn()
128 return getppid() == ppid; in child_fn()
347 ppid = getppid(); in forkbomb_fn()
349 while (getppid() == ppid) in forkbomb_fn()
352 return getppid() == ppid; in forkbomb_fn()
Dtest_memcontrol.c196 int ppid = getppid(); in alloc_pagecache_50M_noexit()
201 while (getppid() == ppid) in alloc_pagecache_50M_noexit()
209 int ppid = getppid(); in alloc_anon_noexit()
217 while (getppid() == ppid) in alloc_anon_noexit()
Dtest_core.c50 int ppid = getppid(); in alloc_and_touch_anon_noexit()
64 while (getppid() == ppid) in alloc_and_touch_anon_noexit()
/linux-6.1.9/tools/testing/selftests/vm/
Dmrelease_test.c30 int ppid = getppid(); in alloc_noexit()
52 while (getppid() == ppid && timeout > 0) { in alloc_noexit()
Dmemfd_secret.c98 if (process_vm_readv(getppid(), &liov, 1, &riov, 1, 0) < 0) { in try_process_vm_read()
109 pid_t ppid = getppid(); in try_ptrace()
/linux-6.1.9/tools/testing/selftests/ptrace/
Dpeeksiginfo.c168 pid_t ppid = getppid(); in main()
170 if (ppid != getppid()) in main()
/linux-6.1.9/tools/perf/bench/
Dsyscall.c44 getppid(); in bench_syscall_basic()
/linux-6.1.9/tools/testing/selftests/powerpc/security/
Dflush_utils.c35 getppid(); in syscall_loop()
/linux-6.1.9/tools/testing/selftests/seccomp/
Dseccomp_bpf.c585 pid_t parent = getppid(); in TEST()
672 pid_t parent = getppid(); in TEST_SIGNAL()
705 pid_t parent = getppid(); in TEST_SIGNAL()
744 pid_t parent = getppid(); in TEST_SIGNAL()
956 pid_t parent = getppid(); in TEST()
974 pid_t parent = getppid(); in TEST()
996 pid_t parent = getppid(); in TEST()
1021 pid_t parent = getppid(); in TEST()
1231 parent = getppid(); in TEST_F()
1257 parent = getppid(); in TEST_F_SIGNAL()
[all …]
/linux-6.1.9/tools/perf/tests/
Dthread-map.c115 asprintf(&str, "%d,%d", getpid(), getppid()) >= 0); in test__thread_map_remove()
Dmmap-basic.c39 pid_t (*syscalls[])(void) = { (void *)getsid, getppid, (void*)getpgid }; in test__basic_mmap()
/linux-6.1.9/tools/testing/selftests/proc/
Dproc-empty-vm.c332 kill(getppid(), SIGTERM); in main()
/linux-6.1.9/tools/power/x86/intel-speed-select/
Disst-daemon.c140 if (getppid() == 1)
/linux-6.1.9/tools/testing/selftests/bpf/benchs/
Dbench_local_storage_rcu_tasks_trace.c163 if (getppid() != runner_pid) { in local_storage_tasks_trace_setup()
/linux-6.1.9/arch/um/os-Linux/
Dstart_up.c32 int pid = os_getpid(), ppid = getppid(); in ptrace_child()
/linux-6.1.9/tools/testing/selftests/uevent/
Duevent_filtering.c226 ppid = getppid(); in set_death_signal()
/linux-6.1.9/tools/testing/selftests/bpf/
Dcgroup_helpers.c45 format_cgroup_path_pid(buf, path, getppid())
/linux-6.1.9/tools/perf/Documentation/
Dperf-bench.txt147 This uses a single thread simply doing getppid(2), which is a simple syscall where the result is not
/linux-6.1.9/tools/testing/selftests/nolibc/
Dnolibc-test.c468 CASE_TEST(getppid); EXPECT_SYSNE(1, getppid(), -1); break; in run_syscall()
/linux-6.1.9/Documentation/staging/
Dstatic-keys.rst211 As an example, let's add the following branch to 'getppid()', such that the
214 SYSCALL_DEFINE0(getppid)
/linux-6.1.9/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl118 108 n64 getppid sys_getppid
/linux-6.1.9/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl118 108 n64 getppid sys_getppid
/linux-6.1.9/arch/ia64/kernel/syscalls/
Dsyscall.tbl30 18 common getppid sys_getppid
/linux-6.1.9/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl121 110 common getppid sys_getppid

12