Searched refs:wait (Results 76 - 100 of 776) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/
H A Dt_proc1.c44 #include <sys/wait.h>
82 wait(&status);
124 /* wait until we get all events we want */
/freebsd-11-stable/usr.sbin/cron/cron/
H A Dexterns.h35 # define WAIT_T union wait
63 # define WAIT_T union wait
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_wait_noproc.c32 #include <sys/wait.h>
45 ATF_TC(wait); variable
46 ATF_TC_HEAD(wait, tc)
49 "Test that wait(2) returns ECHILD for no child");
52 ATF_TC_BODY(wait, tc)
54 ATF_REQUIRE_ERRNO(ECHILD, wait(NULL) == -1);
327 ATF_TP_ADD_TC(tp, wait);
H A Dt_chroot.c34 #include <sys/wait.h>
93 (void)wait(&sta);
165 (void)wait(&sta);
217 (void)wait(&sta);
298 (void)wait(&sta);
H A Dt_mkfifo.c35 #include <sys/wait.h>
101 (void)wait(&sta);
193 (void)wait(&sta);
H A Dt_getgroups.c34 #include <sys/wait.h>
129 (void)wait(&sta);
H A Dt_mkdir.c38 #include <sys/wait.h>
140 (void)wait(&sta);
H A Dt_umask.c35 #include <sys/wait.h>
91 (void)wait(&sta);
/freebsd-11-stable/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_recv.c76 * so skipping the wait for BB panic reset */
109 int wait; local
130 /* wait for Rx DMA state machine to become idle */
141 for (wait = timeout / AH_TIME_QUANTUM; wait != 0; wait--) {
148 if (wait == 0) {
/freebsd-11-stable/usr.sbin/bluetooth/l2ping/
H A Dl2ping.c70 int32_t n, s, count, wait, flood, echo_size, numeric; local
90 wait = 1; /* sec */
117 wait = strtol(optarg, &endp, 10);
118 if (wait <= 0 || *endp != '\0')
231 a.tv_sec = wait;
281 "[-c count] [-i wait] [-S source] [-s size]\n");
287 fprintf(stderr, " -i wait Delay between packets (sec)\n");
/freebsd-11-stable/contrib/gdb/gdb/
H A Dgnu-nat.c82 /* The number of wait requests we've sent, and expect replies from. */
159 /* The results of the last wait an inf did. */
184 struct inf_wait wait; /* What to return from target_wait. */
340 else if (proc == inf->wait.thread && inf->wait.exc.reply && !force)
620 if (proc == inf->wait.thread)
654 inf->wait.status.kind = TARGET_WAITKIND_SPURIOUS;
655 inf->wait.thread = 0;
656 inf->wait.exc.handler = MACH_PORT_NULL;
657 inf->wait
183 struct inf_wait wait; /* What to return from target_wait. */ member in struct:inf
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dcondition.c50 * for the wait condition
198 * we are waiting we need to release it and reacquire it as soon as the wait
202 * result of the wait. Note that EnterCriticalSection will wait to acquire
206 wait(isc_condition_t *cond, isc_mutex_t *mutex, DWORD milliseconds) { function
212 * Get the thread events needed for the wait
236 return (wait(cond, mutex, INFINITE));
257 return (wait(cond, mutex, milliseconds));
/freebsd-11-stable/tests/sys/file/
H A Dclosefrom_test.c38 #include <sys/wait.h>
228 if (wait(NULL) < 0)
229 fail_err("wait");
246 if (wait(NULL) < 0)
247 fail_err("wait");
/freebsd-11-stable/sys/dev/kbd/
H A Dkbdreg.h128 typedef int kbd_read_t(keyboard_t *kbd, int wait);
130 typedef u_int kbd_read_char_t(keyboard_t *kbd, int wait);
181 #define kbdd_read(kbd, wait) \
182 (*kbdsw[(kbd)->kb_index]->read)((kbd), (wait))
185 #define kbdd_read_char(kbd, wait) \
186 (*kbdsw[(kbd)->kb_index]->read_char)((kbd), (wait))
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_closefrom.c34 #include <sys/wait.h>
155 (void)wait(&sta);
H A Dt_nice.c35 #include <sys/wait.h>
145 (void)wait(&sta);
/freebsd-11-stable/contrib/gcc/
H A Dsys-types.h83 union wait;
233 #define wait_arg_t union wait
/freebsd-11-stable/contrib/opie/
H A Dpopen.c68 #include <sys/wait.h>
202 while ((pid = wait(&status)) != child_pid && (pid != -1));
/freebsd-11-stable/sys/netnatm/
H A Dnatm_pcb.c68 npcb_alloc(int wait) argument
73 npcb = malloc(sizeof(*npcb), M_PCB, wait | M_ZERO);
/freebsd-11-stable/tests/sys/mqueue/
H A Dmqtest5.c6 #include <sys/wait.h>
120 wait(&status);
H A Dmqtest4.c6 #include <sys/wait.h>
112 wait(&status);
H A Dmqtest3.c5 #include <sys/wait.h>
110 wait(&status);
/freebsd-11-stable/sys/kern/
H A Dsubr_busdma_bufalloc.c151 uint8_t *pflag, int wait)
158 return ((void *)kmem_alloc_attr(kernel_arena, size, wait, 0,
150 busdma_bufalloc_alloc_uncacheable(uma_zone_t zone, vm_size_t size, uint8_t *pflag, int wait) argument
/freebsd-11-stable/contrib/netbsd-tests/net/icmp/
H A Dt_forward.c39 #include <sys/wait.h>
151 if (wait(&status) == -1)
152 atf_tc_fail_errno("wait");
/freebsd-11-stable/contrib/netbsd-tests/dev/sysmon/
H A Dt_swwdog.c29 #include <sys/wait.h>
82 p2 = wait(&status);

Completed in 154 milliseconds

1234567891011>>