/linux-6.12.1/tools/testing/selftests/cgroup/ |
D | test_kill.c | 48 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()
|
D | test_freezer.c | 123 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()
|
D | test_memcontrol.c | 313 int ppid = getppid(); in alloc_pagecache_50M_noexit() 318 while (getppid() == ppid) in alloc_pagecache_50M_noexit() 326 int ppid = getppid(); in alloc_anon_noexit() 339 while (getppid() == ppid) in alloc_anon_noexit()
|
D | test_core.c | 52 int ppid = getppid(); in alloc_and_touch_anon_noexit() 66 while (getppid() == ppid) in alloc_and_touch_anon_noexit()
|
/linux-6.12.1/tools/testing/selftests/net/af_unix/ |
D | scm_pidfd.c | 203 if (parent_pid != getppid()) { in cmsg_check() 204 log_err("wrong SCM_PIDFD %d != %d", parent_pid, getppid()); in cmsg_check() 360 if (peer_cred.pid != getppid()) { in client() 361 log_err("peer_cred.pid != getppid(): %d != %d", peer_cred.pid, getppid()); in client()
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | mrelease_test.c | 22 int ppid = getppid(); in alloc_noexit() 40 while (getppid() == ppid && timeout > 0) { in alloc_noexit()
|
D | memfd_secret.c | 139 if (process_vm_readv(getppid(), &liov, 1, &riov, 1, 0) < 0) { in try_process_vm_read() 150 pid_t ppid = getppid(); in try_ptrace()
|
D | migration.c | 167 if (getppid() == 1)
|
/linux-6.12.1/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 168 pid_t ppid = getppid(); in main() 170 if (ppid != getppid()) in main()
|
/linux-6.12.1/tools/testing/selftests/powerpc/security/ |
D | flush_utils.c | 36 getppid(); in syscall_loop()
|
/linux-6.12.1/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 593 pid_t parent = getppid(); in TEST() 680 pid_t parent = getppid(); in TEST_SIGNAL() 713 pid_t parent = getppid(); in TEST_SIGNAL() 752 pid_t parent = getppid(); in TEST_SIGNAL() 964 pid_t parent = getppid(); in TEST() 982 pid_t parent = getppid(); in TEST() 1004 pid_t parent = getppid(); in TEST() 1029 pid_t parent = getppid(); in TEST() 1239 parent = getppid(); in TEST_F() 1265 parent = getppid(); in TEST_F_SIGNAL() [all …]
|
/linux-6.12.1/tools/perf/bench/ |
D | syscall.c | 90 getppid(); in bench_syscall_common()
|
/linux-6.12.1/tools/perf/tests/ |
D | thread-map.c | 116 asprintf(&str, "%d,%d", getpid(), getppid()) >= 0); in test__thread_map_remove()
|
D | mmap-basic.c | 41 pid_t (*syscalls[])(void) = { (void *)getsid, getppid, (void*)getpgid }; in test__basic_mmap()
|
/linux-6.12.1/tools/testing/selftests/bpf/benchs/ |
D | bench_local_storage_rcu_tasks_trace.c | 150 if (getppid() != runner_pid) { in local_storage_tasks_trace_setup()
|
/linux-6.12.1/tools/power/x86/intel-speed-select/ |
D | isst-daemon.c | 155 if (getppid() == 1)
|
/linux-6.12.1/arch/um/os-Linux/ |
D | start_up.c | 35 int pid = os_getpid(), ppid = getppid(); in ptrace_child()
|
/linux-6.12.1/tools/testing/selftests/proc/ |
D | proc-empty-vm.c | 473 kill(getppid(), SIGTERM); in main()
|
/linux-6.12.1/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 228 ppid = getppid(); in set_death_signal()
|
/linux-6.12.1/Documentation/staging/ |
D | static-keys.rst | 211 As an example, let's add the following branch to 'getppid()', such that the 214 SYSCALL_DEFINE0(getppid)
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | cgroup_helpers.c | 46 format_cgroup_path_pid(buf, path, getppid())
|
/linux-6.12.1/tools/perf/Documentation/ |
D | perf-bench.txt | 169 This uses a single thread simply doing getppid(2), which is a simple syscall where the result is not
|
/linux-6.12.1/Documentation/admin-guide/ |
D | workload-tracing.rst | 332 | getppid | 10000001 | Process Mgmt | sys_getpid() | 502 | getppid | 1 | Process Mgmt. | sys_getppid() | 586 | getppid | 1 | Process Mgmt. | sys_getppid() |
|
/linux-6.12.1/tools/perf/arch/mips/entry/syscalls/ |
D | syscall_n64.tbl | 118 108 n64 getppid sys_getppid
|
/linux-6.12.1/arch/mips/kernel/syscalls/ |
D | syscall_n64.tbl | 118 108 n64 getppid sys_getppid
|