Home
last modified time | relevance | path

Searched refs:states (Results 1 – 25 of 505) sorted by relevance

12345678910>>...21

/freebsd/tests/sys/netpfil/pf/
H A Dsctp.py294 states = ToolsHelper.get_output("/sbin/pfctl -ss")
295 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
296 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.2:1234", states)
341 states = ToolsHelper.get_output("/sbin/pfctl -ss")
342 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
343 assert re.search(r"all sctp 192.0.2.10:.*192.0.2.3:1234", states)
360 states = ToolsHelper.get_output("/sbin/pfctl -ss")
361 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234.*SHUTDOWN", states)
388 states = ToolsHelper.get_output("/sbin/pfctl -ss")
389 print(states)
[all …]
H A Dsrc_track.sh167 states=$(mktemp) || exit 1
168 jexec router pfctl -qss | normalize_pfctl_s | grep 'tcp 2001:db8:43::2\[9\] <-' > $states
170 …grep -qE '2001:db8:44::1\[4201\] ESTABLISHED:ESTABLISHED' $states || atf_fail "State for port 4201…
171 …grep -qE '2001:db8:44::1\[4202\] ESTABLISHED:ESTABLISHED' $states || atf_fail "State for port 4202…
172 …grep -qE '2001:db8:44::1\[4203\] ESTABLISHED:ESTABLISHED' $states || atf_fail "State for port 4203…
173 …grep -qE '2001:db8:44::2\[4205\] ESTABLISHED:ESTABLISHED' $states || atf_fail "State for port 4205…
176 grep -qE '2001:db8:44::1\[4204\] ' $states &&
177 ! grep -qE '2001:db8:44::1\[4204\] CLOSED:CLOSED' $states
H A Dkillstate.sh426 states=$(jexec alcatraz pfctl -s s | grep 192.0.2.1 | wc -l)
427 if [ $states -ne 2 ] ;
429 atf_fail "Expected two states, found $states"
434 states=$(jexec alcatraz pfctl -s s | grep 192.0.2.1 | wc -l)
435 if [ $states -ne 1 ] ;
437 atf_fail "Expected one states, found $states"
441 jexec alcatraz pfctl -F states
448 states=$(jexec alcatraz pfctl -s s | grep 192.0.2.1 | wc -l)
449 if [ $states -ne 0 ] ;
451 atf_fail "Expected zero states, found $states"
H A Dsyncookie.sh353 states=$(jexec alcatraz pfctl -ss | grep tcp)
354 if [ -n "$states" ];
356 echo "$states"
400 states=$(jexec alcatraz pfctl -ss | grep tcp)
401 if [ -n "$states" ];
403 echo "$states"
463 states=$(jexec alcatraz pfctl -ss | grep tcp | wc -l)
464 if [ "$states" -gt 20 ];
466 echo "$states"
/freebsd/sys/dev/gpio/
H A Dgpioregulator.c58 struct gpioregulator_state *states; member
134 if (sc->def->states[n].val >= min_uvolt && in gpioregulator_regnode_set_voltage()
135 sc->def->states[n].val <= max_uvolt) { in gpioregulator_regnode_set_voltage()
136 state = &sc->def->states[n]; in gpioregulator_regnode_set_voltage()
174 if (sc->def->states[n].mask == mask) { in gpioregulator_regnode_get_voltage()
175 *uvolt = sc->def->states[n].val; in gpioregulator_regnode_get_voltage()
221 sc->init_def.states = malloc(sc->init_def.nstates * in gpioregulator_parse_fdt()
222 sizeof(*sc->init_def.states), M_DEVBUF, M_WAITOK); in gpioregulator_parse_fdt()
224 sc->init_def.states[n].val = pstates[n * 2 + 0]; in gpioregulator_parse_fdt()
225 sc->init_def.states[n].mask = pstates[n * 2 + 1]; in gpioregulator_parse_fdt()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_check_magic.c102 write_all_states(char *buff, unsigned int states)
109 while ((lowbit = states & (1 + ~states)) != 0) { in write_all_states()
110 states &= ~lowbit; /* Clear the low bit. */ in write_all_states()
112 if (states != 0) in write_all_states()
104 write_all_states(char * buff,unsigned int states) write_all_states() argument
/freebsd/sys/contrib/device-tree/Bindings/powerpc/opal/
H A Dpower-mgt.txt5 idle states. The description of these idle states is exposed via the
14 - flags: indicating some aspects of this idle states such as the
16 idle states and so on. The flag bits are as follows:
27 The following properties provide details about the idle states. These
32 If idle-states are defined, then the properties
38 Array of strings containing the names of the idle states.
42 flags associated with the aforementioned idle-states. The
62 exit-latencies (in ns) for the idle states in
67 target-residency (in ns) for the idle states in
75 PSSCR for each of the idle states in ibm,cpu-idle-state-names.
[all …]
/freebsd/sys/kern/
H A Dsubr_prng.c38 pcg32u_random_t states[2]; member
44 pcg32u_srandom_r(&state64->states[0], seed); in pcg64u_srandom_r()
45 pcg32u_srandom_r(&state64->states[1], seed); in pcg64u_srandom_r()
51 return ((((uint64_t)pcg32u_random_r(&state64->states[0])) << 32) | in pcg64u_random_r()
52 pcg32u_random_r(&state64->states[1])); in pcg64u_random_r()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_work.c134 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { in linux_queue_work_on() local
145 switch (linux_update_state(&work->state, states)) { in linux_queue_work_on()
217 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { in linux_queue_delayed_work_on() local
230 switch (linux_update_state(&dwork->work.state, states)) { in linux_queue_delayed_work_on()
266 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { in linux_work_fn() local
291 switch (linux_update_state(&work->state, states)) { in linux_work_fn()
344 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { in linux_delayed_work_timer_fn() local
353 switch (linux_update_state(&dwork->work.state, states)) { in linux_delayed_work_timer_fn()
372 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { in linux_cancel_work() local
384 switch (linux_update_state(&work->state, states)) { in linux_cancel_work()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dfsl-ls2088a.dtsi21 cpu-idle-states = <&CPU_PW20>;
31 cpu-idle-states = <&CPU_PW20>;
41 cpu-idle-states = <&CPU_PW20>;
51 cpu-idle-states = <&CPU_PW20>;
62 cpu-idle-states = <&CPU_PW20>;
71 cpu-idle-states = <&CPU_PW20>;
81 cpu-idle-states = <&CPU_PW20>;
91 cpu-idle-states = <&CPU_PW20>;
H A Dfsl-ls2080a.dtsi21 cpu-idle-states = <&CPU_PW20>;
31 cpu-idle-states = <&CPU_PW20>;
41 cpu-idle-states = <&CPU_PW20>;
51 cpu-idle-states = <&CPU_PW20>;
61 cpu-idle-states = <&CPU_PW20>;
71 cpu-idle-states = <&CPU_PW20>;
82 cpu-idle-states = <&CPU_PW20>;
91 cpu-idle-states = <&CPU_PW20>;
/freebsd/sys/dev/dpms/
H A Ddpms.c132 int error, states; in dpms_probe() local
134 error = dpms_get_supported_states(&states); in dpms_probe()
207 dpms_get_supported_states(int *states) in dpms_get_supported_states() argument
210 *states = 0; in dpms_get_supported_states()
211 return (dpms_call_bios(VBE_DPMS_GET_SUPPORTED_STATES, states)); in dpms_get_supported_states()
/freebsd/usr.bin/iscsictl/
H A Discsictl.c401 struct iscsi_session_state *states = NULL; in kernel_modify_some() local
410 states = realloc(states, in kernel_modify_some()
412 if (states == NULL) in kernel_modify_some()
417 isl.isl_pstates = states; in kernel_modify_some()
430 state = &states[i]; in kernel_modify_some()
483 struct iscsi_session_state *states = NULL; in kernel_list() local
491 states = realloc(states, in kernel_list()
493 if (states == NULL) in kernel_list()
498 isl.isl_pstates = states; in kernel_list()
515 state = &states[i]; in kernel_list()
[all …]
/freebsd/contrib/dialog/
H A Dchecklist.c48 const char *states; member
59 const char *states, in print_item() argument
82 states[item->state]); in print_item()
111 data->states, in print_list()
159 const char *states, in dlg_checklist() argument
216 DLG_TRACE2S("states", states); in dlg_checklist()
273 if (states == 0 || strlen(states) < 2) in dlg_checklist()
274 states = " *"; in dlg_checklist()
275 num_states = (int) strlen(states); in dlg_checklist()
276 all.states = states; in dlg_checklist()
[all …]
H A Dtreeview.c45 const char *states; member
55 const char *states, in print_item() argument
79 states[item->state]); in print_item()
114 data->states, in print_list()
162 const char *states, in dlg_treeview() argument
214 if (states == 0 || strlen(states) < 2) in dlg_treeview()
215 states = " *"; in dlg_treeview()
216 num_states = (int) strlen(states); in dlg_treeview()
223 all.states = states; in dlg_treeview()
/freebsd/sys/powerpc/cpufreq/
H A Ddfs.c141 int states; in dfs_settings() local
144 states = sc->dfs4 ? 3 : 2; in dfs_settings()
147 if (*count < states) in dfs_settings()
151 memset(sets, CPUFREQ_VAL_UNKNOWN, sizeof(*sets) * states); in dfs_settings()
159 *count = states; in dfs_settings()
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DAutomaton.td15 // generic finite-state automaton over a set of actions and states.
23 // Q: A set of possible states.
26 // F: The set of final (accepting) states.
28 // Because generating all possible states is tedious, we instead define the
29 // transition function only and crawl all reachable states starting from the
32 // We define F = S, that is, all valid states are accepting.
40 // Instead of defining all possible states (which would be cumbersome), the user
53 // sequence of states traversed to accept that input.
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-spec-builders.cc540 StateMap& states() { return states_; } in states() function in testing::__anon7d258c5e0111::MockObjectRegistry
615 g_mock_object_registry.states()[mock_obj].leakable = true; in AllowLeak()
643 if (g_mock_object_registry.states().count(mock_obj) == 0) { in VerifyAndClearExpectationsLocked()
652 g_mock_object_registry.states()[mock_obj].function_mockers; in VerifyAndClearExpectationsLocked()
683 g_mock_object_registry.states()[mock_obj].function_mockers.insert(mocker); in Register()
693 MockObjectState& state = g_mock_object_registry.states()[mock_obj]; in RegisterUseByOnCallOrExpectCall()
714 g_mock_object_registry.states().begin(); in UnregisterLocked()
715 it != g_mock_object_registry.states().end(); ++it) { in UnregisterLocked()
720 g_mock_object_registry.states().erase(it); in UnregisterLocked()
732 if (g_mock_object_registry.states().count(mock_obj) == 0) { in ClearDefaultActionsLocked()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/
H A Dpinctrl-bindings.txt17 states. The number and names of those states is defined by the client device's
22 configuration used by those states.
31 they require certain specific named states for dynamic pin configuration.
41 Each client device's own binding determines the set of states that must be
61 the binding for that IP block requires certain pin states to
70 pinctrl-names: The list of names to assign states. List entry 0 defines the
76 /* For a client device requiring named states */
/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].
5 states. Idle states have different enter/exit latency and residency values.
6 The idle states supported by the QCOM SoC are defined as -
18 hierarchy to enter standby states, when all cpus are idle. An interrupt brings
59 the idle-states device node.
75 idle-states {
84 [1]. Documentation/devicetree/bindings/cpu/idle-states.yaml
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_processor_tbl.c65 long states[MAX_CPU_SAMPLES][CPUSTATES]; member
113 delta += e->states[e->cur_sample_idx][i]; in get_avg_load()
114 delta -= e->states[oldest][i]; in get_avg_load()
121 usage = (double)(e->states[e->cur_sample_idx][CPUSTATES-1] - in get_avg_load()
122 e->states[oldest][CPUSTATES-1]) / delta; in get_avg_load()
142 e->states[e->cur_sample_idx][i] = cp_times[i]; in save_sample()
/freebsd/sys/contrib/device-tree/src/arm64/synaptics/
H A Das370.dtsi31 cpu-idle-states = <&CPU_SLEEP_0>;
40 cpu-idle-states = <&CPU_SLEEP_0>;
49 cpu-idle-states = <&CPU_SLEEP_0>;
58 cpu-idle-states = <&CPU_SLEEP_0>;
65 idle-states {
/freebsd/sys/contrib/device-tree/src/arm64/arm/
H A Djuno-r1.dts66 idle-states {
101 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
118 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
135 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
152 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
169 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
186 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
H A Djuno-r2.dts66 idle-states {
101 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
119 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
137 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
155 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
173 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
191 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
H A Djuno.dts65 idle-states {
100 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
118 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
136 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
154 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
172 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
190 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;

12345678910>>...21