/freebsd/sys/netgraph/ |
H A D | ng_message.h | 5 /*- 6 * Copyright (c) 1996-1999 Whistle Communications, Inc. 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. 66 u_int32_t token; /* match with reply */ member 78 /* Keep this in sync with the above structure definition */ 86 { "token", &ng_parse_uint32_type }, \ 156 #define NGM_LINK_IS_UP 32 /* e.g. carrier found - no data */ 160 #define NGM_SYNC_QUEUE_STATE 36 /* sync response from sending packet */ 163 #define NGM_DROP_LINK 41 /* drop DTR, etc. - stay in the graph */ 169 #define NGM_MICROMANAGE 47 /* We want sync. queue state [all …]
|
/freebsd/sys/powerpc/ofw/ |
H A D | rtas.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 82 if (rtas == -1) { in rtas_setup() 99 * that can fit into a 32-bit address space and accessed from real mode. in rtas_setup() 102 * It must be 4KB-aligned and not cross a 256 MB boundary. in rtas_setup() 105 OF_getencprop(rtas, "rtas-size", &rtas_size, sizeof(rtas_size)); in rtas_setup() 117 * Instantiate RTAS. We always use the 32-bit version. in rtas_setup() 120 if (OF_hasprop(rtas, "linux,rtas-entry") && in rtas_setup() 121 OF_hasprop(rtas, "linux,rtas-base")) { in rtas_setup() 122 OF_getencprop(rtas, "linux,rtas-base", &rtas_ptr, in rtas_setup() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/media/ |
H A D | nvidia,tegra-vde.txt | 4 - compatible : Must contain one of the following values: 5 - "nvidia,tegra20-vde" 6 - "nvidia,tegra30-vde" 7 - "nvidia,tegra114-vde" 8 - "nvidia,tegra124-vde" 9 - "nvidia,tegra132-vde" 10 - reg : Must contain an entry for each entry in reg-names. 11 - reg-names : Must include the following entries: 12 - sxe 13 - bsev [all …]
|
H A D | nvidia,tegra-vde.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/nvidia,tegra-vde.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Osipenko <digetx@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Thierry Reding <thierry.reding@gmail.com> 17 - items: 18 - enum: 19 - nvidia,tegra132-vde [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | interror.c | 63 { 35, "copyout failed for resolving function name -> addr" }, 64 { 36, "copyout failed for resolving function addr -> name" }, 67 { 39, "group map hash-table in/out do not match rule" }, 73 { 45, "ipfilter not enabled for sync ioctl" }, 110 { 82, "could not find token to delete" }, 119 { 91, "could not get token for rule iteration" }, 121 { 93, "could not find token for generic iterator" }, 168 { 140, "dup-to interface name index incorrect" }, 169 { 141, "reply-to interface name index incorrect" }, 180 /* -------------------------------------------------------------------------- */ [all …]
|
/freebsd/sys/contrib/device-tree/include/dt-bindings/gce/ |
H A D | mt8186-gce.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 349 * Following definitions are gce sw token which may use by clients 351 * Note that token 512 to 639 may set secure 354 /* end of hw event and begin of sw token */ 368 * MUST NOT CHANGE, this token sync with secure world 372 /* CMDQ use sw token */ 378 /* ISP sw token */ 382 /* DISP sw token */ 386 * There are 15 32-bit GPR, 3 GPR form a set 387 * (64-bit for address, 32-bit for value) [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | pipe2.sh | 32 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 38 mycc -o pipe2 -Wall -Wextra -O0 -g pipe2.c || exit 1 39 rm -f pipe2.c 41 daemon sh -c "(cd $odir/../testcases/swap; ./swap -t 10m -i 20)" > \ 45 su $testuser -c /tmp/pipe2 48 while pgrep -q swap; do 49 pkill -9 swap 52 rm -rf /tmp/pipe2 71 #define R1 1 /* sync start */ 88 int token; [all …]
|
H A D | suj23.sh | 38 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 45 mycc -o suj23 -Wall -Wextra -O2 suj23.c 46 rm -f suj23.c 48 mount | grep "on $mntpoint " | grep -q md$mdstart && umount $mntpoint 49 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 51 mdconfig -a -t swap -s 1g -u $mdstart 52 newfs -j md$mdstart > /dev/null 56 su $testuser -c '/tmp/suj23' 58 while mount | grep -q "on $mntpoint "; do 61 mdconfig -d -u $mdstart [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | sae.h | 3 * Copyright (c) 2012-2013, Jouni Malinen <j@w1.fi> 119 unsigned int sync; /* protocol instance variable: Sync */ member 120 u16 rc; /* protocol instance variable: Rc (received send-confirm) */ 138 const struct wpabuf *token, const char *identifier); 140 const u8 **token, size_t *token_len, int *allowed_groups,
|
/freebsd/contrib/tcpdump/ |
H A D | print-fddi.c | 26 #include "netdissect-stdinc.h" 63 * FDDI Frame Control values. (48-bit addressing only). 66 #define FDDIFC_NRT 0x80 /* Nonrestricted token */ 67 #define FDDIFC_RT 0xc0 /* Restricted token */ 73 #define FDDIFC_LLC_SYNC 0xd0 /* Sync. LLC frame */ 83 * Some FDDI interfaces use bit-swapped addresses. 105 * save per-packet, then the real 21-byte FDDI header. 114 * over ethernet) we really need to re-think the rather simple 118 * - vj 157 * Print FDDI frame-control bits [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | Macros.h | 1 //===--- Macros.h - Format C++ code -----------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 /// clang-format. 13 /// In order to not violate the requirement that clang-format can format files 14 /// in isolation, clang-format's macro support uses expansions users provide 15 /// as part of clang-format's style configuration. 21 /// As part of parsing, clang-format uses the MacroExpander to expand the 22 /// spelled token streams into expanded token streams when it encounters a 24 /// from the expanded token stream. [all …]
|
/freebsd/sbin/hastd/ |
H A D | primary.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2010-2011 Pawel Jakub Dawidek <pawel@dawidek.net> 116 * until some in-progress requests are freed. 124 * send lists - each component gets the same request, but each component is 151 * Structure below are for interaction with sync thread. 179 ((res)->hr_remotein != NULL && (res)->hr_remoteout != NULL) 211 hio_##name##_list_size[(ncomp)]--; \ 224 hio_##name##_list_size--; \ 229 #define ISFULLSYNC(hio) ((hio)->hio_replication == HAST_REPLICATION_FULLSYNC) [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | datapath.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 4 * Copyright (C) 2012-2014, 2018-2022 Intel Corporation 5 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 6 * Copyright (C) 2016-2017 Intel Deutschland GmbH 12 * enum iwl_data_path_subcmd_ids - dat [all...] |
/freebsd/sys/dev/netmap/ |
H A D | if_vtnet_netmap.h | 2 * Copyright (C) 2014-2018 Vincenzo Maffione, Luigi Rizzo. 39 if_t ifp = na->ifp; in vtnet_netmap_reg() 60 struct netmap_adapter *na = kring->na; in vtnet_netmap_txsync() 61 if_t ifp = na->ifp; in vtnet_netmap_txsync() 62 struct netmap_ring *ring = kring->ring; in vtnet_netmap_txsync() 63 u_int ring_nr = kring->ring_id; in vtnet_netmap_txsync() 65 u_int const lim = kring->nkr_num_slots - 1; in vtnet_netmap_txsync() 66 u_int const head = kring->rhead; in vtnet_netmap_txsync() 68 /* device-specific */ in vtnet_netmap_txsync() 70 struct vtnet_txq *txq = &sc->vtnet_txqs[ring_nr]; in vtnet_netmap_txsync() [all …]
|
/freebsd/contrib/openbsm/bin/praudit/ |
H A D | praudit.1 | 1 .\" Copyright (c) 2004-2009 Apple Inc. 44 human-readable form. 51 .Bl -tag -width indent 58 every token is displayed on a different line. 70 to sync to the start of the next record. 90 dates and times are displayed in human-readable format. 92 .Ex -std 94 .Bl -tag -width ".Pa /etc/security/audit_control" -compact 112 .An -nosplit
|
/freebsd/share/misc/ |
H A D | usb_vendors | 6 # http://www.linux-usb.org/usb-ids.html 7 # or send entries as patches (diff -u old new) in the 10 # http://www.linux-usb.org/usb.ids 13 # Date: 2024-07-04 20:34:02 20 # device device_name <-- single tab 21 # interface interface_name <-- two tabs 38 5301 GW-US54ZGL 802.11bg 54 145f NW-3100 802.11b/g 54Mbps Wireless Network Adapter [zd1211] 62 0200 TP-Link 81 120e ASI120MC-S Planetary Camera [all …]
|
/freebsd/lib/libnetmap/ |
H A D | nmreq.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 73 o->nro_next = h->nr_options; in nmreq_push_option() 74 h->nr_options = (uintptr_t)o; in nmreq_push_option() 86 #define declprefix(prefix, flags) { (prefix), (sizeof(prefix) - 1), (flags) } 98 h->nr_version = NETMAP_API; in nmreq_header_init() 99 h->nr_reqtype = reqtype; in nmreq_header_init() 100 h->nr_body = (uintptr_t)body; in nmreq_header_init() 114 for (p = nmreq_prefixes; p->prefix != NULL; p++) { in nmreq_header_decode() 115 if (!strncmp(scan, p->prefix, p->len)) in nmreq_header_decode() [all …]
|
/freebsd/sys/contrib/dev/acpica/compiler/ |
H A D | prscan.c | 3 * Module Name: prscan - Preprocessor start-up and file scan module 11 * Some or all of this work - Copyright (c) 1999 - 2023, Intel Corp. 28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 104 * re-exports any such software from a foreign destination, Licensee shall 105 * ensure that the distribution and export/re-export of the software is in 108 * any of its subsidiaries will export/re-export any technical data, process, 130 * 3. Neither the names of the above-listed copyright holders nor the names 256 #define ASL_DIRECTIVE_NOT_FOUND -1 291 * initialization and re-initialization between compiles during 340 while ((AslGbl_DefineList) && (!AslGbl_DefineList->Persist)) in PrTerminatePreprocessor() [all …]
|
/freebsd/sbin/ccdconfig/ |
H A D | ccdconfig.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2003 Poul-Henning Kamp 94 while ((ch = getopt(argc, argv, "cCf:guUv")) != -1) { in main() 132 argc -= optind; in main() 179 cp = *argv++; --argc; in do_single() 185 gctl_ro_param(grq, "verb", -1, "destroy geom"); in do_single() 186 gctl_ro_param(grq, "class", -1, "CCD"); in do_single() 188 gctl_ro_param(grq, "geom", -1, buf1); in do_single() 197 "%s\nor possibly kernel and ccdconfig out of sync", in do_single() [all …]
|
/freebsd/sys/dev/bhnd/siba/ |
H A D | sibareg.h | 1 /*- 48 #define SIBA_CORE_SIZE BHND_DEFAULT_CORE_SIZE /**< per-core register block size */ 64 * [0x0000-0x0dff] core registers 65 * [0x0e00-0x0eff] SIBA_R1 registers (sonics >= 2.3) 66 * [0x0f00-0x0fff] SIBA_R0 registers 73 /* Return the SIBA_CORE_ADDR-relative offset for the given siba configuration 76 #define SIBA_CFG_OFFSET(_n) (SIBA_CFG0_OFFSET - ((_n) * SIBA_CFG_SIZE)) 78 /* Return the SIBA_CORE_ADDR-relative offset for a SIBA_CFG* register. */ 123 #define SIBA_IPS_INT_SHIFT(_i) ((_i - 1) * 8) 140 #define SIBA_IM_AP_BOTH 0x00 /* use both timeslaces and token */ [all …]
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_lookup.c | 58 * range for unit is [-1,IPL_LOGMAX]. The -1 is considered to be a valid number 62 * array indexing on the unit, +1 is used to map [-1.IPL_LOGMAX] to 87 /* ------------------------------------------------------------------------ */ 89 /* Returns: int - 0 = success, else error */ 90 /* Parameters: softc(I) - pointer to soft context main structure */ 93 /* ------------------------------------------------------------------------ */ 108 softl->ipf_back[i] = (*(*l)->ipfl_create)(softc); in ipf_lookup_soft_create() 109 if (softl->ipf_back[i] == NULL) { in ipf_lookup_soft_create() 119 /* ------------------------------------------------------------------------ */ 121 /* Returns: int - 0 = success, else error */ [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/include/ |
H A D | libtest.shlib | 9 # or https://opensource.org/licenses/CDDL-1.0. 29 # Copyright (c) 2017, Open-E Inc. All rights reserved. 43 PWD="$(readlink -f $PWD)" 50 if [ -n "$STF_PATH" ]; then 61 [ "$(printf "$1\n$2" | sort -V | tail -n1)" = "$1" ] 71 [ -z "$ver" ] && case "$UNAME" in 75 # RHEL7: 3.10.0-1160.108.1.el7.x86_64 76 # Fedora 37: 6.5.12-100.fc37.x86_64 77 # Debian 12.6: 6.1.0-22-amd64 78 ver=$(uname -r | grep -Eo "^[0-9]+\.[0-9]+\.[0-9]+") [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_vfsops.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 116 if (vfsp->vfs_mntpoint != NULL) in zfsvfs_vfs_free() 117 kmem_strfree(vfsp->vfs_mntpoint); in zfsvfs_vfs_free() 118 mutex_destroy(&vfsp->vfs_mntpt_lock); in zfsvfs_vfs_free() 124 zfsvfs_parse_option(char *option, int token, substring_t *args, vfs_t *vfsp) in zfsvfs_parse_option() argument 126 switch (token) { in zfsvfs_parse_option() 128 vfsp->vfs_readonly = B_TRUE; in zfsvfs_parse_option() 129 vfsp->vfs_do_readonly = B_TRUE; in zfsvfs_parse_option() 132 vfsp->vfs_readonly = B_FALSE; in zfsvfs_parse_option() 133 vfsp->vfs_do_readonly = B_TRUE; in zfsvfs_parse_option() [all …]
|
/freebsd/sbin/ipf/common/ |
H A D | ipf_y.y | 21 #define DOALL(x) for (fr = frc; fr != NULL; fr = fr->fr_next) { x } 22 #define DOREM(x) for (; fr != NULL; fr = fr->fr_next) { x } 59 static int dynamic = -1; 65 static int ipffd = -1; 118 %token <num> YY_NUMBER YY_HEX 119 %token <str> YY_STR 120 %token YY_COMMENT 121 %token YY_CMP_EQ YY_CMP_NE YY_CMP_LE YY_CMP_GE YY_CMP_LT YY_CMP_GT 122 %token YY_RANGE_OUT YY_RANGE_IN 123 %token <ip6> YY_IPV6 [all …]
|
/freebsd/sys/dev/mlx5/ |
H A D | driver.h | 1 /*- 2 * Copyright (c) 2013-2019, Mellanox Technologies, Ltd. All rights reserved. 41 #include <linux/radix-tree.h> 320 #define MLX5_DMA_OWNED(dev) mtx_owned(&(dev)->cmd.dma_mtx) 321 #define MLX5_DMA_LOCK(dev) mtx_lock(&(dev)->cmd.dma_mtx) 322 #define MLX5_DMA_UNLOCK(dev) mtx_unlock(&(dev)->cmd.dma_mtx) 324 #define MLX5_DMA_DONE(dev) cv_broadcast(&(dev)->cmd.dma_cv) 325 #define MLX5_DMA_WAIT(dev) cv_wait(&(dev)->cmd.dma_cv, &(dev)->cmd.dma_mtx) 339 /* protect token allocations 342 u8 token; member [all …]
|