| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/timer/ |
| H A D | nouveau_nvkm_subdev_timer_base.c | 33 nvkm_timer_wait_test(struct nvkm_timer_wait *wait) in nvkm_timer_wait_test() argument 35 struct nvkm_subdev *subdev = &wait->tmr->subdev; in nvkm_timer_wait_test() 36 u64 time = nvkm_timer_read(wait->tmr); in nvkm_timer_wait_test() 38 if (wait->reads == 0) { in nvkm_timer_wait_test() 39 wait->time0 = time; in nvkm_timer_wait_test() 40 wait->time1 = time; in nvkm_timer_wait_test() 43 if (wait->time1 == time) { in nvkm_timer_wait_test() 44 if (wait->reads++ == 16) { in nvkm_timer_wait_test() 49 wait->time1 = time; in nvkm_timer_wait_test() 50 wait->reads = 1; in nvkm_timer_wait_test() [all …]
|
| /netbsd-src/external/bsd/ntp/dist/scripts/ntp-wait/ |
| H A D | ntp-wait.texi | 3 @setfilename ntp-wait.info 4 @settitle Ntp-wait User's Manual 10 This file documents the use of @code{ntp-wait}, 13 that is used to wait until @code{ntpd} has been able to 18 * ntp-wait: (ntp-wait). Wait for ntpd to synchronize and stabilize the system clock. 22 @title ntp-wait User's Manual 23 @subtitle ntp-wait, version @value{VERSION}, @value{UPDATED} 30 @node Top, ntp-wait Description, (dir), (dir) 32 This document describes the use of the NTP Project's @code{ntp-wait} program. 38 run @code{ntp-wait} to block [all …]
|
| /netbsd-src/sys/arch/amiga/dev/ |
| H A D | wstsc.c | 207 int wait = sci_data_wait; in wstsc_dma_xfer_in() local 222 wait = sci_data_wait; in wstsc_dma_xfer_in() 227 || --wait < 0) { in wstsc_dma_xfer_in() 231 len, *dev->sci_bus_csr, wait); in wstsc_dma_xfer_in() 259 wait = sci_data_wait; in wstsc_dma_xfer_in() 264 || --wait < 0) { in wstsc_dma_xfer_in() 268 len, *dev->sci_bus_csr, wait); in wstsc_dma_xfer_in() 291 int wait = sci_data_wait; in wstsc_dma_xfer_out() local 306 wait = sci_data_wait; in wstsc_dma_xfer_out() 311 || --wait < 0) { in wstsc_dma_xfer_out() [all …]
|
| H A D | mlhsc.c | 182 int wait = sci_data_wait; in mlhsc_dma_xfer_in() local 200 wait = sci_data_wait; in mlhsc_dma_xfer_in() 205 || --wait < 0) { in mlhsc_dma_xfer_in() 209 len, csr, wait); in mlhsc_dma_xfer_in() 236 wait = sci_data_wait; in mlhsc_dma_xfer_in() 241 || --wait < 0) { in mlhsc_dma_xfer_in() 245 len, csr, wait); in mlhsc_dma_xfer_in() 268 int wait = sci_data_wait; in mlhsc_dma_xfer_out() local 287 wait = sci_data_wait; in mlhsc_dma_xfer_out() 292 || --wait < 0) { in mlhsc_dma_xfer_out() [all …]
|
| H A D | ivsc.c | 196 int wait = sci_data_wait; in ivsc_dma_xfer_in() local 210 wait = sci_data_wait; in ivsc_dma_xfer_in() 215 || --wait < 0) { in ivsc_dma_xfer_in() 219 len, *dev->sci_bus_csr, wait); in ivsc_dma_xfer_in() 247 wait = sci_data_wait; in ivsc_dma_xfer_in() 252 || --wait < 0) { in ivsc_dma_xfer_in() 256 len, *dev->sci_bus_csr, wait); in ivsc_dma_xfer_in() 279 int wait = sci_data_wait; in ivsc_dma_xfer_out() local 294 wait = sci_data_wait; in ivsc_dma_xfer_out() 299 || --wait < 0) { in ivsc_dma_xfer_out() [all …]
|
| H A D | otgsc.c | 189 int wait = sci_data_wait; in otgsc_dma_xfer_in() local 203 wait = sci_data_wait; in otgsc_dma_xfer_in() 208 || --wait < 0) { in otgsc_dma_xfer_in() 212 len, *dev->sci_bus_csr, wait); in otgsc_dma_xfer_in() 235 int wait = sci_data_wait; in otgsc_dma_xfer_out() local 250 wait = sci_data_wait; in otgsc_dma_xfer_out() 255 || --wait < 0) { in otgsc_dma_xfer_out() 259 len, *dev->sci_bus_csr, wait); in otgsc_dma_xfer_out() 270 wait = sci_data_wait; in otgsc_dma_xfer_out() 272 SCI_CSR_PHASE_MATCH && --wait); in otgsc_dma_xfer_out()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sync/ |
| H A D | rwmutex.d | 223 m_readerQueue.wait(); in lock() 237 m_readerQueue.wait(); in lock() 332 m_readerQueue.wait(timeout < maxWaitPerCall ? timeout : maxWaitPerCall); in tryLock() 339 m_readerQueue.wait(nextWait < maxWaitPerCall ? nextWait : maxWaitPerCall); in tryLock() 363 m_readerQueue.wait(nextWait < maxWaitPerCall ? nextWait : maxWaitPerCall); in tryLock() 434 m_writerQueue.wait(); in lock() 448 m_writerQueue.wait(); in lock() 571 m_writerQueue.wait(timeout < maxWaitPerCall ? timeout : maxWaitPerCall); in tryLock() 578 m_writerQueue.wait(nextWait < maxWaitPerCall ? nextWait : maxWaitPerCall); in tryLock() 602 m_writerQueue.wait(nextWait < maxWaitPerCall ? nextWait : maxWaitPerCall); in tryLock() [all …]
|
| H A D | event.d | 211 bool wait() in wait() function 219 return wait(Duration.max); in wait() 232 bool wait(Duration tmout) in wait() function 304 assert(!ev1.wait(1.dur!"msecs")); 306 assert(ev1.wait()); 307 assert(!ev1.wait(1.dur!"msecs")); 311 assert(ev2.wait()); 312 assert(ev2.wait()); 314 assert(!ev2.wait(1.dur!"msecs")); 327 event.wait(8.dur!"seconds"); // timeout below limit for druntime test_runner in testFn()
|
| H A D | condition.d | 211 void wait() in wait() function 213 wait!(typeof(this))(true); in wait() 217 void wait() shared in wait() function 219 wait!(typeof(this))(true); in wait() 223 void wait(this Q)( bool _unused_ ) 254 bool wait( Duration val ) in wait() function 256 return wait!(typeof(this))(val, true); in wait() 260 bool wait( Duration val ) shared in wait() function 262 return wait!(typeof(this))(val, true); in wait() 266 bool wait(this Q)( Duration val, bool _unused_ ) [all …]
|
| /netbsd-src/sys/arch/hp300/stand/common/ |
| H A D | scsi.c | 196 int wait; in wait_for_select() local 199 wait = scsi_data_wait; in wait_for_select() 201 if (--wait < 0) in wait_for_select() 210 ixfer_start(volatile struct scsidevice *hd, int len, uint8_t phase, int wait) in ixfer_start() argument 222 if (hd->scsi_ints || --wait < 0) in ixfer_start() 232 int wait = scsi_data_wait; in ixfer_out() local 236 if (hd->scsi_ints || --wait < 0) in ixfer_out() 248 int wait = scsi_data_wait; in ixfer_in() local 252 if (hd->scsi_ints || --wait < 0) { in ixfer_in() 272 int wait; in scsiicmd() local [all …]
|
| /netbsd-src/external/mpl/bind/dist/bin/tests/system/reclimit/ans4/ |
| H A D | ans.pl | 63 my ($rcode, @ans, @auth, @add, $wait); 68 $wait = 0; 90 print ("\twait=$wait ans: $qname $ttl $qclass $qtype $rdata\n"); 105 print ("\twait=$wait ans: $qname $ttl $qclass $qtype $rdata\n"); 110 $wait = 1; 114 print ("\twait=$wait auth: $1.example.org 86400 $qclass NS ns1.$next.example.org\n"); 130 print ("\twait=$wait ans: $qname $ttl $qclass $qtype $rdata\n"); 139 print ("\twait=$wait auth: $1.example.net 86400 $qclass NS ns1.$s.example.net\n"); 141 print ("\twait=$wait add: ns1.$s.example.net 86400 $qclass A 10.53.0.7\n"); 147 print ("\twait=$wait NXDOMAIN\n"); [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/ |
| H A D | drm_syncobj.c | 173 struct syncobj_wait_entry *wait); 202 struct syncobj_wait_entry *wait) in drm_syncobj_fence_add_wait() argument 206 if (wait->fence) in drm_syncobj_fence_add_wait() 215 if (!fence || dma_fence_chain_find_seqno(&fence, wait->point)) { in drm_syncobj_fence_add_wait() 217 list_add_tail(&wait->node, &syncobj->cb_list); in drm_syncobj_fence_add_wait() 219 wait->fence = dma_fence_get_stub(); in drm_syncobj_fence_add_wait() 221 wait->fence = fence; in drm_syncobj_fence_add_wait() 227 struct syncobj_wait_entry *wait) in drm_syncobj_remove_wait() argument 229 if (!wait->node.next) in drm_syncobj_remove_wait() 233 list_del_init(&wait->node); in drm_syncobj_remove_wait() [all …]
|
| /netbsd-src/usr.sbin/timed/timed/ |
| H A D | candidate.c | 51 struct timeval then, wait; in election() local 62 wait.tv_sec = 0; in election() 63 wait.tv_usec = 0; in election() 64 while (0 != readmsg(TSP_REFUSE, ANYADDR, &wait, net)) { in election() 68 while (0 != readmsg(TSP_QUIT, ANYADDR, &wait, net)) { in election() 87 (void)gettimeofday(&wait, 0); in election() 88 timersub(&then, &wait, &wait); in election() 89 resp = readmsg(TSP_ANY, ANYADDR, &wait, net); in election()
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-m4/ |
| H A D | unionwait.m4 | 12 AC_MSG_CHECKING(for union wait) 15 #include <sys/wait.h>], 16 [union wait status; int pid; pid = wait (&status); 19 union wait type, and they do not work together. If union wait 28 /* Make sure union wait works with waitpid. */ 35 [Define if <sys/wait.h> defines the 'union wait' type.])
|
| /netbsd-src/external/gpl2/gettext/dist/gnulib-local/m4/ |
| H A D | unionwait.m4 | 12 AC_MSG_CHECKING(for union wait) 15 #include <sys/wait.h>], 16 [union wait status; int pid; pid = wait (&status); 19 union wait type, and they do not work together. If union wait 28 /* Make sure union wait works with waitpid. */ 35 [Define if <sys/wait.h> defines the 'union wait' type.])
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/ |
| H A D | execute_command_line.c | 82 execute_command_line (const char *command, bool wait, int *exitstat, in execute_command_line() argument 94 if (!wait) in execute_command_line() 140 else if (!wait) in execute_command_line() 175 execute_command_line_i4 (const char *command, GFC_LOGICAL_4 *wait, 182 execute_command_line_i4 (const char *command, GFC_LOGICAL_4 *wait, in execute_command_line_i4() argument 187 bool w = wait ? *wait : true; in execute_command_line_i4() 204 execute_command_line_i8 (const char *command, GFC_LOGICAL_8 *wait, 211 execute_command_line_i8 (const char *command, GFC_LOGICAL_8 *wait, in execute_command_line_i8() argument 216 bool w = wait ? *wait : true; in execute_command_line_i8()
|
| /netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/ |
| H A D | execute_command_line.c | 82 execute_command_line (const char *command, bool wait, int *exitstat, in execute_command_line() argument 94 if (!wait) in execute_command_line() 140 else if (!wait) in execute_command_line() 175 execute_command_line_i4 (const char *command, GFC_LOGICAL_4 *wait, 182 execute_command_line_i4 (const char *command, GFC_LOGICAL_4 *wait, in execute_command_line_i4() argument 187 bool w = wait ? *wait : true; in execute_command_line_i4() 204 execute_command_line_i8 (const char *command, GFC_LOGICAL_8 *wait, 211 execute_command_line_i8 (const char *command, GFC_LOGICAL_8 *wait, in execute_command_line_i8() argument 216 bool w = wait ? *wait : true; in execute_command_line_i8()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | GraphWriter.cpp | 119 StringRef Filename, bool wait, in ExecGraphViewer() argument 121 if (wait) { in ExecGraphViewer() 173 bool llvm::DisplayGraph(StringRef FilenameRef, bool wait, in DisplayGraph() argument 181 wait &= !ViewBackground; in DisplayGraph() 185 if (wait) in DisplayGraph() 189 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph() 198 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph() 209 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph() 222 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph() 284 wait = false; in DisplayGraph() [all …]
|
| /netbsd-src/external/gpl2/gettext/dist/gnulib-local/modules/ |
| H A D | wait-process.diff | 1 *** gnulib/modules/wait-process 2006-04-24 13:38:06.000000000 +0200 2 --- wait-process 2006-07-30 16:45:20.000000000 +0200 6 lib/wait-process.c 7 m4/wait-process.m4 22 lib_SOURCES += wait-process.h wait-process.c
|
| /netbsd-src/external/bsd/nsd/dist/ |
| H A D | mini_event.c | 161 struct timeval* wait) in handle_timeouts() argument 166 wait->tv_sec = (time_t)-1; in handle_timeouts() 176 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec; in handle_timeouts() 178 wait->tv_sec--; in handle_timeouts() 179 wait->tv_usec = 1000000 - (now->tv_usec - in handle_timeouts() 182 wait->tv_usec = p->ev_timeout.tv_usec in handle_timeouts() 199 handle_select(struct event_base* base, struct timeval* wait) in handle_select() argument 205 if(wait->tv_sec==(time_t)-1) in handle_select() 206 wait = NULL; in handle_select() 212 if((ret = select(base->maxfd+1, &r, &w, NULL, wait)) == -1) { in handle_select() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/ |
| H A D | i915_sw_fence.c | 148 spin_lock_destroy(&fence->wait.lock); in i915_sw_fence_fini() 149 BUG_ON(!list_empty(&fence->wait.head)); in i915_sw_fence_fini() 173 DRM_SPIN_WAKEUP_ALL(&sfw->wq, &sfw->fence->wait.lock); in autoremove_wake_function() 192 spin_lock(&fence->wait.lock); in i915_sw_fence_wait() 193 list_add_tail(&waiter.entry, &fence->wait.head); in i915_sw_fence_wait() 194 DRM_SPIN_WAIT_NOINTR_UNTIL(ret, &sfw.wq, &fence->wait.lock, in i915_sw_fence_wait() 197 spin_unlock(&fence->wait.lock); in i915_sw_fence_wait() 207 wait_queue_head_t *x = &fence->wait; in __i915_sw_fence_wake_up_all() 295 spin_lock_init(&fence->wait.lock); in __i915_sw_fence_init() 296 INIT_LIST_HEAD(&fence->wait.head); in __i915_sw_fence_init() [all …]
|
| /netbsd-src/external/bsd/unbound/dist/util/ |
| H A D | winsock_event.c | 164 struct timeval* wait) in handle_timeouts() argument 168 wait->tv_sec = (time_t)-1; in handle_timeouts() 179 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec; in handle_timeouts() 181 wait->tv_sec--; in handle_timeouts() 182 wait->tv_usec = 1000000 - (now->tv_usec - in handle_timeouts() 185 wait->tv_usec = p->ev_timeout.tv_usec in handle_timeouts() 189 (long long)wait->tv_sec, (int)wait->tv_usec); in handle_timeouts() 230 static int handle_select(struct event_base* base, struct timeval* wait) in handle_select() argument 243 if(wait->tv_sec==(time_t)-1) in handle_select() 244 wait = NULL; in handle_select() [all …]
|
| H A D | mini_event.c | 146 struct timeval* wait) in handle_timeouts() argument 150 wait->tv_sec = (time_t)-1; in handle_timeouts() 160 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec; in handle_timeouts() 162 wait->tv_sec--; in handle_timeouts() 163 wait->tv_usec = 1000000 - (now->tv_usec - in handle_timeouts() 166 wait->tv_usec = p->ev_timeout.tv_usec in handle_timeouts() 181 static int handle_select(struct event_base* base, struct timeval* wait) in handle_select() argument 187 if(wait->tv_sec==(time_t)-1) in handle_select() 188 wait = NULL; in handle_select() 194 if((ret = select(base->maxfd+1, &r, &w, NULL, wait)) == -1) { in handle_select() [all …]
|
| /netbsd-src/usr.bin/ftp/ |
| H A D | progressbar.c | 128 struct timeval now, wait; local 169 timersub(&now, &lastupdate, &wait); 173 wait.tv_sec = 0; 176 if (quit_time > 0 && wait.tv_sec > quit_time) { 179 getprogname(), (unsigned long)wait.tv_sec); 266 } else if (wait.tv_sec >= STALLTIME) { 308 struct timeval now, td, wait; local 367 timersub(&now, &lastupdate, &wait); 368 if (wait.tv_sec >= STALLTIME) 394 * Set the SIGALRM interval timer for wait second 397 alarmtimer(int wait) global() argument [all...] |
| /netbsd-src/share/examples/refuse/ian/libfetch/ |
| H A D | common.c | 381 struct timeval now, timeout, wait; in _fetch_read() local 397 wait.tv_sec = timeout.tv_sec - now.tv_sec; in _fetch_read() 398 wait.tv_usec = timeout.tv_usec - now.tv_usec; in _fetch_read() 399 if (wait.tv_usec < 0) { in _fetch_read() 400 wait.tv_usec += 1000000; in _fetch_read() 401 wait.tv_sec--; in _fetch_read() 403 if (wait.tv_sec < 0) { in _fetch_read() 409 r = select(conn->sd + 1, &readfds, NULL, NULL, &wait); in _fetch_read() 507 struct timeval now, timeout, wait; in _fetch_writev() local 523 wait.tv_sec = timeout.tv_sec - now.tv_sec; in _fetch_writev() [all …]
|