Home
last modified time | relevance | path

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

12345678910>>...17

/freebsd-13-stable/tests/sys/netpfil/pf/
HDsctp.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)
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)
391 states = ToolsHelper.get_output("/sbin/pfctl -ss")
392 print(states)
[all …]
HDsyncookie.sh269 states=$(jexec alcatraz pfctl -ss | grep tcp)
270 if [ -n "$states" ];
272 echo "$states"
316 states=$(jexec alcatraz pfctl -ss | grep tcp)
317 if [ -n "$states" ];
319 echo "$states"
379 states=$(jexec alcatraz pfctl -ss | grep tcp | wc -l)
380 if [ "$states" -gt 20 ];
382 echo "$states"
HDkillstate.sh429 states=$(jexec alcatraz pfctl -s s | grep 192.0.2.1 | wc -l)
430 if [ $states -ne 2 ] ;
432 atf_fail "Expected two states, found $states"
437 states=$(jexec alcatraz pfctl -s s | grep 192.0.2.1 | wc -l)
438 if [ $states -ne 1 ] ;
440 atf_fail "Expected one states, found $states"
444 jexec alcatraz pfctl -F states
451 states=$(jexec alcatraz pfctl -s s | grep 192.0.2.1 | wc -l)
452 if [ $states -ne 0 ] ;
454 atf_fail "Expected zero states, found $states"
/freebsd-13-stable/sys/dev/gpio/
HDgpioregulator.c59 struct gpioregulator_state *states; member
135 if (sc->def->states[n].val >= min_uvolt && in gpioregulator_regnode_set_voltage()
136 sc->def->states[n].val <= max_uvolt) { in gpioregulator_regnode_set_voltage()
137 state = &sc->def->states[n]; in gpioregulator_regnode_set_voltage()
175 if (sc->def->states[n].mask == mask) { in gpioregulator_regnode_get_voltage()
176 *uvolt = sc->def->states[n].val; in gpioregulator_regnode_get_voltage()
222 sc->init_def.states = malloc(sc->init_def.nstates * in gpioregulator_parse_fdt()
223 sizeof(*sc->init_def.states), M_DEVBUF, M_WAITOK); in gpioregulator_parse_fdt()
225 sc->init_def.states[n].val = pstates[n * 2 + 0]; in gpioregulator_parse_fdt()
226 sc->init_def.states[n].mask = pstates[n * 2 + 1]; in gpioregulator_parse_fdt()
[all …]
/freebsd-13-stable/contrib/libarchive/libarchive/
HDarchive_check_magic.c102 write_all_states(char *buff, unsigned int states) in write_all_states() argument
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()
/freebsd-13-stable/sys/kern/
HDsubr_prng.c39 pcg32u_random_t states[2]; member
45 pcg32u_srandom_r(&state64->states[0], seed); in pcg64u_srandom_r()
46 pcg32u_srandom_r(&state64->states[1], seed); in pcg64u_srandom_r()
52 return ((((uint64_t)pcg32u_random_r(&state64->states[0])) << 32) | in pcg64u_random_r()
53 pcg32u_random_r(&state64->states[1])); in pcg64u_random_r()
/freebsd-13-stable/sys/contrib/device-tree/Bindings/powerpc/opal/
HDpower-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 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-13-stable/sys/contrib/device-tree/src/arm64/freescale/
HDfsl-ls2088a.dtsi20 cpu-idle-states = <&CPU_PW20>;
30 cpu-idle-states = <&CPU_PW20>;
40 cpu-idle-states = <&CPU_PW20>;
50 cpu-idle-states = <&CPU_PW20>;
61 cpu-idle-states = <&CPU_PW20>;
70 cpu-idle-states = <&CPU_PW20>;
80 cpu-idle-states = <&CPU_PW20>;
90 cpu-idle-states = <&CPU_PW20>;
HDfsl-ls2080a.dtsi20 cpu-idle-states = <&CPU_PW20>;
30 cpu-idle-states = <&CPU_PW20>;
40 cpu-idle-states = <&CPU_PW20>;
50 cpu-idle-states = <&CPU_PW20>;
60 cpu-idle-states = <&CPU_PW20>;
70 cpu-idle-states = <&CPU_PW20>;
81 cpu-idle-states = <&CPU_PW20>;
90 cpu-idle-states = <&CPU_PW20>;
/freebsd-13-stable/usr.bin/iscsictl/
HDiscsictl.c397 struct iscsi_session_state *states = NULL; in kernel_modify_some() local
406 states = realloc(states, in kernel_modify_some()
408 if (states == NULL) in kernel_modify_some()
413 isl.isl_pstates = states; in kernel_modify_some()
426 state = &states[i]; in kernel_modify_some()
479 struct iscsi_session_state *states = NULL; in kernel_list() local
487 states = realloc(states, in kernel_list()
489 if (states == NULL) in kernel_list()
494 isl.isl_pstates = states; in kernel_list()
511 state = &states[i]; in kernel_list()
[all …]
/freebsd-13-stable/sys/dev/dpms/
HDdpms.c135 int error, states; in dpms_probe() local
137 error = dpms_get_supported_states(&states); in dpms_probe()
210 dpms_get_supported_states(int *states) in dpms_get_supported_states() argument
213 *states = 0; in dpms_get_supported_states()
214 return (dpms_call_bios(VBE_DPMS_GET_SUPPORTED_STATES, states)); in dpms_get_supported_states()
/freebsd-13-stable/sys/compat/linuxkpi/common/src/
HDlinux_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()
371 static const uint8_t states[WORK_ST_MAX] __aligned(8) = { in linux_cancel_work_sync() local
384 switch (linux_update_state(&work->state, states)) { in linux_cancel_work_sync()
[all …]
/freebsd-13-stable/contrib/dialog/
HDchecklist.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
217 DLG_TRACE2S("states", states); in dlg_checklist()
274 if (states == 0 || strlen(states) < 2) in dlg_checklist()
275 states = " *"; in dlg_checklist()
276 num_states = (int) strlen(states); in dlg_checklist()
277 all.states = states; in dlg_checklist()
[all …]
HDtreeview.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
215 if (states == 0 || strlen(states) < 2) in dlg_treeview()
216 states = " *"; in dlg_treeview()
217 num_states = (int) strlen(states); in dlg_treeview()
224 all.states = states; in dlg_treeview()
/freebsd-13-stable/sys/powerpc/cpufreq/
HDdfs.c143 int states; in dfs_settings() local
146 states = sc->dfs4 ? 3 : 2; in dfs_settings()
149 if (*count < states) in dfs_settings()
153 memset(sets, CPUFREQ_VAL_UNKNOWN, sizeof(*sets) * states); in dfs_settings()
161 *count = states; in dfs_settings()
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/TableGen/
HDAutomaton.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-13-stable/contrib/googletest/googlemock/src/
HDgmock-spec-builders.cc540 StateMap& states() { return states_; } in states() function in testing::__anon6b66b6770111::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-13-stable/sys/contrib/device-tree/src/arm64/arm/
HDjuno-r1.dts65 idle-states {
100 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
117 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
134 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
151 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
168 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
185 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
HDjuno.dts64 idle-states {
99 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
117 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
135 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
153 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
171 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
189 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
HDjuno-r2.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>;
/freebsd-13-stable/sys/contrib/device-tree/Bindings/arm/msm/
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/arm/idle-states.yaml
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
HDhostres_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-13-stable/sys/contrib/device-tree/src/arm64/synaptics/
HDas370.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-13-stable/sys/contrib/device-tree/src/arm64/qcom/
HDmsm8998-clamshell.dtsi46 cpu-idle-states = <&LITTLE_CPU_SLEEP_1>;
50 cpu-idle-states = <&LITTLE_CPU_SLEEP_1>;
54 cpu-idle-states = <&LITTLE_CPU_SLEEP_1>;
58 cpu-idle-states = <&LITTLE_CPU_SLEEP_1>;
62 cpu-idle-states = <&BIG_CPU_SLEEP_1>;
66 cpu-idle-states = <&BIG_CPU_SLEEP_1>;
70 cpu-idle-states = <&BIG_CPU_SLEEP_1>;
74 cpu-idle-states = <&BIG_CPU_SLEEP_1>;
/freebsd-13-stable/crypto/openssh/
HDxmss_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 …]

12345678910>>...17