/freebsd/sys/dev/sfxge/common/ |
H A D | efx_filter.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2016 Solarflare Communications Inc. 56 __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 102 const efx_filter_ops_t *efop = enp->en_efop; in efx_filter_insert() 103 efx_nic_cfg_t *encp = &(enp->en_nic_cfg); in efx_filter_insert() 106 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_FILTER); in efx_filter_insert() 107 EFSYS_ASSERT3P(spec, !=, NULL); in efx_filter_insert() [all …]
|
H A D | ef10_filter.c | 1 /*- 2 * Copyright (c) 2007-2016 Solarflare Communications Inc. 39 #define EFE_SPEC(eftp, index) ((eftp)->eft_entry[(index)].efe_spec) 122 EFSYS_ASSERT(enp->en_family == EFX_FAMILY_HUNTINGTON || in ef10_filter_init() 123 enp->en_family == EFX_FAMILY_MEDFORD || in ef10_filter_init() 124 enp->en_family == EFX_FAMILY_MEDFORD2); in ef10_filter_init() 161 EFSYS_KMEM_ALLOC(enp->en_esip, sizeof (ef10_filter_table_t), eftp); in ef10_filter_init() 168 enp->en_filter.ef_ef10_filter_table = eftp; in ef10_filter_init() 182 EFSYS_ASSERT(enp->en_family == EFX_FAMILY_HUNTINGTON || in ef10_filter_fini() 183 enp->en_family == EFX_FAMILY_MEDFORD || in ef10_filter_fini() [all …]
|
/freebsd/sys/dev/mlx5/mlx5_accel/ |
H A D | mlx5_ipsec_fs.c | 1 /*- 52 * --------------------->|Flowtable|----->+ + 56 * DROP<--------+ |---->|Encrypt|------>|Flowtable|---->| TX NS | 61 * Tx |Flowtable|----->|Flowtable|---->+ | 62 * ---->|IP header| |ReqId+IP | | 63 * | | | header |--------------------------------+ 67 * +------------------------------------------------------- 77 * ---->|Flowtable| match|Flowtable| match / \ |Flowtable|----->|Flowtable| 78 * |IP header|----->|IP header|----->|Decrypt|----->| | | Roce V2 | 84 * +--------------->---------------------------------------------------->| RX NS | [all …]
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fs_tcp.c | 1 /*- 2 * Copyright (c) 2020-2021, Mellanox Technologies, Ltd. 41 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() 49 &inp->inp_faddr, 4); 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() [all …]
|
/freebsd/sys/netsmb/ |
H A D | smb_usr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2000-2001 Boris Popov 52 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() 62 if (dp->ioc_user[0] == 0) in smb_usr_vc2spec() 66 if (dp->ioc_server == NULL) in smb_usr_vc2spec() 68 if (dp->ioc_localcs[0] == 0) { in smb_usr_vc2spec() 73 spec->sap = smb_memdupin(dp->ioc_server, dp->ioc_svlen); in smb_usr_vc2spec() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | FormatVariadic.cpp | 1 //===- FormatVariadic.cpp - Format string parsing and analysis ----*-C++-*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 //===----------------------------------------------------------------------===// 16 case '-': in translateLocChar() 28 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() [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/docsExamples/ |
H A D | specopen.d | 1 #!/usr/sbin/dtrace -Fs 34 * Verify doc example 13-1 43 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); [all …]
|
/freebsd/usr.sbin/pmcstat/ |
H A D | pmcstat.8 | 1 .\" Copyright (c) 2003-2008 Joseph Koshy 45 .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 [all …]
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_flow_table.c | 1 /*- 2 * Copyright (c) 2015-2021 Mellanox Technologies. All rights reserved. 45 * |Flowtable|------>| |----->|Outer Proto Match|=====> TLS TIR n 46 * | | |Catch-all|\ | | 49 * +------------------------+ 53 * |Flowtable|------>| |----->|Outer Proto Match|=====> TLS TIR n 54 * | | |Catch-all|\ | | 57 * +------------------------+ 61 * |CTAG/STAG|------>| VNI|----->|Inner Proto Match|=====> Inner TIR n 62 * |VID/noVID|/ |Catch-all|\ | | [all …]
|
/freebsd/sys/dev/uart/ |
H A D | uart_subr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 108 return (-1); in uart_parse_parity() 164 return (-1); in uart_parse_tag() 169 return (-1); in uart_parse_tag() 176 * separated by commas. Each attribute is a tag-value pair with the tag and 198 const char *spec; in uart_getenv() local 225 di->bas.chan = 0; in uart_getenv() 226 di->bas.regshft = 0; in uart_getenv() 227 di->bas.regiowidth = 1; in uart_getenv() [all …]
|
/freebsd/crypto/openssl/test/recipes/ |
H A D | 15-test_out_option.t | 13 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('./'); 34 ok(!run(app([ 'openssl', 'rand', '-out', $path, '1'])), 40 my $path = File::Spec->canonpath('randomname.bin'); 41 ok(run(app([ 'openssl', 'rand', '-out', $path, '1'])), 47 # Test for trying to create a file in a non-exist directory 52 } while (-d File::Spec->catdir('.', $rand_path)); 55 my $path = File::Spec->canonpath($rand_path); [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/ |
H A D | tst.NoSpecBuffer.d | 48 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 D | tst.DataRecAftDiscard.d | 41 self->speculateFlag = 0; 42 self->discardFlag = 0; 43 self->spec = speculation(); 47 /self->spec/ 49 speculate(self->spec); 50 printf("Called speculate with id: %d\n", self->spec); 51 self->speculateFlag++; 55 /(self->spec) && (self->speculateFlag)/ 57 discard(self->spec); 58 self->discardFlag++; [all …]
|
H A D | err.D_DREC_COMM.DataRecAftCommit.d | 42 self->speculateFlag = 0; 47 self->spec = speculation(); 51 /self->spec/ 53 speculate(self->spec); 54 printf("Called speculate with id: %d\n", self->spec); 55 self->speculateFlag++; 59 /(self->spec) && (self->speculateFlag)/ 61 commit(self->spec);
|
/freebsd/usr.sbin/setfmac/ |
H A D | setfmac.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 9 * DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA 55 const char *modestr; /* print-worthy ",-?" mode string */ 97 -1) { in main() 127 argc -= optind; in main() 134 argc--; in main() 144 switch (ftsent->fts_info) { in main() 145 case FTS_DP: /* skip post-order */ in main() 147 case FTS_D: /* do pre-order */ in main() [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | ModuleSpec.h | 1 //===-- ModuleSpec.h --------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 38 m_object_size = data->GetByteSize(); in m_file() 241 // 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() 319 // The index "i" must be valid and this can't be used in multi-threaded code 337 for (auto spec : m_specs) { in FindMatchingModuleSpec() local 338 if (spec.Matches(module_spec, exact_arch_match)) { in FindMatchingModuleSpec() [all …]
|
/freebsd/sys/contrib/openzfs/rpm/ |
H A D | Makefile.am | 2 %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/sys/contrib/device-tree/Bindings/riscv/ |
H A D | extensions.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RISC-V ISA extensions 10 - Paul Walmsley <paul.walmsley@sifive.com> 11 - Palmer Dabbelt <palmer@sifive.com> 12 - Conor Dooley <conor@kernel.org> 15 RISC-V has a large number of extensions, some of which are "standard" 16 extensions, meaning they are ratified by RISC-V International, and others 36 Identifies the specific RISC-V instruction set architecture [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_sched.cpp | 2 * kmp_sched.cpp -- static scheduling -- iteration initialization 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 15 NOTE: team->t.t_nproc is a constant inside of any dispatch loop, however 27 #include "ompt-specific.h" 31 //------------------------------------------------------------------------- 33 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> [all …]
|
/freebsd/sbin/fsck/ |
H A D | fsck.c | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 104 globopt[0] = '-'; in main() 111 while ((i = getopt(argc, argv, "BCdvpfFnyl:t:T:c:")) != -1) in main() 115 errx(1, "Cannot specify -B and -F."); in main() 129 errx(1, "Cannot specify -B and -F."); in main() 152 warnx("Ignoring obsolete -l option\n"); in main() 162 errx(1, "only one -t option may be specified."); in main() 178 argc -= optind; in main() 192 for (; argc--; argv++) { in main() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/ieee802154/ |
H A D | cc2520.txt | 4 - compatible: should be "ti,cc2520" 5 - spi-max-frequency: maximal bus speed (8000000), should be set to 4000000 depends 7 - reg: the chipselect index 8 - pinctrl-0: pin control group to be used for this controller. 9 - pinctrl-names: must contain a "default" entry. 10 - 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 [all …]
|
/freebsd/contrib/netbsd-tests/usr.sbin/mtree/ |
H A D | t_mtree.sh | 34 sed -e ' 40 -e '/type=dir/s/ size=[0-9]*//' 45 diff -Nru "$1" "$2" || atf_fail "files $1 and $2 differ" 59 rm -fr create 60 mkdir -p create/a/1 create/a/2 create/b 76 ln -s a.file.1 create/a.symlink.1 78 ln -s b create/top.symlink.b 80 ln -s nonexistent create/top.dangling 88 ( cd create && mtree -F ${FLAVOR} -c -k type,nlink,link,size,sha256 ) >output.raw \ 126 ( cd create && mtree -F ${FLAVOR} ) <"$(atf_get_srcdir)/${FLAVOR}_d_create.out" >output \ [all …]
|
/freebsd/sbin/mount_nfs/ |
H A D | mount_nfs.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 73 /* Table for af,sotype -> netid conversions. */ 98 static int retrycnt = -1; 109 static int secflavor = -1; 137 static enum tryret nfs_tryproto(struct addrinfo *ai, char *hostp, char *spec, 147 char *host, *mntname, *p, *spec, *tmp; in main() local 160 "23a:bcdD:g:I:iLlNo:PR:r:sTt:w:x:U")) != -1) in main() 169 printf("-a deprecated, use -o readahead=<value>\n"); in main() 170 build_iovec(&iov, &iovlen, "readahead", optarg, (size_t)-1); in main() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBTypeCategory.cpp | 1 //===-- SBTypeCategory.cpp ------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 44 return this->operator bool(); in IsValid() 57 return m_opaque_sp->IsEnabled(); in GetEnabled() 76 return ConstString(m_opaque_sp->GetName()).GetCString(); in GetName() 83 return m_opaque_sp->GetLanguageAtIndex(idx); in GetLanguageAtIndex() 91 return m_opaque_sp->GetNumLanguages(); in GetNumLanguages() 99 m_opaque_sp->AddLanguage(language); in AddLanguage() 108 return m_opaque_sp->GetNumFormats(); in GetNumFormats() [all …]
|
/freebsd/crypto/openssh/regress/ |
H A D | cfgmatch.sh | 8 fwd="-L $fwdport:127.0.0.1:$PORT" 15 rm -f $pidfile 16 ${SSH} -q $fwd "$@" somehost \ 17 exec sh -c \'"echo \$\$ > $pidfile; exec sleep 100"\' \ 22 while test ! -f $pidfile ; do 25 if test $n -gt 60; then 35 if [ ! -z "$pid" ]; then 46 grep -v AuthorizedKeysFile $OBJ/sshd_proxy_bak > $OBJ/sshd_proxy 54 ${SUDO} ${SSHD} -f $OBJ/sshd_config -T >/dev/null || \ 61 start_client -F $OBJ/ssh_config [all …]
|