Home
last modified time | relevance | path

Searched refs:expected_pid (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/containers/pidns/
Dpidns16.c61 pid_t expected_pid; in child_signal_handler() local
67 expected_pid = PARENT_PID; in child_signal_handler()
70 expected_pid = CHILD_PID; in child_signal_handler()
77 if (si->si_pid == expected_pid) in child_signal_handler()
79 expected_pid); in child_signal_handler()
82 " expecting pid %d", si->si_pid, expected_pid); in child_signal_handler()
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dget_cgroup_id_kern.c25 __u32 key = 0, *expected_pid; in trace() local
28 expected_pid = bpf_map_lookup_elem(&pidmap, &key); in trace()
29 if (!expected_pid || *expected_pid != pid) in trace()
/external/linux-kselftest/tools/testing/selftests/clone3/
Dclone3_set_tid.c43 int expected_pid, in call_clone3_set_tid() argument
98 if (expected_pid == 0 || expected_pid == pid) { in call_clone3_set_tid()
104 expected_pid, pid); in call_clone3_set_tid()
123 int expected_pid, in test_clone3_set_tid() argument
131 ret = call_clone3_set_tid(set_tid, set_tid_size, flags, expected_pid, in test_clone3_set_tid()
/external/python/cpython3/Lib/asyncio/
Dunix_events.py985 def _do_waitpid(self, expected_pid): argument
1065 def _do_waitpid(self, expected_pid): argument
1066 assert expected_pid > 0
1069 pid, status = os.waitpid(expected_pid, os.WNOHANG)
1073 pid = expected_pid
1086 expected_pid, returncode)
1280 def _do_waitpid(self, expected_pid): argument
1281 assert expected_pid > 0
1284 pid, status = os.waitpid(expected_pid, os.WNOHANG)
1288 pid = expected_pid
[all …]