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/
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/autotest/scheduler/
Dmonitor_db_unittest.py568 def _check_monitor(self, expected_pid, expected_exit_status, argument
570 if expected_pid is None:
573 self.assertEquals(self.monitor._state.process.pid, expected_pid)
582 def _test_read_pidfile_helper(self, expected_pid, expected_exit_status, argument
585 self._check_monitor(expected_pid, expected_exit_status,
625 def _test_get_pidfile_info_helper(self, expected_pid, expected_exit_status, argument
628 self._check_monitor(expected_pid, expected_exit_status,
/external/python/cpython3/Lib/asyncio/
Dunix_events.py848 def _do_waitpid(self, expected_pid): argument
944 def _do_waitpid(self, expected_pid): argument
945 assert expected_pid > 0
948 pid, status = os.waitpid(expected_pid, os.WNOHANG)
952 pid = expected_pid
965 expected_pid, returncode)