Home
last modified time | relevance | path

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

12345678910>>...22

/freebsd/tests/sys/netpfil/pf/
H A Dsctp.py295 states = ToolsHelper.get_output("/sbin/pfctl -ss")
296 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
297 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.2:1234", states)
342 # Ensure we have the states we'd expect
343 states = ToolsHelper.get_output("/sbin/pfctl -ss")
344 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
345 assert re.search(r"all sctp 192.0.2.10:.*192.0.2.3:1234", states)
362 states = ToolsHelper.get_output("/sbin/pfctl -ss")
363 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234.*SHUTDOWN", states)
369 # Assign two addresses to each end, and check for the expected states
[all...]
H A Dsrc_track.sh168 states=$(mktemp) || exit 1
169 jexec router pfctl -qss | normalize_pfctl_s | grep 'tcp 2001:db8:43::2\[9\] <-' > $states
171 …grep -qE '2001:db8:44::1\[4201\] ESTABLISHED:ESTABLISHED' $states || atf_fail "State for port 4201…
172 …grep -qE '2001:db8:44::1\[4202\] ESTABLISHED:ESTABLISHED' $states || atf_fail "State for port 4202…
173 …grep -qE '2001:db8:44::1\[4203\] ESTABLISHED:ESTABLISHED' $states || atf_fail "State for port 4203…
174 …grep -qE '2001:db8:44::2\[4205\] ESTABLISHED:ESTABLISHED' $states || atf_fail "State for port 4205…
177 grep -qE '2001:db8:44::1\[4204\] ' $states &&
178 ! grep -qE '2001:db8:44::1\[4204\] CLOSED:CLOSED' $states
361 states=$(mktemp) || exit 1
362 jexec router pfctl -qvss | normalize_pfctl_s > $states
[all …]
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/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/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/usr.bin/iscsictl/
H A Discsictl.c302 struct iscsi_session_state *states = NULL; in kernel_modify_some() local
311 states = realloc(states, in kernel_modify_some()
313 if (states == NULL) in kernel_modify_some()
318 isl.isl_pstates = states; in kernel_modify_some()
331 state = &states[i]; in kernel_modify_some()
384 struct iscsi_session_state *states = NULL; in kernel_list() local
392 states = realloc(states, in kernel_list()
394 if (states == NULL) in kernel_list()
399 isl.isl_pstates = states; in kernel_list()
416 state = &states[i]; in kernel_list()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dfsl-ls2088a.dtsi28 cpu-idle-states = <&CPU_PW20>;
38 cpu-idle-states = <&CPU_PW20>;
48 cpu-idle-states = <&CPU_PW20>;
58 cpu-idle-states = <&CPU_PW20>;
69 cpu-idle-states = <&CPU_PW20>;
78 cpu-idle-states = <&CPU_PW20>;
88 cpu-idle-states = <&CPU_PW20>;
98 cpu-idle-states = <&CPU_PW20>;
H A Dfsl-ls2080a.dtsi28 cpu-idle-states = <&CPU_PW20>;
38 cpu-idle-states = <&CPU_PW20>;
48 cpu-idle-states = <&CPU_PW20>;
58 cpu-idle-states = <&CPU_PW20>;
68 cpu-idle-states = <&CPU_PW20>;
78 cpu-idle-states = <&CPU_PW20>;
89 cpu-idle-states = <&CPU_PW20>;
98 cpu-idle-states = <&CPU_PW20>;
/freebsd/sys/contrib/device-tree/src/arm64/sprd/
H A Dums9620.dtsi53 cpu-idle-states = <&LIT_CORE_PD>;
61 cpu-idle-states = <&LIT_CORE_PD>;
69 cpu-idle-states = <&LIT_CORE_PD>;
77 cpu-idle-states = <&LIT_CORE_PD>;
85 cpu-idle-states = <&BIG_CORE_PD>;
93 cpu-idle-states = <&BIG_CORE_PD>;
101 cpu-idle-states = <&BIG_CORE_PD>;
109 cpu-idle-states = <&BIG_CORE_PD>;
113 idle-states {
/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/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/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/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/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/crypto/openssh/
H A Dxmss_fast.c750 int xmssmt_keypair(unsigned char *pk, unsigned char *sk, bds_state *states, unsigned char *wots_sig… in xmssmt_keypair() argument
770 …treehash_setup(pk, params->xmss_par.h, 0, states + i, sk+params->index_len, &(params->xmss_par), p… in xmssmt_keypair()
775 …treehash_setup(pk, params->xmss_par.h, 0, states + i, sk+params->index_len, &(params->xmss_par), p… in xmssmt_keypair()
787 int xmssmt_sign(unsigned char *sk, bds_state *states, unsigned char *wots_sigs, unsigned char *sig_… in xmssmt_sign() argument
889 memcpy(sig_msg, states[0].auth, tree_h*n); in xmssmt_sign()
902 memcpy(sig_msg, states[i].auth, tree_h*n); in xmssmt_sign()
912 bds_state_update(&states[params->d], sk_seed, &(params->xmss_par), pub_seed, addr); in xmssmt_sign()
923 bds_round(&states[i], idx_leaf, sk_seed, &(params->xmss_par), pub_seed, addr); in xmssmt_sign()
925 … updates = bds_treehash_update(&states[i], updates, sk_seed, &(params->xmss_par), pub_seed, addr); in xmssmt_sign()
929 if (i > 0 && updates > 0 && states[params->d + i].next_leaf < (1ULL << h)) { in xmssmt_sign()
[all …]
/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>;

12345678910>>...22