Home
last modified time | relevance | path

Searched +full:wait +full:- +full:state (Results 1 – 25 of 1107) sorted by relevance

12345678910>>...45

/freebsd/tests/sys/netpfil/pf/
H A Ddivert-to.sh2 # SPDX-License-Identifier: BSD-2-Clause
28 # pf divert-to action test cases
30 # -----------| |-- |----| ----| |-----------
31 # ( ) inbound |pf_check_in| ) -> |host| -> ( ) |pf_check_out| outbound )
32 # -----------| | |-- |----| ----| | |-----------
35 # |------| |------|
37 # |------| |------|
40 # - inbound > diverted | divapp terminated
41 # - inbound > diverted > inbound | host terminated
42 # - inbound > diverted > outbound | network terminated
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.localtcpstate.ksh.out3 ip:::send - yes
4 ip:::receive - yes
5 tcp:::send - yes
6 tcp:::receive - yes
7 tcp:::state-change to syn-sent - yes
8 tcp:::state-change to syn-received - yes
9 tcp:::state-change to established - yes
10 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
[all …]
H A Dtst.remotetcpstate.ksh.out3 ip:::send - yes
4 ip:::receive - yes
5 tcp:::send - yes
6 tcp:::receive - yes
7 tcp:::state-change to syn-sent - yes
8 tcp:::state-change to established - yes
9 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
[all …]
H A Dtst.localtcpstate.ksh28 # Test tcp:::state-change and tcp:::{send,receive} by connecting to
31 # A number of state transition events along with tcp fusion send and
55 print -u2 "expected one argument: <dtrace-path>"
65 while [ $tcpport -lt $bound ]; do
66 nc -z $local $tcpport >/dev/null || break
69 if [ $tcpport -eq $bound ]; then
78 nc -l $local $tcpport &
80 cat > test.pl <<-EOPERL
82 my \$s = IO::Socket::INET->new(
92 $dtrace -c 'perl test.pl' -qs /dev/stdin <<EODTRACE
[all …]
/freebsd/contrib/llvm-project/lldb/bindings/interface/
H A DSBEventDocstrings.i6 Try wait for event...
7 …er = 0x1009c8410, type = 0x00000001, data = { process = 0x1009c8400 (pid = 21528), state = running}
9 Process state: running
11 Try wait for event...
12 …er = 0x1009c8410, type = 0x00000001, data = { process = 0x1009c8400 (pid = 21528), state = stopped}
14 Process state: stopped
16 Try wait for event...
17 …ter = 0x1009c8410, type = 0x00000001, data = { process = 0x1009c8400 (pid = 21528), state = exited}
19 Process state: exited
21 Try wait for event...
[all …]
/freebsd/share/man/man4/
H A Dtty.462 for dialing out of a system (through an out-calling modem), but again
111 .Bd -literal
118 .Bl -tag -width TIOCGWINSZ
152 Place the current value of the termios state associated with the
160 Set the termios state associated with the device immediately.
168 First wait for any output to complete, then set the termios state
177 First wait for any output to complete, clear any pending input,
178 then set the termios state associated with the device.
223 system call which will place the process into its own session - which
243 Wait until all output is drained, or until the drain wait timeout expires.
[all …]
/freebsd/sys/dev/isci/scil/
H A Dscic_sds_phy.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
75 * This is the timeout value for the SATA phy to wait for a SIGNATURE FIS
76 * before restarting the starting state machine. Technically, the old
88 * OOB state machine.
98 * Initial state
103 * Wait state for the hardware OSSP event type notification
[all …]
/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_event.h3 * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
125 * a single waiter. If TRUE, the event remains in the signalled state
137 * The event is initially in a reset state.
176 * The cl_event_signal function sets an event to the signalled state and
193 * For auto-reset events, the event is reset automatically once a wait
197 * number of wait operations are satisfied. This is because events are
198 * either in a signalled on non-signalled state, and triggering an event
[all …]
/freebsd/sys/dev/ipmi/
H A Dipmi_kcs.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
49 #define POLLING_DELAY_MIN 4 /* Waits are 2-3 usecs on typical systems */
64 while (ticks - start < MAX_TIMEOUT && (status & mask) != value) { in kcs_wait()
66 * The wait delay is increased exponentially to avoid putting in kcs_wait()
109 /* Wait for IBF = 0 */ in kcs_error()
115 /* Wait for IBF = 0 */ in kcs_error()
124 device_printf(sc->ipmi_dev, in kcs_error()
131 /* Wait for IBF = 0 */ in kcs_error()
136 /* Wait for OBF = 1 */ in kcs_error()
[all …]
/freebsd/sys/dev/ocs_fc/
H A Docs_fabric.c1 /*-
35 * This file implements remote node state machines for:
36 * - Fabric logins.
37 * - Fabric controller events.
38 * - Name/directory services interaction.
39 * - Point-to-point logins.
43 @defgroup fabric_sm Node State Machine: Fabric States
44 @defgroup ns_sm Node State Machine: Name/Directory Services States
45 @defgroup p2p_sm Node State Machine: Point-to-Point Node States
64 * @brief Fabric node state machine: Initial state.
[all …]
H A Docs_device.c1 /*-
34 * Implement remote device state machine for target and initiator.
38 @defgroup device_sm Node State Machine: Remote Device States
67 ocs_t *ocs = io->ocs; in ocs_d_send_prli_rsp()
68 ocs_node_t *node = io->node; in ocs_d_send_prli_rsp()
70 /* If the back-end doesn't support the fc-type, we send an LS_RJT */ in ocs_d_send_prli_rsp()
71 if (ocs->fc_type != node->fc_type) { in ocs_d_send_prli_rsp()
72 node_printf(node, "PRLI rejected by target-server, fc-type not supported\n"); in ocs_d_send_prli_rsp()
75 node->shutdown_reason = OCS_NODE_SHUTDOWN_DEFAULT; in ocs_d_send_prli_rsp()
79 /* If the back-end doesn't want to talk to this initiator, we send an LS_RJT */ in ocs_d_send_prli_rsp()
[all …]
/freebsd/contrib/ofed/librdmacm/examples/
H A Drping.c15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
104 #define RPING_MSG_FMT "rdma-ping-%d: "
141 enum test_state state; /* used for cond/signalling */ member
164 struct rping_cb *cb = cma_id->context; in rping_cma_event_handler()
167 rdma_event_str(event->event), cma_id, in rping_cma_event_handler()
168 (cma_id == cb->cm_id) ? "parent" : "child"); in rping_cma_event_handler()
170 switch (event->event) { in rping_cma_event_handler()
172 cb->state = ADDR_RESOLVED; in rping_cma_event_handler()
175 cb->state = ERROR; in rping_cma_event_handler()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/arm/msm/
H A Dqcom,idle-state.txt3 ARM provides idle-state node to define the cpuidle states, as defined in [1].
4 cpuidle-qcom is the cpuidle driver for Qualcomm SoCs and uses these idle
6 The idle states supported by the QCOM SoC are defined as -
16 trigger to execute the SPM state machine. The SPM state machine waits for the
19 the SPM state machine out of its wait, the next step is to ensure that the
21 execution. This state is defined as a generic ARM WFI state by the ARM cpuidle
22 driver and is not defined in the DT. The SPM state machine should be
23 configured to execute this state by default and after executing every other
24 state below.
26 Retention: Retention is a low power state where the core is clock gated and
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dsdio_mac.c1 // SPDX-License-Identifier: ISC
12 struct mt76_sdio *sdio = &dev->sdio; in mt7921s_enable_irq()
14 sdio_claim_host(sdio->func); in mt7921s_enable_irq()
15 sdio_writel(sdio->func, WHLPCR_INT_EN_SET, MCR_WHLPCR, NULL); in mt7921s_enable_irq()
16 sdio_release_host(sdio->func); in mt7921s_enable_irq()
21 struct mt76_sdio *sdio = &dev->sdio; in mt7921s_disable_irq()
23 sdio_claim_host(sdio->func); in mt7921s_disable_irq()
24 sdio_writel(sdio->func, WHLPCR_INT_EN_CLR, MCR_WHLPCR, NULL); in mt7921s_disable_irq()
25 sdio_release_host(sdio->func); in mt7921s_disable_irq()
30 return sdio_readl(dev->sdio.func, MCR_WHCR, NULL); in mt7921s_read_whcr()
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-condvar.c2 * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
6 * UCRL-CODE-235197
50 return (-EINVAL); in param_set_hrtimeout_slack()
72 cvp->cv_magic = CV_MAGIC; in __cv_init()
73 init_waitqueue_head(&cvp->cv_event); in __cv_init()
74 init_waitqueue_head(&cvp->cv_destroy); in __cv_init()
75 atomic_set(&cvp->cv_waiters, 0); in __cv_init()
76 atomic_set(&cvp->cv_refs, 1); in __cv_init()
77 cvp->cv_mutex = NULL; in __cv_init()
84 if (!atomic_read(&cvp->cv_waiters) && !atomic_read(&cvp->cv_refs)) { in cv_destroy_wakeup()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dptrace7.sh36 # 1001 863 862 0 44 0 13880 5268 wait Is 0 0:00,13 -bash (bash)
37 # 1001 21053 863 0 52 0 13188 3088 wait I+ 0 0:00,01 /bin/sh ./pt.sh
38 # 1001 21096 21053 0 52 0 10544 2308 wait I+ 0 0:00,00 /tmp/pt
39 # 1001 21103 21096 0 20 0 12852 2456 wait S+ 0 0:00,00 pt: main (pt)
40 # 1001 21103 21096 0 35 0 12852 2456 wait I+ 0 0:55,30 pt: main (pt)
41 # 1001 21104 21096 0 72 0 0 0 - Z+ 0 0:00,00 <defunct>
42 # 1001 21105 21096 0 72 0 0 0 - Z+ 0 0:00,00 <defunct>
43 # 1001 21116 21103 0 103 0 10544 2336 - RX+ 0 4:22,41 pt: spinner (pt)
44 # 1001 37711 21103 0 20 0 21200 2960 - R+ 0 0:00,00 ps -Hl
45 # 1001 890 879 0 20 0 22184 6196 select Ss+ 1 1:21,86 top -s 1
[all …]
/freebsd/sbin/ipf/ipf/
H A Dipf.83 ipf \- alters packet filtering lists for IP packet input and output
7 .B \-6AcdDEInoPrsvVyzZ
9 .B \-l
12 .B \-T
15 .B \-F
18 .B \-f
21 .B \-f
25 \fBipf\fP opens the filenames listed (treating "\-" as stdin) and parses the
35 .B \-6
38 option is ignored when specified with the -F option and the -F option
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wait_release.h2 * kmp_wait_release.h -- Wait/Release implementation
5 //===----------------------------------------------------------------------===//
9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
11 //===----------------------------------------------------------------------===//
20 #include "ompt-specific.h"
24 @defgroup WAIT_RELEASE Wait/Release operations
138 /*! Base class for wait/release volatile flag */
151 this->waiting_threads[0] = thr;
167 if (Sleepable && !(this->sleepLoc))
168 return (traits_type::tcr(*(this->get())) & ~KMP_BARRIER_SLEEP_STATE) ==
[all …]
/freebsd/sys/dev/ppbus/
H A Dppb_1284.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
33 * General purpose routines for the IEEE1284-1994 Standard
56 * Wait for the peripherial up to 40ms
78 ppb_1284_reset_error(device_t bus, int state) in ppb_1284_reset_error() argument
82 ppb->error = PPB_NO_ERROR; in ppb_1284_reset_error()
83 ppb->state = state; in ppb_1284_reset_error()
91 * Get IEEE1284 state
98 mtx_assert(ppb->ppc_lock, MA_OWNED); in ppb_1284_get_state()
99 return (ppb->state); in ppb_1284_get_state()
[all …]
/freebsd/contrib/ntp/html/
H A Dntp-wait.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
6 <title>ntp-wait - waits until ntpd is in synchronized state</title>
10 <h3><tt>ntp-wait</tt> - waits until ntpd is in synchronized state</h3>
12 <!-- #BeginDate format:En2m -->12-Jul-2011 22:03<!-- #EndDate -->
16 <p><tt>ntp-wait [ -v ] [ -n <i>tries</i> ] [ -s <i>seconds</i> ]</tt></p>
18 <p>The <tt>ntp-wait</tt> program blocks until ntpd is in synchronized state.
20 until after "ntpd -g" has set the time.
23 <dt><tt>-n <i>tries</i></tt>
25 <dt><tt>-s <i>seconds</i></tt>
[all …]
/freebsd/sys/contrib/ck/src/
H A Dck_barrier_mcs.c2 * Copyright 2011-2015 Samy Al Bahra.
38 ck_pr_store_uint(&barrier->tid, 0); in ck_barrier_mcs_init()
46 barrier[i].havechild[j] = ((i << 2) + j < nthr - 1) ? ~0 : 0; in ck_barrier_mcs_init()
50 * a thread does not wait for a child that does not exist. in ck_barrier_mcs_init()
58 &barrier[(i - 1) >> 2].childnotready[(i - 1) & 3]; in ck_barrier_mcs_init()
76 ck_barrier_mcs_subscribe(struct ck_barrier_mcs *barrier, struct ck_barrier_mcs_state *state) in ck_barrier_mcs_subscribe() argument
79 state->sense = ~0; in ck_barrier_mcs_subscribe()
80 state->vpid = ck_pr_faa_uint(&barrier->tid, 1); in ck_barrier_mcs_subscribe()
104 ck_pr_store_uint(&node->childnotready[0], node->havechild[0]); in ck_barrier_mcs_reinitialize_children()
105 ck_pr_store_uint(&node->childnotready[1], node->havechild[1]); in ck_barrier_mcs_reinitialize_children()
[all …]
/freebsd/contrib/kyua/utils/process/
H A Doperations.cpp33 #include <sys/wait.h>
61 /// process to construct the arguments list, which would have side-effects in
69 /// Exception-based, type-improved version of wait(2).
73 /// \throw process::system_error If the call to wait(2) fails.
79 const pid_t pid = ::wait(&stat_loc); in safe_wait()
80 if (pid == -1) { in safe_wait()
82 throw process::system_error("Failed to wait for any child process", in safe_wait()
89 /// Exception-based, type-improved version of waitpid(2).
91 /// \param pid The identifier of the process to wait for.
101 if (process::detail::syscall_waitpid(pid, &stat_loc, 0) == -1) { in safe_waitpid()
[all …]
/freebsd/lib/libsys/
H A Dwait.232 .Nm wait ,
38 .Nd wait for processes to change status
44 .Fn wait "int *status"
66 .Fn wait
72 .Fn wait
84 that need to wait for specific child processes,
87 The other wait functions are implemented using either
101 .Fn wait ,
106 functions all implicitly wait for exited and trapped processes,
125 .Bd -literal
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInsertDelayAlu.cpp1 //===- AMDGPUInsertDelayAlu.cpp - Insert s_delay_alu instructions ---------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
22 #define DEBUG_TYPE "amdgpu-insert-delay-alu"
44 // These instruction types wait for VA_VDST==0 before issuing. in instructionWaitsForVALU()
74 // regunit. In straight-line code there will only be one such instruction, but
76 // to represent the union of the worst-case delays of each type.
78 // One larger than the maximum number of (non-TRANS) VALU instructions we
90 // If it was written by a (non-TRANS) VALU, remember how many clock cycles
[all …]
/freebsd/sys/contrib/device-tree/Bindings/power/reset/
H A Dgpio-restart.txt6 handler. If the optional properties 'open-source' is not found, the GPIO line
7 will be driven in the inactive state. Otherwise its not driven until
13 inactive->active edge condition, triggering positive edge triggered
14 reset. After a delay specified by active-delay, the GPIO is set to
15 inactive, thus causing an active->inactive edge, triggering negative edge
16 triggered reset. After a delay specified by inactive-delay, the GPIO
17 is driven active again. After a delay specified by wait-delay, the
21 - compatible : should be "gpio-restart".
22 - gpios : The GPIO to set high/low, see "gpios property" in
28 - open-source : Treat the GPIO as being open source and defer driving
[all …]

12345678910>>...45