Home
last modified time | relevance | path

Searched refs:wait_result (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/tests/kernel/
H A Dt_sysv.c190 pid_t wait_result; in ATF_TC_BODY() local
281 wait_result = wait(&c_status); in ATF_TC_BODY()
282 ATF_REQUIRE_EQ_MSG(wait_result, child_pid, "wait returned %d (%s)", in ATF_TC_BODY()
283 wait_result, wait_result == -1 ? strerror(errno) : ""); in ATF_TC_BODY()
411 pid_t wait_result; in ATF_TC_BODY() local
500 wait_result = wait(&c_status); in ATF_TC_BODY()
501 ATF_REQUIRE_MSG(wait_result != -1, "wait failed: %s", in ATF_TC_BODY()
615 pid_t wait_result; in ATF_TC_BODY() local
684 wait_result = wait(&c_status); in ATF_TC_BODY()
685 ATF_REQUIRE_EQ_MSG(wait_result, child_pid, "wait returned %d (%s)", in ATF_TC_BODY()
[all …]
/netbsd-src/external/bsd/openldap/dist/libraries/liblutil/
H A Dntservice.c221 DWORD wait_result; in start_status_routine() local
226 wait_result = WaitForSingleObject( started_event, SCM_NOTIFICATION_INTERVAL ); in start_status_routine()
227 switch ( wait_result ) in start_status_routine()
267 DWORD wait_result; in stop_status_routine() local
272 wait_result = WaitForSingleObject( stopped_event, SCM_NOTIFICATION_INTERVAL ); in stop_status_routine()
273 switch ( wait_result ) in stop_status_routine()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
H A Dkfd_events.c672 uint32_t *wait_result) in kfd_wait_on_events() argument
706 *wait_result = test_event_condition(all, num_events, event_waiters); in kfd_wait_on_events()
707 if (*wait_result == KFD_IOC_WAIT_RESULT_COMPLETE) { in kfd_wait_on_events()
711 } else if (WARN_ON(*wait_result == KFD_IOC_WAIT_RESULT_FAIL)) { in kfd_wait_on_events()
754 *wait_result = test_event_condition(all, num_events, in kfd_wait_on_events()
756 if (*wait_result != KFD_IOC_WAIT_RESULT_TIMEOUT) in kfd_wait_on_events()
769 if (!ret && *wait_result == KFD_IOC_WAIT_RESULT_COMPLETE) in kfd_wait_on_events()
779 *wait_result = KFD_IOC_WAIT_RESULT_FAIL; in kfd_wait_on_events()
780 else if (*wait_result == KFD_IOC_WAIT_RESULT_FAIL) in kfd_wait_on_events()
H A Dkfd_priv.h1008 uint32_t *wait_result);
H A Dkfd_chardev.c1123 args->timeout, &args->wait_result); in kfd_ioctl_wait_events()