Home
last modified time | relevance | path

Searched full:spec (Results 1 – 25 of 1673) sorted by relevance

12345678910>>...67

/freebsd/sys/dev/sfxge/common/
H A Defx_filter.c56 __inout efx_filter_spec_t *spec,
62 __inout efx_filter_spec_t *spec);
100 __inout efx_filter_spec_t *spec) in efx_filter_insert() argument
107 EFSYS_ASSERT3P(spec, !=, NULL); in efx_filter_insert()
108 EFSYS_ASSERT3U(spec->efs_flags, &, EFX_FILTER_FLAG_RX); in efx_filter_insert()
110 if ((spec->efs_flags & EFX_FILTER_FLAG_ACTION_MARK) && in efx_filter_insert()
116 if ((spec->efs_flags & EFX_FILTER_FLAG_ACTION_FLAG) && in efx_filter_insert()
122 return (efop->efo_add(enp, spec, B_FALSE)); in efx_filter_insert()
135 __inout efx_filter_spec_t *spec) in efx_filter_remove() argument
140 EFSYS_ASSERT3P(spec, !=, NULL); in efx_filter_remove()
[all …]
H A Def10_filter.c195 __in efx_filter_spec_t *spec, in efx_mcdi_filter_op_add() argument
215 match_flags = spec->efs_match_flags & ~EFX_FILTER_MATCH_ENCAP_TYPE; in efx_mcdi_filter_op_add()
238 if (spec->efs_dmaq_id == EFX_FILTER_SPEC_RX_DMAQ_ID_DROP) { in efx_mcdi_filter_op_add()
245 spec->efs_dmaq_id); in efx_mcdi_filter_op_add()
249 if (spec->efs_flags & EFX_FILTER_FLAG_RX_RSS) { in efx_mcdi_filter_op_add()
252 if (spec->efs_rss_context == EFX_RSS_CONTEXT_DEFAULT) in efx_mcdi_filter_op_add()
255 rss_context = spec->efs_rss_context; in efx_mcdi_filter_op_add()
262 spec->efs_flags & EFX_FILTER_FLAG_RX_RSS ? in efx_mcdi_filter_op_add()
274 spec->efs_rem_mac, EFX_MAC_ADDR_LEN); in efx_mcdi_filter_op_add()
276 spec->efs_loc_mac, EFX_MAC_ADDR_LEN); in efx_mcdi_filter_op_add()
[all …]
/freebsd/sys/dev/mlx5/mlx5_accel/
H A Dmlx5_ipsec_fs.c160 static void setup_fte_reg_a_with_tag(struct mlx5_flow_spec *spec,
162 static void setup_fte_reg_a_no_tag(struct mlx5_flow_spec *spec);
164 static void setup_fte_no_frags(struct mlx5_flow_spec *spec) in setup_fte_no_frags() argument
167 spec->match_criteria_enable |= MLX5_MATCH_OUTER_HEADERS; in setup_fte_no_frags()
169 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.frag); in setup_fte_no_frags()
170 MLX5_SET(fte_match_param, spec->match_value, outer_headers.frag, 0); in setup_fte_no_frags()
173 static void setup_fte_esp(struct mlx5_flow_spec *spec) in setup_fte_esp() argument
176 spec->match_criteria_enable |= MLX5_MATCH_OUTER_HEADERS; in setup_fte_esp()
178 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in setup_fte_esp()
179 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_ESP); in setup_fte_esp()
[all …]
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_tcp.c41 accel_fs_tcp_set_ipv4_flow(struct mlx5_flow_spec *spec, struct inpcb *inp) in accel_fs_tcp_set_ipv4_flow() argument
43 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in accel_fs_tcp_set_ipv4_flow()
44 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_TCP); in accel_fs_tcp_set_ipv4_flow()
45 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in accel_fs_tcp_set_ipv4_flow()
46 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, 4); in accel_fs_tcp_set_ipv4_flow()
47 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv4_flow()
50 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv4_flow()
53 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in accel_fs_tcp_set_ipv4_flow()
55 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, in accel_fs_tcp_set_ipv4_flow()
62 accel_fs_tcp_set_ipv6_flow(struct mlx5_flow_spec *spec, struct inpcb *inp) in accel_fs_tcp_set_ipv6_flow() argument
[all …]
/freebsd/sys/netsmb/
H A Dsmb_usr.c52 static void smb_usr_vcspec_free(struct smb_vcspec *spec);
55 smb_usr_vc2spec(struct smbioc_ossn *dp, struct smb_vcspec *spec) in smb_usr_vc2spec() argument
59 bzero(spec, sizeof(*spec)); in smb_usr_vc2spec()
73 spec->sap = smb_memdupin(dp->ioc_server, dp->ioc_svlen); in smb_usr_vc2spec()
74 if (spec->sap == NULL) in smb_usr_vc2spec()
77 spec->lap = smb_memdupin(dp->ioc_local, dp->ioc_lolen); in smb_usr_vc2spec()
78 if (spec->lap == NULL) { in smb_usr_vc2spec()
79 smb_usr_vcspec_free(spec); in smb_usr_vc2spec()
83 spec->srvname = dp->ioc_srvname; in smb_usr_vc2spec()
84 spec->pass = dp->ioc_password; in smb_usr_vc2spec()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DFormatVariadic.cpp28 bool formatv_object_base::consumeFieldLayout(StringRef &Spec, AlignStyle &Where, in consumeFieldLayout() argument
33 if (Spec.empty()) in consumeFieldLayout()
36 if (Spec.size() > 1) { in consumeFieldLayout()
40 // If Spec[1] is a loc char, then Spec[0] is a pad char and Spec[2:...] in consumeFieldLayout()
42 // Otherwise, if Spec[0] is a loc char, then Spec[1:...] contains the width. in consumeFieldLayout()
43 // Otherwise, Spec[0:...] contains the width. in consumeFieldLayout()
44 if (auto Loc = translateLocChar(Spec[1])) { in consumeFieldLayout()
45 Pad = Spec[0]; in consumeFieldLayout()
47 Spec = Spec.drop_front(2); in consumeFieldLayout()
48 } else if (auto Loc = translateLocChar(Spec[0])) { in consumeFieldLayout()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/docsExamples/
H A Dspecopen.d43 self->spec = speculation();
44 speculate(self->spec);
50 /self->spec/
52 speculate(self->spec);
57 /self->spec/
59 speculate(self->spec);
65 /self->spec && errno != 0/
67 commit(self->spec);
68 self->spec = 0;
73 /self->spec && errno == 0/
[all …]
/freebsd/usr.sbin/pmcstat/
H A Dpmcstat.845 .Op Fl P Ar event-spec
47 .Op Fl S Ar event-spec
52 .Op Fl c Ar cpu-spec
62 .Op Fl p Ar event-spec
65 .Op Fl s Ar event-spec
66 .Op Fl t Ar process-spec
67 .Op Fl u Ar event-spec
85 .Fl t Ar process-spec
91 .Fl t Ar process-spec
118 .Ar event-spec .
[all …]
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_flow_table.c252 struct mlx5_flow_spec *spec) in mlx5e_add_eth_addr_rule_sub() argument
258 u8 *mc_dmac = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in mlx5e_add_eth_addr_rule_sub()
260 u8 *mv_dmac = MLX5_ADDR_OF(fte_match_param, spec->match_value, in mlx5e_add_eth_addr_rule_sub()
271 mv = (u8 *)spec->match_value; in mlx5e_add_eth_addr_rule_sub()
272 mc = (u8 *)spec->match_criteria; in mlx5e_add_eth_addr_rule_sub()
274 spec->flow_context.flow_tag = MLX5_FS_ETH_FLOW_TAG; in mlx5e_add_eth_addr_rule_sub()
275 spec->flow_context.flags = FLOW_CONTEXT_HAS_TAG; in mlx5e_add_eth_addr_rule_sub()
299 spec->match_criteria_enable = mc_enable; in mlx5e_add_eth_addr_rule_sub()
303 *rule_p = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_add_eth_addr_rule_sub()
311 spec->match_criteria_enable = mc_enable; in mlx5e_add_eth_addr_rule_sub()
[all …]
/freebsd/sys/dev/uart/
H A Duart_subr.c198 const char *spec; in uart_getenv() local
235 spec = cp; in uart_getenv()
237 switch (uart_parse_tag(&spec)) { in uart_getenv()
239 di->bas.busy_detect = uart_parse_long(&spec); in uart_getenv()
242 di->baudrate = uart_parse_long(&spec); in uart_getenv()
245 di->bas.chan = uart_parse_long(&spec); in uart_getenv()
248 di->databits = uart_parse_long(&spec); in uart_getenv()
251 class = uart_parse_class(class, &spec); in uart_getenv()
255 addr = uart_parse_addr(&spec); in uart_getenv()
259 addr = uart_parse_addr(&spec); in uart_getenv()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/
H A Dtst.NoSpecBuffer.d48 self->spec = speculation();
49 printf("Speculative buffer ID: %d\n", self->spec);
54 /(2 == i) && (0 == self->spec)/
56 printf("i: %d\tself->spec: %d", i, self->spec);
61 /(2 == i) && (0 != self->spec)/
63 printf("i: %d\tself->spec: %d", i, self->spec);
H A Derr.D_DREC_COMM.DataRecAftCommit.d47 self->spec = speculation();
51 /self->spec/
53 speculate(self->spec);
54 printf("Called speculate with id: %d\n", self->spec);
59 /(self->spec) && (self->speculateFlag)/
61 commit(self->spec);
H A Dtst.DataRecAftDiscard.d43 self->spec = speculation();
47 /self->spec/
49 speculate(self->spec);
50 printf("Called speculate with id: %d\n", self->spec);
55 /(self->spec) && (self->speculateFlag)/
57 discard(self->spec);
/freebsd/crypto/openssl/test/recipes/
H A D15-test_out_option.t13 use File::Spec;
26 # appended under the hood when trying to "write" to a directory spec.
32 # File::Spec massages them into directory specs on some platforms.
33 my $path = File::Spec->canonpath('./');
40 my $path = File::Spec->canonpath('randomname.bin');
52 } while (-d File::Spec->catdir('.', $rand_path));
55 my $path = File::Spec->canonpath($rand_path);
65 my $path = File::Spec->canonpath(File::Spec->devnull());
/freebsd/usr.sbin/setfmac/
H A Dsetfmac.c232 struct label_spec *spec; in add_specs() local
238 spec = malloc(sizeof(*spec)); in add_specs()
239 if (spec == NULL) in add_specs()
254 spec->entries = calloc(nlines, sizeof(*spec->entries)); in add_specs()
255 if (spec->entries == NULL) in add_specs()
257 spec->nentries = nlines; in add_specs()
272 add_spec_line(file, is_sebsd, &spec->entries[--nlines], line); in add_specs()
279 (long)spec->nentries); in add_specs()
280 STAILQ_INSERT_TAIL(&specs->head, spec, link); in add_specs()
286 struct label_spec *spec; in add_setfmac_specs() local
[all …]
/freebsd/sys/contrib/openzfs/rpm/
H A DMakefile.am2 %D%/generic/zfs-dkms.spec.in \
3 %D%/generic/zfs-kmod.spec.in \
4 %D%/generic/zfs.spec.in \
6 %D%/redhat/zfs-dkms.spec.in \
7 %D%/redhat/zfs-kmod.spec.in \
8 %D%/redhat/zfs.spec.in
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DModuleSpec.h241 // Only match the symbol file spec if there is one in this ModuleSpec in Matches()
308 void Append(const ModuleSpec &spec) { in Append() argument
310 m_specs.push_back(spec); in Append()
337 for (auto spec : m_specs) { in FindMatchingModuleSpec() local
338 if (spec.Matches(module_spec, exact_arch_match)) { in FindMatchingModuleSpec()
339 match_module_spec = spec; in FindMatchingModuleSpec()
347 for (auto spec : m_specs) { in FindMatchingModuleSpec() local
348 if (spec.Matches(module_spec, exact_arch_match)) { in FindMatchingModuleSpec()
349 match_module_spec = spec; in FindMatchingModuleSpec()
363 for (auto spec : m_specs) { in FindMatchingModuleSpecs() local
[all …]
/freebsd/sys/contrib/device-tree/Bindings/riscv/
H A Dextensions.yaml116 encoding") of the riscv-v-spec.
432 riscv-crypto-spec-vector.adoc") of riscv-crypto.
438 riscv-crypto-spec-vector.adoc") of riscv-crypto.
444 riscv-v-spec.
450 riscv-v-spec.
456 riscv-v-spec.
462 riscv-v-spec.
468 riscv-v-spec.
474 ("Remove draft warnings from Zvfh[min]") of riscv-v-spec.
480 ("Remove draft warnings from Zvfh[min]") of riscv-v-spec.
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_sched.cpp33 char const *traits_t<int>::spec = "d"; member in traits_t<int>
34 char const *traits_t<unsigned int>::spec = "u"; member in traits_t<unsigned int>
35 char const *traits_t<long long>::spec = "lld"; member in traits_t<long long>
36 char const *traits_t<unsigned long long>::spec = "llu"; member in traits_t<unsigned long long>
37 char const *traits_t<long>::spec = "ld"; member in traits_t<long>
142 traits_t<T>::spec, traits_t<T>::spec, traits_t<ST>::spec, in __kmp_for_static_init()
143 traits_t<ST>::spec, traits_t<ST>::spec, traits_t<T>::spec); in __kmp_for_static_init()
174 traits_t<T>::spec, traits_t<T>::spec, in __kmp_for_static_init()
175 traits_t<ST>::spec, traits_t<T>::spec); in __kmp_for_static_init()
230 traits_t<T>::spec, traits_t<T>::spec, in __kmp_for_static_init()
[all …]
/freebsd/sbin/fsck/
H A Dfsck.c193 const char *spec, *mntpt, *type, *cp; in main() local
198 spec = *argv; in main()
199 cp = strrchr(spec, '/'); in main()
202 _PATH_DEV, spec); in main()
203 spec = device; in main()
205 mntp = getmntpoint(spec); in main()
207 spec = mntp->f_mntfromname; in main()
210 if ((fs = getfsfile(spec)) == NULL && in main()
211 (fs = getfsspec(spec)) == NULL) { in main()
213 vfstype = getfstype(spec); in main()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/ieee802154/
H A Dcc2520.txt10 - fifo-gpio: GPIO spec for the FIFO pin
11 - fifop-gpio: GPIO spec for the FIFOP pin
12 - sfd-gpio: GPIO spec for the SFD pin
13 - cca-gpio: GPIO spec for the CCA pin
14 - vreg-gpio: GPIO spec for the VREG pin
15 - reset-gpio: GPIO spec for the RESET pin
/freebsd/contrib/netbsd-tests/usr.sbin/mtree/
H A Dt_mtree.sh295 mtree -F ${FLAVOR} -c | mtree -F ${FLAVOR} -Ck uid,gid,mode > mtree.spec
300 atf_check -s ignore -o empty -e empty -x "mtree -F ${FLAVOR} -d < mtree.spec"
305 atf_check -s ignore -o empty -e empty -x "mtree -F ${FLAVOR} -d < mtree.spec"
382 mtree -F ${FLAVOR} -c > mtree.spec
384 if [ ! -f mtree.spec ]; then
389 atf_check -s ignore -o save:output -x "mtree -F ${FLAVOR} -f mtree.spec"
417 atf_set "descr" "Test that spec comparisons detect type changes"
425 mtree -c -p testdir > mtree1.spec
427 if [ ! -f mtree1.spec ]; then
435 mtree -c -p testdir > mtree2.spec
[all …]
/freebsd/sbin/mount_nfs/
H A Dmount_nfs.c137 static enum tryret nfs_tryproto(struct addrinfo *ai, char *hostp, char *spec,
147 char *host, *mntname, *p, *spec, *tmp; in main() local
444 spec = *argv++; in main()
472 if (!getnfsargs(&spec, &host, &iov, &iovlen)) in main()
490 } else if (mountmode != V4 && !add_mtab(host, spec)) { in main()
492 warnx("can't update %s for %s:%s", PATH_MOUNTTAB, host, spec); in main()
587 char *hostp, *delimp, *errstr, *spec; in getnfsargs() local
591 spec = *specp; in getnfsargs()
592 if (*spec == '[' && (delimp = strchr(spec + 1, ']')) != NULL && in getnfsargs()
594 hostp = spec + 1; in getnfsargs()
[all …]
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBTypeCategory.cpp175 SBTypeFilter SBTypeCategory::GetFilterForType(SBTypeNameSpecifier spec) { in GetFilterForType() argument
176 LLDB_INSTRUMENT_VA(this, spec); in GetFilterForType()
181 if (!spec.IsValid()) in GetFilterForType()
185 m_opaque_sp->GetFilterForType(spec.GetSP()); in GetFilterForType()
195 SBTypeFormat SBTypeCategory::GetFormatForType(SBTypeNameSpecifier spec) { in GetFormatForType() argument
196 LLDB_INSTRUMENT_VA(this, spec); in GetFormatForType()
201 if (!spec.IsValid()) in GetFormatForType()
205 m_opaque_sp->GetFormatForType(spec.GetSP()); in GetFormatForType()
213 SBTypeSummary SBTypeCategory::GetSummaryForType(SBTypeNameSpecifier spec) { in GetSummaryForType() argument
214 LLDB_INSTRUMENT_VA(this, spec); in GetSummaryForType()
[all …]
/freebsd/crypto/openssh/regress/
H A Dcfgmatch.sh135 fail "validate config for w/out spec"
141 spec=""
147 spec="$criteria=$value,$spec"
149 spec="$criteria=1$value,$spec"
152 trace "test spec $spec"
153 result=`${SUDO} ${SSHD} -f $OBJ/sshd_config -T -C "$spec" | \

12345678910>>...67