/freebsd/libexec/rc/ |
H A D | network.subr | 40 local ifn cfg 42 cfg=1 44 [ -z "$ifn" ] && err 1 "ifn_start called without an interface" 46 ifscript_up ${ifn} && cfg=0 47 ifconfig_up ${ifn} && cfg=0 49 afexists inet6 && ipv6_up ${ifn} && cfg=0 50 afexists inet && ipv4_up ${ifn} && cfg=0 52 childif_create ${ifn} && cfg=0 54 return $cfg 58 # Shutdown and de-configure an interface. If action is taken, [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/refquota/ |
H A D | refquota_test.sh | 30 …atf_set "descr" "refquota limits the amount of space a dataset can consume,but does not include sp… 35 . $(atf_get_srcdir)/../../include/default.cfg 36 . $(atf_get_srcdir)/refquota.cfg 44 . $(atf_get_srcdir)/../../include/default.cfg 45 . $(atf_get_srcdir)/refquota.cfg 59 . $(atf_get_srcdir)/../../include/default.cfg 60 . $(atf_get_srcdir)/refquota.cfg 68 . $(atf_get_srcdir)/../../include/default.cfg 69 . $(atf_get_srcdir)/refquota.cfg 78 atf_set "descr" "Sub-filesystem quotas are not enforced by property 'refquota'" [all …]
|
/freebsd/sbin/ipfw/ |
H A D | nat.c | 1 /*- 2 * Copyright (c) 2002-2003 Luigi Rizzo 3 * Copyright (c) 1996 Alex Nash, Paul Traina, Poul-Henning Kamp 20 * In-kernel nat support 46 typedef int (nat_cb_t)(struct nat44_cfg_nat *cfg, void *arg); 49 static int nat_show_data(struct nat44_cfg_nat *cfg, void *arg); 78 * n->ip ip address of interface "ifn" 79 * n->if_name copy of interface name "ifn" 102 if (sysctl(mib, 6, NULL, &needed, NULL, 0) == -1) in set_addr_dynamic() 103 err(1, "iflist-sysctl-estimate"); in set_addr_dynamic() [all …]
|
/freebsd/sys/dev/bhnd/siba/ |
H A D | siba_subr.c | 1 /*- 2 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 55 * Map a siba(4) OCP vendor code to its corresponding JEDEC JEP-106 vendor 89 for (u_int i = 0; i < nitems(dinfo->cfg); i++) { in siba_alloc_dinfo() 90 dinfo->cfg[i] = ((struct siba_cfg_block){ in siba_alloc_dinfo() 93 .cb_rid = -1, in siba_alloc_dinfo() 95 dinfo->cfg_res[i] = NULL; in siba_alloc_dinfo() 96 dinfo->cfg_rid[i] = -1; in siba_alloc_dinfo() 99 resource_list_init(&dinfo->resources); in siba_alloc_dinfo() 101 dinfo->pmu_state = SIBA_PMU_NONE; in siba_alloc_dinfo() [all …]
|
H A D | sibavar.h | 1 /*- 2 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 101 u_int siba_cfg_agent_port(u_int cfg); 102 u_int siba_cfg_agent_region(u_int cfg); 131 (_dinfo->core_id.core_info.core_idx * SIBA_MAX_CFG)) 133 /* Sonics/OCP address space mappings */ 134 #define SIBA_CORE_ADDRSPACE 0 /**< Address space mapping the primary 138 * address space mappings for a 141 /* bhnd(4) (port,region) representation of siba address space mappings */ 153 /** siba(4) address space descriptor */ [all …]
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | bench.c | 2 * Copyright 2003-2007 Niels Provos <provos@citi.umich.edu> 3 * Copyright 2007-2012 Niels Provos and Nick Mathewson 28 * Mon 03/10/2003 - Modified by Davide Libenzi <davidel@xmailserver.org> 36 #include "event2/event-config.h" 37 #include "../util-internal.h" 90 widx -= num_pipes; in read_cb() 94 writes--; in read_cb() 102 evutil_socket_t *cp, space; in run_once() local 116 space = num_pipes / num_active; in run_once() 117 space = space * 2; in run_once() [all …]
|
/freebsd/contrib/libevent/test/ |
H A D | bench.c | 2 * Copyright 2003-2007 Niels Provos <provos@citi.umich.edu> 3 * Copyright 2007-2012 Niels Provos and Nick Mathewson 28 * Mon 03/10/2003 - Modified by Davide Libenzi <davidel@xmailserver.org> 36 #include "event2/event-config.h" 37 #include "../util-internal.h" 90 widx -= num_pipes; in read_cb() 94 writes--; in read_cb() 102 evutil_socket_t *cp, space; in run_once() local 116 space = num_pipes / num_active; in run_once() 117 space = space * 2; in run_once() [all …]
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_vcbus.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 30 * This file contains facilities for runtime determination of address space 32 * arm64 SoC because the 32-bit SoC used the same mappings. 52 * The SDRAM address space is consistently mapped starting at 0 and extends to 55 * Peripherals are mapped further up at spots that vary per-SOC. 113 * map the first 1GB into the "legacy master view" (vcbus) address space. Thus, 115 * we also capture the main-peripheral busdma restriction below. 141 .soc_compat = "raspberrypi,model-b", 187 /* We'll cache it once we decide, because it won't change per-boot. */ in bcm283x_get_current_memcfg() [all …]
|
/freebsd/sys/dev/bhnd/cores/pci/ |
H A D | bhnd_pcireg.h | 1 /*- 2 * SPDX-License-Identifier: ISC 29 * PCI/PCIe-Gen1 DMA Constants 35 #define BHND_PCIE_DMA32_TRANSLATION 0x80000000 /**< PCIe-Gen1 DMA32 address translation (sb2pcitr… 36 #define BHND_PCIE_DMA32_MASK BHND_PCIE_SBTOPCI2_MASK /**< PCIe-Gen1 DMA32 translation mask */ 38 #define BHND_PCIE_DMA64_TRANSLATION _BHND_PCIE_DMA64(TRANSLATION) /**< PCIe-Gen1 DMA64 address tran… 39 #define BHND_PCIE_DMA64_MASK _BHND_PCIE_DMA64(MASK) /**< PCIe-Gen1 DMA64 translation mask */ 60 #define BHND_PCI_FUNC0_CFG 0x400 /**< PCI function 0 cfg space (>= rev8) */ 61 #define BHND_PCI_FUNC1_CFG 0x500 /**< PCI function 1 cfg space (>= rev8) */ 62 #define BHND_PCI_FUNC2_CFG 0x600 /**< PCI function 2 cfg space (>= rev8) */ [all …]
|
/freebsd/contrib/unbound/ipsecmod/ |
H A D | ipsecmod.c | 2 * ipsecmod/ipsecmod.c - facilitate opportunistic IPsec module 47 #include "ipsecmod/ipsecmod-whitelist.h" 57 ipsecmod_apply_cfg(struct ipsecmod_env* ipsecmod_env, struct config_file* cfg) in ipsecmod_apply_cfg() argument 59 if(!cfg->ipsecmod_hook || (cfg->ipsecmod_hook && !cfg->ipsecmod_hook[0])) { in ipsecmod_apply_cfg() 60 log_err("ipsecmod: missing ipsecmod-hook."); in ipsecmod_apply_cfg() 63 if(cfg->ipsecmod_whitelist && in ipsecmod_apply_cfg() 64 !ipsecmod_whitelist_apply_cfg(ipsecmod_env, cfg)) in ipsecmod_apply_cfg() 78 env->modinfo[id] = (void*)ipsecmod_env; in ipsecmod_init() 79 ipsecmod_env->whitelist = NULL; in ipsecmod_init() 80 if(!ipsecmod_apply_cfg(ipsecmod_env, env->cfg)) { in ipsecmod_init() [all …]
|
/freebsd/tools/tools/nanobsd/embedded/ |
H A D | README | 4 using qemu user space emulation. 11 sudo sh ../nanobsd.sh -c foo.cfg 22 beaglebone.cfg Create a bootable beaglebone image 23 qemu-amd64.cfg Create a bootable amd64 image for qemu (W) 24 qemu-i386.cfg Create a bootable i386 image for qemu (W) 25 qemu-powerpc.cfg Create a bootable 32-bit powerpc image for 27 qemu-powerpc64.cfg Create a bootable 64-bit IBM-flavor image for 29 rpi.cfg Create a bootable image for Raspberry Pi B 30 rpi2.cfg Create a bootable image for Raspberry Pi2 34 i386: qemu-system-i386 -m 512 -hda _.disk.image.qemu-i386.qcow2 -nographic [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pci/ |
H A D | qcom,pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/qcom,pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 15 - enum: 16 - qcom,sa8775p-pcie-ep 17 - qcom,sdx55-pcie-ep 18 - qcom,sm8450-pcie-ep 19 - items: [all …]
|
H A D | xilinx-nwl-pcie.txt | 4 - compatible: Should contain "xlnx,nwl-pcie-2.11" 5 - #address-cells: Address representation for root ports, set to <3> 6 - #size-cells: Size representation for root ports, set to <2> 7 - #interrupt-cells: specifies the number of cells needed to encode an 9 - reg: Should contain Bridge, PCIe Controller registers location, 10 configuration space, and length 11 - reg-names: Must include the following entries: 14 "cfg": configuration space region 15 - device_type: must be "pci" 16 - interrupts: Should contain NWL PCIe interrupt [all …]
|
H A D | snps,dw-pcie.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jingoo Han <jingoohan1@gmail.com> 11 - Gustavo Pimentel <gustavo.pimentel@synopsys.com> 16 # Please create a separate DT-schema for your DWC PCIe Root Port controller 17 # and make sure it's assigned with the vendor-specific compatible string. 21 const: snps,dw-pcie 23 - compatible [all …]
|
H A D | amlogic,meson-pcie.txt | 6 Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml. 11 - compatible: 13 - "amlogic,axg-pcie" for AXG SoC Family 14 - "amlogic,g12a-pcie" for G12A SoC Family 16 - reg: 17 should contain the configuration address space. 18 - reg-names: Must be 19 - "elbi" External local bus interface registers 20 - "cfg" Meson specific registers 21 - "config" PCIe configuration space [all …]
|
H A D | xgene-pci.txt | 1 * AppliedMicro X-Gene PCIe interface 4 - device_type: set to "pci" 5 - compatible: should contain "apm,xgene-pcie" to identify the core. 6 - reg: A list of physical base address and length for each set of controller 7 registers. Must contain an entry for each entry in the reg-names 9 - reg-names: Must include the following entries: 11 "cfg": PCIe configuration space registers. 12 - #address-cells: set to <3> 13 - #size-cells: set to <2> 14 - ranges: ranges for the outbound memory, I/O regions. [all …]
|
H A D | qcom,pcie-sm8250.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/qcom,pcie-sm8250.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 19 const: qcom,pcie-sm8250 25 reg-names: 28 - const: parf # Qualcomm specific registers 29 - const: dbi # DesignWare PCIe registers [all …]
|
H A D | qcom,pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 11 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 20 - enum: 21 - qcom,pcie-apq8064 22 - qcom,pcie-apq8084 23 - qcom,pcie-ipq4019 24 - qcom,pcie-ipq6018 [all …]
|
/freebsd/contrib/kyua/engine/ |
H A D | requirements.cpp | 69 if ((*iter) == "unprivileged-user" || (*iter) == "unprivileged_user") in check_required_configs() 173 "unprivileged-user configuration variable is not " in check_required_user() 244 /// Checks if the work directory's file system has enough free disk space. 246 /// \param required_disk_space Amount of required free disk space, or zero if 251 /// enough free disk space or an error message otherwise. 260 return F("Requires %s bytes of free disk space but only %s " in check_required_disk_space() 274 /// \param cfg The engine configuration. 281 engine::check_reqs(const model::metadata& md, const config::tree& cfg, in check_reqs() argument 287 reason = check_required_configs(md.required_configs(), cfg, test_suite); in check_reqs() 291 reason = check_allowed_architectures(md.allowed_architectures(), cfg); in check_reqs() [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/compression/ |
H A D | compression_test.sh | 35 . $(atf_get_srcdir)/../../include/default.cfg 36 . $(atf_get_srcdir)/compress.cfg 44 . $(atf_get_srcdir)/../../include/default.cfg 45 . $(atf_get_srcdir)/compress.cfg 59 . $(atf_get_srcdir)/../../include/default.cfg 60 . $(atf_get_srcdir)/compress.cfg 68 . $(atf_get_srcdir)/../../include/default.cfg 69 . $(atf_get_srcdir)/compress.cfg 78 …atf_set "descr" "Creating non-power-of-2 blocksize file and freeing the filestorage space at will … 86 . $(atf_get_srcdir)/../../include/default.cfg [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | AnalysisDeclContext.h | 1 //===- AnalysisDeclContext.h - Context for path sensitivity -----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 15 //===----------------------------------------------------------------------===// 22 #include "clang/Analysis/CFG.h" 79 std::unique_ptr<CFG> cfg, completeCFG; variable 82 CFG::BuildOptions cfgBuildOptions; 83 CFG::BuildOptions::ForcedBlkExprs *forcedBlkExprs = nullptr; 100 const CFG::BuildOptions &BuildOptions); 104 ASTContext &getASTContext() const { return D->getASTContext(); } in getASTContext() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_expand/ |
H A D | zpool_expand_001_pos.ksh | 1 #! /bin/ksh -p 10 # or https://opensource.org/licenses/CDDL-1.0. 34 . $STF_SUITE/tests/functional/cli_root/zpool_expand/zpool_expand.cfg 49 # expansion of non-partitioned block devices (loopback), partitioned 50 # block devices (scsi_debug), and non-disk file vdevs. ZFS volumes 57 # We override $org_size and $exp_size from zpool_expand.cfg to make sure we get 58 # an expected free space value every time. Otherwise, if we left it 59 # configurable, the free space ratio to pool size ratio would diverge too much 69 if losetup -a | grep -q $DEV1; then 70 losetup -d $DEV1 [all …]
|
/freebsd/sys/dev/puc/ |
H A D | puc_cfg.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 42 const struct puc_cfg *cfg = sc->sc_cfg; in puc_config() local 45 if (cfg->config_function != NULL) { in puc_config() 46 error = cfg->config_function(sc, cmd, port, r); in puc_config() 54 if (cfg->clock < 0) in puc_config() 56 *r = cfg->clock; in puc_config() 59 if (cfg->desc == NULL) in puc_config() 61 *r = (intptr_t)cfg->desc; in puc_config() 67 /* The length of bus space needed by the port. */ in puc_config() [all …]
|
/freebsd/sys/dev/bhnd/bhndb/ |
H A D | bhndb_pcireg.h | 1 /*- 36 * - PCI (cid=0x804, revision <= 12) 40 * [0x0000+0x1000] dynamic mapped backplane address space (window 0). 47 * - PCI (cid=0x804, revision >= 13) 48 * - PCIE (cid=0x820) with ChipCommon (revision <= 31) 52 * [0x0000+0x1000] dynamic mapped backplane address space (window 0). 59 * - PCIE (cid=0x820) with ChipCommon (revision >= 32) 63 * [0x0000+0x1000] dynamic mapped backplane address space (window 0). 64 * [0x1000+0x1000] dynamic mapped backplane address space (window 1). 70 * - PCIE Gen 2 (cid=0x83c) [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/rng/ |
H A D | ks-sa-rng.txt | 5 - compatible: should be "ti,keystone-rng" 6 - ti,syscon-sa-cfg: phandle to syscon node of the SA configuration registers. 8 - clocks: phandle to the reference clocks for the subsystem 9 - clock-names: functional clock name. Should be set to "fck" 10 - reg: HWRNG module register space 16 compatible = "ti,keystone-rng"; 17 ti,syscon-sa-cfg = <&sa_config>; 19 clock-names = "fck";
|