Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 735) sorted by relevance

12345678910>>...30

/freebsd-12.1/contrib/ntp/scripts/ntp-wait/
H A Dinvoke-ntp-wait.texi1 @node ntp-wait Invocation
2 @section Invoking ntp-wait
3 @pindex ntp-wait
16 @code{ntp-wait}
27 @code{ntp-wait}
39 * ntp-wait usage:: ntp-wait help/usage (@option{--help})
48 @node ntp-wait usage
50 @cindex ntp-wait help
78 @node ntp-wait tries
86 @node ntp-wait sleep
[all …]
H A Dntp-wait.texi3 @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
30 @node Top, ntp-wait Description, (dir), (dir)
38 run @code{ntp-wait} to block
48 * ntp-wait Description:: Description
49 * ntp-wait Invocation:: Invoking ntp-wait
[all …]
/freebsd-12.1/usr.sbin/timed/timed/
H A Dcandidate.c52 struct timeval then, wait; in election() local
63 wait.tv_sec = 0; in election()
64 wait.tv_usec = 0; in election()
65 while (0 != readmsg(TSP_REFUSE, ANYADDR, &wait, net)) { in election()
69 while (0 != readmsg(TSP_QUIT, ANYADDR, &wait, net)) { in election()
92 (void)gettimeofday(&wait, 0); in election()
93 timevalsub(&wait,&then,&wait); in election()
94 resp = readmsg(TSP_ANY, ANYADDR, &wait, net); in election()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DGraphWriter.cpp95 StringRef Filename, bool wait, in ExecGraphViewer() argument
97 if (wait) { in ExecGraphViewer()
149 bool llvm::DisplayGraph(StringRef FilenameRef, bool wait, in DisplayGraph() argument
157 wait &= !ViewBackground; in DisplayGraph()
161 if (wait) in DisplayGraph()
165 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph()
174 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph()
185 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph()
198 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph()
260 wait = false; in DisplayGraph()
[all …]
H A DThreadPool.cpp39 QueueCondition.wait(LockGuard, in ThreadPool()
72 void ThreadPool::wait() { in wait() function in ThreadPool
78 CompletionCondition.wait(LockGuard, in wait()
123 void ThreadPool::wait() { in wait() function in ThreadPool
143 wait(); in ~ThreadPool()
/freebsd-12.1/sys/contrib/ck/include/spinlock/
H A Dhclh.h39 unsigned int wait; member
53 unowned->wait = false; in ck_spinlock_hclh_init()
68 r = ck_pr_load_uint(&head->wait); in ck_spinlock_hclh_locked()
81 thread->wait = true; in ck_spinlock_hclh_lock()
97 while (ck_pr_load_uint(&previous->wait) == true && in ck_spinlock_hclh_lock()
115 while (ck_pr_load_uint(&previous->wait) == true) in ck_spinlock_hclh_lock()
138 ck_pr_store_uint(&(*thread)->wait, false); in ck_spinlock_hclh_unlock()
H A Dclh.h40 unsigned int wait; member
50 unowned->wait = false; in ck_spinlock_clh_init()
63 r = ck_pr_load_uint(&head->wait); in ck_spinlock_clh_locked()
74 thread->wait = true; in ck_spinlock_clh_lock()
86 while (ck_pr_load_uint(&previous->wait) == true) in ck_spinlock_clh_lock()
111 ck_pr_store_uint(&(*thread)->wait, false); in ck_spinlock_clh_unlock()
/freebsd-12.1/contrib/unbound/util/
H A Dmini_event.c143 struct timeval* wait) in handle_timeouts() argument
147 wait->tv_sec = (time_t)-1; in handle_timeouts()
157 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec; in handle_timeouts()
159 wait->tv_sec--; in handle_timeouts()
160 wait->tv_usec = 1000000 - (now->tv_usec - in handle_timeouts()
163 wait->tv_usec = p->ev_timeout.tv_usec in handle_timeouts()
184 if(wait->tv_sec==(time_t)-1) in handle_select()
185 wait = NULL; in handle_select()
232 struct timeval wait; in event_base_dispatch() local
238 handle_timeouts(base, base->time_tv, &wait); in event_base_dispatch()
[all …]
H A Dwinsock_event.c164 struct timeval* wait) in handle_timeouts() argument
168 wait->tv_sec = (time_t)-1; in handle_timeouts()
189 (long long)wait->tv_sec, (int)wait->tv_usec); in handle_timeouts()
243 if(wait->tv_sec==(time_t)-1) in handle_select()
244 wait = NULL; in handle_select()
245 if(wait) in handle_select()
246 timeout = wait->tv_sec*1000 + wait->tv_usec/1000; in handle_select()
248 wait = &nultm; in handle_select()
272 if(wait) { in handle_select()
279 wait?timeout:WSA_INFINITE, in handle_select()
[all …]
/freebsd-12.1/sys/mips/mips/
H A Duma_machdep.c48 int wait) in uma_small_alloc() argument
56 pflags = malloc2vm_flags(wait) | VM_ALLOC_WIRED; in uma_small_alloc()
72 if ((wait & M_NOWAIT) != 0) in uma_small_alloc()
78 if ((wait & M_NODUMP) == 0) in uma_small_alloc()
81 if ((wait & M_ZERO) && (m->flags & PG_ZERO) == 0) in uma_small_alloc()
/freebsd-12.1/contrib/tnftp/src/
H A Dprogressbar.c136 struct timeval now, wait; local
175 timersub(&now, &lastupdate, &wait);
179 wait.tv_sec = 0;
182 if (quit_time > 0 && wait.tv_sec > quit_time) {
185 getprogname(), (unsigned long)wait.tv_sec);
272 } else if (wait.tv_sec >= STALLTIME) {
314 struct timeval now, td, wait; local
373 timersub(&now, &lastupdate, &wait);
374 if (wait.tv_sec >= STALLTIME)
403 alarmtimer(int wait) argument
[all …]
/freebsd-12.1/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp.h545 sdp_alloc_mb(struct socket *sk, u8 mid, int size, int wait) in sdp_alloc_mb() argument
550 MGETHDR(mb, wait, MT_DATA); in sdp_alloc_mb()
560 sdp_alloc_mb_data(struct socket *sk, int wait) in sdp_alloc_mb_data() argument
562 return sdp_alloc_mb(sk, SDP_MID_DATA, 0, wait); in sdp_alloc_mb_data()
566 sdp_alloc_mb_disconnect(struct socket *sk, int wait) in sdp_alloc_mb_disconnect() argument
568 return sdp_alloc_mb(sk, SDP_MID_DISCONN, 0, wait); in sdp_alloc_mb_disconnect()
615 sdp_alloc_mb_srcavail_cancel(struct socket *sk, int wait) in sdp_alloc_mb_srcavail_cancel() argument
617 return sdp_alloc_mb(sk, SDP_MID_SRCAVAIL_CANCEL, 0, wait); in sdp_alloc_mb_srcavail_cancel()
636 sdp_alloc_mb_sendsm(struct socket *sk, int wait) in sdp_alloc_mb_sendsm() argument
638 return sdp_alloc_mb(sk, SDP_MID_SENDSM, 0, wait); in sdp_alloc_mb_sendsm()
[all …]
/freebsd-12.1/bin/sh/tests/builtins/
H A Dwait1.011 wait $p4
13 wait $p8
18 wait $p7
20 wait $p3
/freebsd-12.1/sys/gnu/dts/arm/
H A Domap3430es1-clocks.dtsi13 compatible = "ti,wait-gate-clock";
38 compatible = "ti,wait-gate-clock";
46 compatible = "ti,wait-gate-clock";
54 compatible = "ti,wait-gate-clock";
62 compatible = "ti,wait-gate-clock";
70 compatible = "ti,composite-no-wait-gate-clock";
101 compatible = "ti,omap3-no-wait-interface-clock";
125 compatible = "ti,omap3-no-wait-interface-clock";
166 compatible = "ti,omap3-no-wait-interface-clock";
/freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.remotetcpstate.ksh.out9 tcp:::state-change to fin-wait-1 - yes
10 tcp:::state-change to close-wait - yes
11 tcp:::state-change to fin-wait-2 - yes
12 tcp:::state-change to time-wait - yes
H A Dtst.localtcpstate.ksh.out10 tcp:::state-change to fin-wait-1 - yes
11 tcp:::state-change to close-wait - yes
12 tcp:::state-change to fin-wait-2 - yes
14 tcp:::state-change to time-wait - yes
/freebsd-12.1/sys/riscv/riscv/
H A Duma_machdep.c46 int wait) in uma_small_alloc() argument
54 malloc2vm_flags(wait) | VM_ALLOC_NOOBJ | VM_ALLOC_WIRED); in uma_small_alloc()
58 if ((wait & M_NODUMP) == 0) in uma_small_alloc()
61 if ((wait & M_ZERO) && (m->flags & PG_ZERO) == 0) in uma_small_alloc()
/freebsd-12.1/sys/amd64/amd64/
H A Duma_machdep.c48 int wait) in uma_small_alloc() argument
56 malloc2vm_flags(wait) | VM_ALLOC_NOOBJ | VM_ALLOC_WIRED); in uma_small_alloc()
60 if ((wait & M_NODUMP) == 0) in uma_small_alloc()
63 if ((wait & M_ZERO) && (m->flags & PG_ZERO) == 0) in uma_small_alloc()
/freebsd-12.1/sys/arm64/arm64/
H A Duma_machdep.c46 int wait) in uma_small_alloc() argument
54 malloc2vm_flags(wait) | VM_ALLOC_NOOBJ | VM_ALLOC_WIRED); in uma_small_alloc()
58 if ((wait & M_NODUMP) == 0) in uma_small_alloc()
61 if ((wait & M_ZERO) && (m->flags & PG_ZERO) == 0) in uma_small_alloc()
/freebsd-12.1/contrib/libc++/include/
H A Dcondition_variable34 void wait(unique_lock<mutex>& lock);
36 void wait(unique_lock<mutex>& lock, Predicate pred);
79 void wait(Lock& lock);
81 void wait(Lock& lock, Predicate pred);
137 void wait(_Lock& __lock);
140 void wait(_Lock& __lock, _Predicate __pred);
197 condition_variable_any::wait(_Lock& __lock)
204 __cv_.wait(__lk);
210 condition_variable_any::wait(_Lock& __lock, _Predicate __pred)
213 wait(__lock);
/freebsd-12.1/contrib/gdb/gdb/
H A Dgnu-nat.c337 else if (proc == inf->wait.thread && inf->wait.exc.reply && !force) in proc_abort()
648 inf->wait.thread = 0; in make_inf()
677 inf->wait.thread = 0; in inf_clear_wait()
678 inf->wait.suppress = 0; in inf_clear_wait()
1567 if (inf->wait.suppress) in gnu_wait()
1579 thread = inf->wait.thread; in gnu_wait()
1680 inf->wait.exc.code = code; in S_exception_raise_request()
1693 inf->wait.suppress = 1; in S_exception_raise_request()
1726 inf->wait.suppress = 1; in do_mach_notify_dead_name()
1743 inf->wait.suppress = 1; in do_mach_notify_dead_name()
[all …]
/freebsd-12.1/stand/i386/libi386/
H A Dvidconsole.c589 int wait; in probe_keyboard() local
601 for (wait = PROBE_MAXWAIT; wait > 0; --wait) { in probe_keyboard()
611 if (wait <= 0) in probe_keyboard()
618 for (wait = PROBE_MAXWAIT; wait > 0; --wait) { in probe_keyboard()
623 if (wait <= 0) in probe_keyboard()
/freebsd-12.1/sys/kern/
H A Duipc_mbuf2.c270 m_dup1(struct mbuf *m, int off, int len, int wait) in m_dup1() argument
283 n = m_getcl(wait, m->m_type, M_PKTHDR); in m_dup1()
285 n = m_getcl(wait, m->m_type, 0); in m_dup1()
288 n = m_gethdr(wait, m->m_type); in m_dup1()
290 n = m_get(wait, m->m_type); in m_dup1()
295 if (copyhdr && !m_dup_pkthdr(n, m, wait)) { in m_dup1()
317 m_tag_alloc(uint32_t cookie, int type, int len, int wait) in m_tag_alloc() argument
321 MBUF_CHECKSLEEP(wait); in m_tag_alloc()
324 t = malloc(len + sizeof(struct m_tag), M_PACKET_TAGS, wait); in m_tag_alloc()
/freebsd-12.1/contrib/ntp/html/hints/
H A Ddecosf24 error in the /usr/include/sys/procset.h and /usr/include/sys/wait.h
7 cowbird:/usr/include/sys# diff -c wait.h.orig wait.h
8 *** wait.h.orig Tue Feb 22 02:41:38 1994
9 --- wait.h Thu Aug 25 14:52:57 1994
/freebsd-12.1/sys/dev/netmap/
H A Dnetmap_kloop.c446 wait_queue_t wait; member
487 init_waitqueue_entry(&entry->wait, current); in sync_kloop_poll_table_queue_proc()
489 init_waitqueue_func_entry(&entry->wait, in sync_kloop_poll_table_queue_proc()
492 add_wait_queue(wqh, &entry->wait); in sync_kloop_poll_table_queue_proc()
500 container_of(wait, struct sync_kloop_poll_entry, wait); in sync_kloop_tx_kick_wake_fun()
508 sync_kloop_tx_irq_wake_fun(wait_queue_t *wait, unsigned mode, in sync_kloop_tx_irq_wake_fun() argument
512 container_of(wait, struct sync_kloop_poll_entry, wait); in sync_kloop_tx_irq_wake_fun()
532 container_of(wait, struct sync_kloop_poll_entry, wait); in sync_kloop_rx_kick_wake_fun()
540 sync_kloop_rx_irq_wake_fun(wait_queue_t *wait, unsigned mode, in sync_kloop_rx_irq_wake_fun() argument
544 container_of(wait, struct sync_kloop_poll_entry, wait); in sync_kloop_rx_irq_wake_fun()
[all …]

12345678910>>...30