| /freebsd/sys/contrib/openzfs/scripts/ |
| H A D | zfs-tests.sh | 2 # SPDX-License-Identifier: CDDL-1.0 14 # or https://opensource.org/licenses/CDDL-1.0. 31 SCRIPT_COMMON=${SCRIPT_COMMON:-${0%/*}/common.sh} 34 PROG=zfs-tests.sh 35 VERBOSE="no" 39 CLEANUPALL="no" 42 LOOPBACK="yes" 43 STACK_TRACER="no" 46 RUNFILES=${RUNFILES:-$DEFAULT_RUNFILES} 47 FILEDIR=${FILEDIR:-/var/tmp} [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
| H A D | imx27-eukrea-cpuimx27.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 /dts-v1/; 18 clk14745600: clk-uart { 19 compatible = "fixed-clock"; 20 #clock-cells = <0>; 21 clock-frequenc [all...] |
| /freebsd/sys/contrib/device-tree/src/arm/aspeed/ |
| H A D | aspeed-g6.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h> 6 #include <dt-bindings/clock/ast2600-clock.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 13 interrupt-parent = <&gic>; 47 #address-cells = <1>; 48 #size-cells = <0>; 49 enable-method = "aspeed,ast2600-smp"; [all …]
|
| H A D | aspeed-g4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 2 #include <dt-bindings/clock/aspeed-clock.h> 7 #address-cells = <1>; 8 #size-cells = <1>; 9 interrupt-parent = <&vic>; 35 #address-cells = <1>; 36 #size-cells = <0>; 39 compatible = "arm,arm926ej-s"; 51 compatible = "simple-bus"; 52 #address-cells = <1>; [all …]
|
| H A D | aspeed-g5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 2 #include <dt-bindings/clock/aspeed-clock.h> 3 #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h> 8 #address-cells = <1>; 9 #size-cells = <1>; 10 interrupt-parent = <&vic>; 36 #address-cells = <1>; 37 #size-cells = <0>; 40 compatible = "arm,arm1176jzf-s"; 52 compatible = "simple-bus"; [all …]
|
| /freebsd/tests/etc/rc.d/ |
| H A D | routing_test.sh | 12 # substantially similar to the "NO WARRANTY" disclaimer below 17 # NO WARRANTY 21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 36 atf_set "descr" "Every FIB should have a static IPv4 loopback route" 41 nfibs=`sysctl -n net.fibs` 43 # Check for an IPv4 loopback route 44 for fib in `seq 0 $((${nfibs} - 1))`; do 45 atf_check -o match:"interface: lo0" -s exit:0 \ 46 setfib -F ${fib} route -4 get 127.0.0.1 53 atf_set "descr" "Every FIB should have a static IPv6 loopback route" [all …]
|
| /freebsd/sys/contrib/device-tree/src/mips/realtek/ |
| H A D | rtl83xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause 4 #address-cells = <1>; 5 #size-cells = <1>; 13 compatible = "mti,cpu-interrupt-controller"; 14 #address-cells = <0>; 15 #interrupt-cells = <1>; 16 interrupt-controller; 20 compatible = "simple-bus"; 21 #address-cells = <1>; 22 #size-cells = <1>; [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mount/ |
| H A D | mount_loopback.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 11 # or https://opensource.org/licenses/CDDL-1.0. 30 # Verify that we can make an xfs filesystem on a ZFS-backed loopback device. 39 # 3. Mount the file/zvol behind a loopback device 40 # 4. Create & mount an xfs filesystem on the loopback device 44 if [ -d $TEST_BASE_DIR/mnt ] ; then 48 if [ -n "$DEV" ] ; then 49 log_must losetup -d $DEV 52 log_must rm -f $TEST_BASE_DIR/file1 [all …]
|
| /freebsd/sys/contrib/device-tree/src/mips/loongson/ |
| H A D | loongson64g-package.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/interrupt-controller/irq.h> 6 #address-cells = <2>; 7 #size-cells = <2>; 9 cpuintc: interrupt-controller { 10 #address-cells = <0>; 11 #interrupt-cells = <1>; 12 interrupt-controller; 13 compatible = "mti,cpu-interrupt-controller"; 17 compatible = "simple-bus"; [all …]
|
| H A D | loongson3-package.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/interrupt-controller/irq.h> 6 #address-cells = <2>; 7 #size-cells = <2>; 9 cpuintc: interrupt-controller { 10 #address-cells = <0>; 11 #interrupt-cells = <1>; 12 interrupt-controller; 13 compatible = "mti,cpu-interrupt-controller"; 17 compatible = "simple-bus"; [all …]
|
| H A D | loongson64c-package.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/interrupt-controller/irq.h> 6 #address-cells = <2>; 7 #size-cells = <2>; 9 cpuintc: interrupt-controller { 10 #address-cells = <0>; 11 #interrupt-cells = <1>; 12 interrupt-controller; 13 compatible = "mti,cpu-interrupt-controller"; 17 compatible = "simple-bus"; [all …]
|
| H A D | ls7a-pch.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 compatible = "simple-bus"; 6 #address-cells = <2>; 7 #size-cells = <2>; 13 pic: interrupt-controller@10000000 { 14 compatible = "loongson,pch-pic-1.0"; 16 interrupt-controlle [all...] |
| /freebsd/sys/contrib/alpine-hal/ |
| H A D | al_hal_serdes_internal_regs.h | 1 /*- 10 found at http://www.gnu.org/licenses/gpl-2.0.html 27 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 48 * 0 - Hard reset is asserted 49 * 1 - Hard reset is de-asserted 58 * 0 - Hard reset is taken from the interface pins 59 * 1 - Hard reset is taken from registers 121 * PMA serial RX-to-TX loop-back enable (from AGC to IO Driver). Serial receive 122 * to transmit loopback: 0 - Disables loopback 1 - Transmits the untimed, 129 * PMA TX-to-RX buffered serial loop-back enable (bypasses IO Driver). Serial [all …]
|
| H A D | al_hal_serdes_hssp_internal_regs.h | 9 found at http://www.gnu.org/licenses/gpl-2.0.html 26 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 47 * 0 - Hard reset is asserted 48 * 1 - Hard reset is de-asserted 57 * 0 - Hard reset is taken from the interface pins 58 * 1 - Hard reset is taken from registers 120 * PMA serial RX-to-TX loop-back enable (from AGC to IO Driver). Serial receive 121 * to transmit loopback: 0 - Disables loopback 1 - Transmits the untimed, 128 * PMA TX-to-RX buffered serial loop-back enable (bypasses IO Driver). Serial 129 * transmit to receive buffered loopback: 0 - Disables loopback 1 - Loops back [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/serial/ |
| H A D | 8250.yaml | 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - devicetree@vger.kernel.org 13 - $ref: serial.yaml# 14 - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# 15 - if: 17 - required: 18 - aspeed,lpc-io-reg 19 - required: 20 - aspeed,lpc-interrupts [all …]
|
| /freebsd/tests/sys/netpfil/pf/ |
| H A D | syncookie.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 18 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 35 jexec $jail pfctl -si -v | grep -A 2 '^Syncookies' | grep active \ 42 atf_set descr 'Basic syncookie test' 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 91 atf_set descr 'Basic syncookie IPv6 test' [all …]
|
| H A D | utils.subr | 3 # SPDX-License-Identifier: BSD-2-Clause 20 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 38 echo "Test exit status: $?" 41 if [ -f created_jails.lst ]; then 45 echo "----------------" 47 jexec ${jailname} netstat -rn 48 jexec ${jailname} pfctl -sa -v 53 echo "-------------------" 57 echo "----------------" 70 if [ ! -c /dev/pf ]; then [all …]
|
| /freebsd/sys/dev/mii/ |
| H A D | nsphyterreg.h | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 25 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 56 #define PHYSTS_LOOPBACK 0x0008 /* loopback status */ 65 #define PHYSTS_MP_DESCRLK 0x0200 /* de-scrambler lock */ 76 #define MIPSCR_TINT 0x0001 /* test interrupt */ 85 #define MIPGSR_MSK_ANC 0x0800 /* mask auto-neg complete event */ 96 #define PCSR_SINGLE_SD 0x8000 /* single-ended SD mode */ 103 #define PCSR_TX_PATTERN 0x0180 /* 100Mb/s transmit test pattern */ 120 #define MII_NSPHYTER_LBR 0x17 /* loopback and bypass */ [all …]
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | nfs18.sh | 4 # SPDX-License-Identifier: BSD-2-Clause 20 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 30 # msdosfs rename test over nfs loopback mount 31 # This needs to be in /etc/exports: /mnt -maproot=root 127.0.0.1 35 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 38 grep -q $mp1 /etc/exports || 40 [ -x /sbin/mount_msdosfs ] || exit 42 mount | grep "$mp2 " | grep nfs > /dev/null && umount -f $mp2 43 mount | grep "$mp1 " | grep /md > /dev/null && umount -f $mp1 44 mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/intel/ixp/ |
| H A D | intel-ixp4xx.dtsi | 1 // SPDX-License-Identifier: ISC 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/gpio/gpio.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 14 compatible = "simple-bus"; 15 interrupt-parent = <&intcon>; 22 /* compatible and reg filled in by per-soc device tree */ 23 native-endian; 24 #address-cells = <2>; [all …]
|
| /freebsd/tools/tools/so_splice/ |
| H A D | proxy.c | 2 * SPDX-License-Identifier: BSD-2-Clause 14 * $ proxy -l 127.0.0.1:8080 www.example.com:80 16 * The -m flag selects the mode of the transfer. Specify "-m copy" to enable 17 * copying through userspace, and "-m splice" to use SO_SPLICE. 19 * The -L flag enables a loopback mode, wherein all data is additionally proxied 20 * through a loopback TCP connection. This exists mostly to help test a 21 * specific use-case in custom proxy software where we would like to use 50 bool loopback; member 57 "usage: proxy [-m copy|splice] [-s <buf-size>] [-L] -l <listen addr> <target addr>\n"); in usage() 69 if (kq == -1) in proxy_copy() [all …]
|
| /freebsd/sys/contrib/device-tree/src/mips/mti/ |
| H A D | sead3.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/mips-gic.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 13 compatible = "mti,sead-3"; 14 model = "MIPS SEAD-3"; 17 stdout-path = "serial1:115200"; 36 cpu_intc: interrupt-controller { 37 compatible = "mti,cpu-interrupt-controller"; [all …]
|
| /freebsd/sys/contrib/device-tree/src/mips/ralink/ |
| H A D | mt7621.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 #include <dt-bindings/interrupt-controller/mips-gic.h> 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/clock/mt7621-clk.h> 5 #include <dt-bindings/reset/mt7621-reset.h> 8 compatible = "mediatek,mt7621-soc"; 10 #address-cells = <1>; 11 #size-cells = <1>; 14 #address-cells = <1>; 15 #size-cells = <0>; [all …]
|
| /freebsd/tools/regression/netinet/tcpsocktimewait/ |
| H A D | tcpsocktimewait.c | 1 /*- 21 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 32 * TCP regression test that opens a loopback TCP session, then closes one end 61 err(-1, "tcp_server: accept"); in tcp_server() 80 err(-1, "socket"); in tcp_client() 93 err(-1, "connect"); in tcp_client() 100 err(-1, "shutdown"); in tcp_client() 117 err(-1, "signal"); in main() 127 err(-1, "socket"); in main() 130 * We use the loopback, but let the kernel select a port for the in main() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arc/ |
| H A D | nsim_700.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /dts-v1/; 12 #address-cells = <1>; 13 #size-cells = <1>; 14 interrupt-parent = <&core_intc>; 17 …bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=ttyS0,115200n8 print-fatal-signal… 25 compatible = "simple-bus"; 26 #address-cells = <1>; 27 #size-cells = <1>; 33 #clock-cells = <0>; [all …]
|