Home
last modified time | relevance | path

Searched refs:WNOHANG (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/perf_events/
H A Dremove_on_exec.c148 ASSERT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Child is running. */ in TEST_F()
157 EXPECT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Should still be running. */ in TEST_F()
190 EXPECT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Should still be running. */ in TEST_F()
219 EXPECT_EQ(waitpid(pids[i], &tmp, WNOHANG), 0); in TEST_F()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/openl2tp/openl2tp/
H A D0001-Use-1-instead-of-WAIT_ANY.patch24 - while (((pid = waitpid(WAIT_ANY, &status, (waitfor ? 0: WNOHANG))) != -1) && (pid != 0)) {
25 + while (((pid = waitpid(-1, &status, (waitfor ? 0: WNOHANG))) != -1) && (pid != 0)) {
/openbmc/linux/include/uapi/linux/
H A Dwait.h5 #define WNOHANG 0x00000001 macro
/openbmc/linux/tools/testing/selftests/kvm/
H A Dhardware_disable_test.c138 if (pid != waitpid(pid, &status, WNOHANG)) in wait_for_child_setup()
174 r = waitpid(pid, &s, WNOHANG); in main()
/openbmc/linux/tools/testing/selftests/timers/
H A Dskew_consistency.c57 while (pid != waitpid(pid, &ret, WNOHANG)) { in main()
H A Dclocksource-switch.c177 while (pid != waitpid(pid, &status, WNOHANG)) in main()
/openbmc/openbmc/poky/meta/recipes-core/glib-2.0/glib-2.0/
H A D0001-meson.build-do-not-enable-pidfd-features-on-native-g.patch21 waitid (P_PIDFD, 0, &child_info, WEXITED | WNOHANG);
/openbmc/linux/tools/testing/selftests/ptrace/
H A Dvmaccess.c62 k = waitpid(-1, &s, WNOHANG); in TEST()
/openbmc/linux/arch/um/os-Linux/
H A Dutil.c153 while ((pid = waitpid(-1, NULL, WNOHANG | __WALL)) > 0) in os_dump_core()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet/
H A D0005-fix-incorrect-timeout-while-system-time-changed.patch44 os.waitpid(-1, os.WNOHANG)
H A D0003-support-infinit-timeout.patch32 os.waitpid(-1, os.WNOHANG)
H A D0002-run_program-support-timeout.patch34 + os.waitpid(-1, os.WNOHANG)
/openbmc/openbmc/poky/meta/recipes-devtools/expect/expect/
H A D0001-configure.in.patch17 AC_MSG_CHECKING([if any value exists for WNOHANG])
/openbmc/linux/tools/testing/selftests/rlimits/
H A Drlimits-per-userns.c120 pid_t ret = waitpid(child[i], &wstatus[i], WNOHANG); in main()
/openbmc/linux/scripts/
H A Dgenerate_initcall_order.pl167 $pid = waitpid(-1, WNOHANG);
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/functional/
H A Dfunctional_helpers.py38 os.waitpid(toaster_process, os.WNOHANG)
/openbmc/linux/tools/tracing/rtla/src/
H A Dtimerlat_u.c188 pid = waitpid(-1, &wstatus, WNOHANG); in timerlat_u_dispatcher()
/openbmc/u-boot/test/py/
H A Du_boot_spawn.py99 w = os.waitpid(self.pid, os.WNOHANG)
/openbmc/linux/tools/include/nolibc/
H A Dtypes.h112 #define WNOHANG 1 macro
/openbmc/linux/kernel/
H A Dexit.c1632 if (!retval && !(wo->wo_flags & WNOHANG)) { in do_wait()
1654 if (options & ~(WNOHANG|WNOWAIT|WEXITED|WSTOPPED|WCONTINUED| in kernel_waitid()
1701 wo.wo_flags |= WNOHANG; in kernel_waitid()
1704 if (!ret && !(options & WNOHANG) && (f_flags & O_NONBLOCK)) in kernel_waitid()
1752 if (options & ~(WNOHANG|WUNTRACED|WCONTINUED| in kernel_wait4()
/openbmc/linux/tools/testing/selftests/pidfd/
H A Dpidfd_wait.c213 ret = sys_waitid(P_PIDFD, pidfd, &info, WEXITED | WNOHANG, NULL); in TEST()
/openbmc/qemu/io/
H A Dchannel-command.c111 ret = waitpid(ioc->pid, &status, WNOHANG); in qio_channel_command_abort()
/openbmc/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c919 CASE_TEST(waitpid_min); EXPECT_SYSER(1, waitpid(INT_MIN, &tmp, WNOHANG), -1, ESRCH); break; in run_syscall()
920 …CASE_TEST(waitpid_child); EXPECT_SYSER(1, waitpid(getpid(), &tmp, WNOHANG), -1, ECHILD); break; in run_syscall()
/openbmc/openbmc/poky/bitbake/bin/
H A Dbitbake-worker521 pid, status = os.waitpid(-1, os.WNOHANG)
/openbmc/qemu/tests/qtest/
H A Dlibqtest.c161 pid = waitpid(pid, &s->wstatus, WNOHANG); in qtest_probe_child()
229 pid = waitpid(s->qemu_pid, &s->wstatus, WNOHANG); in qtest_wait_qemu()

12