Home
last modified time | relevance | path

Searched +full:p +full:- +full:states (Results 1 – 25 of 691) sorted by relevance

12345678910>>...28

/freebsd/tests/sys/netpfil/pf/
H A Dsyncookie.sh2 # SPDX-License-Identifier: BSD-2-Clause
35 jexec $jail pfctl -si -v | grep -A 2 '^Syncookies' | grep active \
54 jexec alcatraz /usr/sbin/inetd -p ${PWD}/inetd-alcatraz.pid \
59 jexec alcatraz pfctl -e
66 atf_check -s exit:0 -o ignore ping -c 1 192.0.2.1
68 reply=$(echo foo | nc -N -w 5 192.0.2.1 7)
84 rm -f ${PWD}/inetd-alcatraz.pid
103 jexec alcatraz /usr/sbin/inetd -p ${PWD}/inetd-alcatraz.pid \
108 jexec alcatraz pfctl -e
115 atf_check -s exit:0 -o ignore ping6 -c 1 2001:db8::1
[all …]
H A Dpfsync.sh2 # SPDX-License-Identifier: BSD-2-Clause
72 jexec one pfctl -e
76 jexec two pfctl -e
81 hostid_one=$(jexec one pfctl -si -v | awk '/Hostid:/ { gsub(/0x/, "", $2); printf($2); }')
85 ping -c 1 -S 198.51.100.254 198.51.100.1
90 if ! jexec two pfctl -s states | grep icmp | grep 198.51.100.1 | \
95 if ! jexec two pfctl -sc | grep ""${hostid_one}"";
97 jexec two pfctl -sc
145 jexec alcatraz arp -s 203.0.113.2 00:01:02:03:04:05
160 route add -net 203.0.113.0/24 198.51.100.1
[all …]
H A Dkillstate.sh2 # SPDX-License-Identifier: BSD-2-Clause
33 jail=${1:-alcatraz}
34 ip=${2:-192.0.2.2}
36 jexec ${jail} pfctl -ss | grep icmp | grep ${ip}
41 jexec alcatraz pfctl -ss | grep icmp | grep 2001:db8::2
48 atf_set descr 'Test killing states by IPv4 address'
62 jexec alcatraz pfctl -e
69 atf_check -s exit:0 -o ignore ${common_dir}/pft_ping.py \
70 --sendif ${epair}a \
71 --to 192.0.2.2 \
[all …]
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_dynamic.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2017-2018 Yandex LLC
5 * Copyright (c) 2017-2018 Andrey V. Elsukov <ae@FreeBSD.org>
79 * Description of dynamic states.
81 * Dynamic states are stored in lists accessed through a hash tables
90 * Dynamic states can be used for different purposes:
93 * + in-kernel NAT (not implemented yet)
95 * The lifetime of dynamic states is regulated by dyn_*_lifetime,
98 * The total number of dynamic states is equal to UMA zone items count.
[all …]
/freebsd/contrib/nvi/regex/
H A Dengine.c3 /*-
74 const RCHAR_T *beginp; /* start of string -- virtual NUL precedes */
75 const RCHAR_T *endp; /* end of string -- virtual NUL here */
79 states st; /* current states */
80 states fresh; /* states for a fresh start */
81 states tmp; /* temporary */
82 states empty; /* empty set of states */
96 static states step(struct re_guts *g, sopno start, sopno stop, states bef, int flag, RCHAR_T ch, st…
104 static void print(struct match *m, char *caption, states st, int ch, FILE *d);
121 #define NOTE(str) do { if (m->eflags&REG_TRACE) printf("=%s\n", (str)); } while(0);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A Dregengine.inc1 /*-
78 const char *beginp; /* start of string -- virtual NUL precedes */
79 const char *endp; /* end of string -- virtual NUL here */
83 states st; /* current states */
84 states fresh; /* states for a fresh start */
85 states tmp; /* temporary */
86 states empty; /* empty set of states */
97 static states step(struct re_guts *, sopno, sopno, states, int, states);
107 #define NNONCHAR (CODEMAX-CHAR_MAX)
109 static void print(struct match *, const char *, states, int, FILE *);
[all …]
/freebsd/usr.sbin/dumpcis/
H A Dcardinfo.h4 *-------------------------------------------------------------------------
6 /*-
7 * SPDX-License-Identifier: BSD-3-Clause
43 #define PIOCGSTATE _IOR('P', 1, struct slotstate) /* Get slot state */
44 #define PIOCGMEM _IOWR('P', 2, struct mem_desc) /* Get memory map */
45 #define PIOCSMEM _IOW('P', 3, struct mem_desc) /* Set memory map */
46 #define PIOCGIO _IOWR('P', 4, struct io_desc) /* Get I/O map */
47 #define PIOCSIO _IOW('P', 5, struct io_desc) /* Set I/O map */
48 #define PIOCSDRV _IOWR('P', 6, struct dev_desc) /* Set driver */
49 #define PIOCRWFLAG _IOW('P', 7, int) /* Set flags for drv use */
[all …]
/freebsd/lib/libc/regex/
H A Dengine.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
85 const char *beginp; /* start of string -- virtual NUL precedes */
86 const char *endp; /* end of string -- virtual NUL here */
90 states st; /* current states */
91 states fresh; /* states for a fresh start */
92 states tmp; /* temporary */
93 states empty; /* empty set of states */
107 static states step(struct re_guts *g, sopno start, sopno stop, states bef, wint_t ch, states aft, i…
109 #define BOL (OUT-1)
[all …]
/freebsd/usr.bin/iscsictl/
H A Discsictl.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
59 TAILQ_INIT(&conf->conf_targets); in conf_new()
69 TAILQ_FOREACH(targ, &conf->conf_targets, t_next) { in target_find()
70 if (targ->t_nickname != NULL && in target_find()
71 strcasecmp(targ->t_nickname, nickname) == 0) in target_find()
86 targ->t_conf = conf; in target_new()
87 targ->t_dscp = -1; in target_new()
88 targ->t_pcp = -1; in target_new()
89 targ->t_pingtimeout = -1; in target_new()
[all …]
/freebsd/sbin/pfctl/
H A Dpfctl.835 .Bk -words
49 .Op Fl p Ar device
111 .Bl -tag -width Ds
150 .Bd -literal -offset indent
151 # pfctl -a "authpf/smith(1234)" -s rules
158 .Bd -literal -offset indent
159 # pfctl -a foo/bar -t mytable -T add 1.2.3.4 5.6.7.8
180 .Bd -literal -offset indent
181 # pfctl -a 'authpf/*' -sr
187 .Bd -literal -offset indent
[all …]
H A Dpf_print_state.c3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
13 * - Redistributions of source code must retain the above copyright
15 * - Redistributions in binary form must reproduce the above
58 switch (addr->type) { in print_addr()
60 printf("(%s", addr->v.ifname); in print_addr()
61 if (addr->iflags & PFI_AFLAG_NETWORK) in print_addr()
63 if (addr->iflags & PFI_AFLAG_BROADCAST) in print_addr()
65 if (addr->iflags & PFI_AFLAG_PEER) in print_addr()
67 if (addr->iflags & PFI_AFLAG_NOALIAS) in print_addr()
[all …]
/freebsd/sys/x86/include/
H A Dapm_bios.h1 /*-
4 * Copyright (c) 1994-1995 by HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp>
105 /* 0x0700 - 0x7fff Reserved */
110 /* 0x8100 - 0xdfff Reserved */
111 /* 0xe000 - 0xefff OEM-defined power device IDs */
112 /* 0xf000 - 0xffff Reserved */
121 /* 0x0006 - 0x001f Reserved system states */
122 /* 0x0020 - 0x003f OEM-defined system states */
123 /* 0x0040 - 0x007f OEM-defined device states */
124 /* 0x0080 - 0xffff Reserved device states */
[all …]
/freebsd/sbin/ipf/ipfstat/
H A Dipfstat.83 ipfstat \- reports on packet filter statistics and filter list
7 .B \-46aAdfghIilnoRsv
10 .B ipfstat -t
12 .B \-6C
14 .B \-D
17 .B \-P
20 .B \-S
23 .B \-T
37 .B \-4
38 Display filter lists and states for IPv4, if available. This is the default
[all …]
/freebsd/usr.bin/top/
H A Ddisplay.c138 lines = smart_terminal ? screen_length - Header_lines : 1; in display_resize()
148 return(-1); in display_resize()
165 num_cpus = statics->ncpus; in display_updatecpus()
173 /* fill the "last" array with all -1s, to insure correct updating */ in display_updatecpus()
175 lcpustates[i] = -1; in display_updatecpus()
192 if (lines > -1) in display_init()
195 procstate_names = statics->procstate_names; in display_init()
200 cpustate_names = statics->cpustate_names; in display_init()
202 swap_names = statics->swap_names; in display_init()
208 lcpustates = calloc(num_cpustates * sizeof(int), statics->ncpus); in display_init()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-pfsync.c28 * $OpenBSD: print-pfsync.c,v 1.38 2012/09/19 13:50:36 mikeb Exp $
46 #include <netdissect-stdinc.h>
62 register const u_char *p) in pfsync_if_print() argument
64 u_int caplen = h->caplen; in pfsync_if_print()
66 ts_print(ndo, &h->ts); in pfsync_if_print()
73 pfsync_print(ndo, (struct pfsync_header *)p, in pfsync_if_print()
74 p + sizeof(struct pfsync_header), in pfsync_if_print()
75 caplen - sizeof(struct pfsync_header)); in pfsync_if_print()
77 if (ndo->ndo_xflag) { in pfsync_if_print()
78 hex_print(ndo, "\n\t", p, caplen); in pfsync_if_print()
[all …]
/freebsd/sbin/nvmecontrol/
H A Dpower.c1 /*-
65 mps = NVMEV(NVME_PWR_ST_MPS, nps->mps_nops); in power_list_one()
66 nops = NVMEV(NVME_PWR_ST_NOPS, nps->mps_nops); in power_list_one()
67 apw = NVMEV(NVME_PWR_ST_APW, nps->apw_aps); in power_list_one()
68 aps = NVMEV(NVME_PWR_ST_APS, nps->apw_aps); in power_list_one()
70 mpower = nps->mp; in power_list_one()
73 ipower = nps->idlp; in power_list_one()
74 if (nps->ips == 1) in power_list_one()
76 apower = nps->actp; in power_list_one()
81 nops ? '*' : ' ', nps->enla in power_list_one()
103 uint32_t p; power_set() local
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegisterScavenging.h1 //===- RegisterScavenging.h - Machine register scavenging -------*-
[all...]
/freebsd/sys/dev/acpica/
H A Dacpi_perf.c1 /*-
2 * Copyright (c) 2003-2005 Nate Lawson (SDG)
52 * Support for ACPI processor performance states (Px) according to
65 /* Offsets in struct cf_setting array for storing driver-specific values. */
78 struct acpi_px *px_states; /* ACPI perf states. */
79 uint32_t px_count; /* Total number of perf states. */
83 int info_only; /* Can we set new states? */
136 static MALLOC_DEFINE(M_ACPIPERF, "acpi_perf", "ACPI Performance states");
145 if (device_find_child(parent, "acpi_perf", -1) != NULL) in acpi_perf_identify()
148 /* Get the handle for the Processor object and check for perf states. */ in acpi_perf_identify()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h1 //===- ValueLattice.h - Value constraint analysis ---------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
16 //===----------------------------------------------------------------------===//
18 //===----------------------------------------------------------------------===//
41 /// Transition allowed to the following states:
50 /// can be reached by merging undef & constant states.
51 /// Transition allowed to the following states:
58 /// Transition allowed to the following states:
63 /// Transition allowed to the following states:
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_features_004_neg.ksh1 #!/bin/ksh -p
10 # or https://opensource.org/licenses/CDDL-1.0.
32 # Specifying invalid feature names/states should cause the create to fail.
34 # 1. Try to create the pool with a variety of invalid feature names/states.
54 log_assert "'zpool create' with invalid feature names/states fails"
58 log_mustnot zpool create -f -o "$prop" $TESTPOOL $DISKS
/freebsd/sys/dev/xen/cpu/
H A Dxen_acpi_cpu.c1 /*-
3 * Copyright (c) 2003-2005 Nate Lawson (SDG)
49 #include <xen/xen-os.h>
89 const ACPI_OBJECT *obj = &res->Package.Elements[idx]; in acpi_get_gas()
91 if (obj == NULL || obj->Type != ACPI_TYPE_BUFFER || in acpi_get_gas()
92 obj->Buffer.Length < sizeof(ACPI_GENERIC_ADDRESS) + 3) in acpi_get_gas()
95 memcpy(gas, obj->Buffer.Pointer + 3, sizeof(*gas)); in acpi_get_gas()
109 const ACPI_OBJECT *obj = &res->Package.Elements[idx]; in acpi_get_pct()
111 if (obj == NULL || obj->Type != ACPI_TYPE_BUFFER || in acpi_get_pct()
112 obj->Buffer.Length < sizeof(raw)) in acpi_get_pct()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/cpufreq/
H A Dapple,cluster-cpufreq.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/cpufreq/apple,cluster-cpufreq.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Hector Martin <marcan@marcan.st>
13 Apple SoCs (e.g. M1) have a per-cpu-cluster DVFS controller that is part of
15 operating-points-v2 table to define the CPU performance states, with the
16 opp-level property specifying the hardware p-state index for that level.
21 - items:
22 - enum:
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDFAEmitter.cpp1 //===- DFAEmitter.cpp - Finite state automaton emitter --------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // given a set of possible states and transitions.
12 // The input transitions can be nondeterministic - this class will produce the
17 // accepted state, the sequence of intermediate states. This is useful if the
18 // initial automaton was nondeterministic - it allows mapping back from the DFA
21 //===----------------------------------------------------------------------===//
41 #define DEBUG_TYPE "dfa-emitter"
45 //===----------------------------------------------------------------------===//
[all …]
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2009-2013, 2016 Chelsio, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
69 #define TOEPCB(so) ((struct toepcb *)(sototcpcb((so))->t_toe))
134 CTR3(KTR_IW_CXGBE, "start_ep_timer (%s:%d) ep %p", \
141 CTR3(KTR_IW_CXGBE, "stop_ep_timer (%s:%d) ep %p", \
150 ("GET_LOCAL_ADDR(%s):so:%p, inp = NULL", __func__, so)); \
151 if (__inp->inp_vflag & INP_IPV4) \
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramState.h1 //== ProgramState.h - Path-sensitive "State" for tracking values -*- C++ -*--=//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
47 //===----------------------------------------------------------------------===//
48 // ProgramStateTrait - Traits used by the Generic Data Map of a ProgramState.
49 //===----------------------------------------------------------------------===//
54 static inline data_type MakeData(void *const* P) { in MakeData()
55 return P ? (data_type) *P : (data_type) 0; in MakeData()
60 /// ProgramState - This class encapsulates:
[all …]

12345678910>>...28