/freebsd/sys/contrib/device-tree/Bindings/serial/ |
H A D | xlnx,opb-uartlite.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/serial/xlnx,opb-uartlite.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Korsgaard <jacmet@sunsite.dk> 16 - xlnx,xps-uartlite-1.00.a 17 - xlnx,opb-uartlite-1.00.b 25 port-number: 32 clock-names: 35 current-speed: [all …]
|
/freebsd/crypto/heimdal/doc/doxyout/hcrypto/man/man3/ |
H A D | hcrypto_des.3 | 1 .TH "DES crypto functions" 3 "11 Jan 2012" "Version 1.5.2" "Heimdal crypto library" \" -*- nroff -*- 5 DES crypto functions \- 69 See the \fBDES - Data Encryption Standard crypto interface\fP for description and examples. 86 \fIks\fP key schedule to use 88 \fIiv\fP initial vector to use 106 \fIks\fP key schedule to use 108 \fIiv\fP initial vector to use 128 \fIks\fP key schedule to use 130 \fIiv\fP initial vector to use 140 Check if the key have correct parity. [all …]
|
/freebsd/sys/contrib/openzfs/man/man7/ |
H A D | zpoolconcepts.7 | 6 .\" You may not use this file except in compliance with the License. 9 .\" or https://opensource.org/licenses/CDDL-1.0. 27 .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved. 42 .Bl -tag -width "special" 46 ZFS can use individual slices or partitions, though the recommended mode of 47 operation is to use whole disks. 60 The use of files as a backing store is strongly discouraged. 68 .Em N No disks of size Em X No can hold Em X No bytes and can withstand Em N-1 71 A distributed-parity layout, similar to RAID-5/6, with improved distribution of 72 parity, and which does not suffer from the RAID-5/6 [all …]
|
/freebsd/sys/contrib/alpine-hal/ |
H A D | al_hal_udma_iofic.h | 1 /*- 10 found at http://www.gnu.org/licenses/gpl-2.0.html 12 Alternatively, redistribution and use in source and binary forms, with or 30 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 32 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 45 * in UDMA based units. These APIs rely and use some the Interrupt controller 56 /* *INDENT-OFF* */ 60 /* *INDENT-ON* */ 69 AL_IOFIC_MODE_LEGACY, /**< level-sensitive interrupt wire */ 70 AL_IOFIC_MODE_MSIX_PER_Q, /**< per UDMA queue MSI-X interrupt */ [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/ |
H A D | fault_limits.ksh | 1 #!/bin/ksh -p 7 # You may not use this file except in compliance with the License. 10 # or https://opensource.org/licenses/CDDL-1.0. 36 # 4. Verify that less than parity count was faulted while replacing 39 TESTPOOL="fault-test-pool" 40 PARITY=$((RANDOM%(2) + 2)) 41 VDEV_CNT=$((4 + (2 * PARITY))) 48 for i in {0..$((VDEV_CNT - 1))}; do 49 log_must rm -f "$TEST_BASE_DIR/dev-$i" 56 log_note "creating $VDEV_CNT vdevs for parity $PARITY test" [all …]
|
/freebsd/sys/contrib/ck/src/ |
H A D | ck_barrier_dissemination.c | 2 * Copyright 2011-2015 Samy Al Bahra. 6 * Redistribution and use in source and binary forms, with or without 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 41 bool p = nthr & (nthr - 1); in ck_barrier_dissemination_init() 43 barrier->nthr = nthr; in ck_barrier_dissemination_init() 44 barrier->size = size = ck_internal_log(ck_internal_power_2(nthr)); in ck_barrier_dissemination_init() 45 ck_pr_store_uint(&barrier->tid, 0); in ck_barrier_dissemination_init() 62 j = (i + offset) & (nthr - 1); in ck_barrier_dissemination_init() 83 state->parity = 0; in ck_barrier_dissemination_subscribe() [all …]
|
/freebsd/usr.bin/tip/tip/ |
H A D | cu.c | 4 /*- 5 * SPDX-License-Identifier: BSD-3-Clause 10 * Redistribution and use in source and binary forms, with or without 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 45 int ch, i, parity; in cumain() local 54 parity = 0; /* none */ in cumain() 57 * We want to accept -# as a speed. It's easiest to look through in cumain() 58 * the arguments, replace -# with -s#, and let getopt() handle it. in cumain() 61 if (argv[i][0] == '-' && in cumain() [all …]
|
H A D | tip.c | 4 /*- 5 * SPDX-License-Identifier: BSD-3-Clause 10 * Redistribution and use in source and binary forms, with or without 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * tip - UNIX link to other systems 37 * tip [-v] [-speed] system-name 39 * cu phone-number [-s speed] [-l line] [-a acu] 72 fprintf(stderr, "usage: tip [-v] [-speed] [system-name]\n"); in main() 80 for (; argc > 1; argv++, argc--) { in main() [all …]
|
/freebsd/libexec/getty/ |
H A D | gettytab | 9 # cb, ce and ck are desirable on most crt's. The non-crt entries need to 13 # have been terminals around not being able of handling lower-case 17 # Parity defaults to even, but the Pc entry and all the `std' entries 18 # specify no parity. The different parities are: 19 # (none): same as ep for getty. login will use terminal as is. 20 # ep: getty will use raw mode (cs8 -parenb) (unless rw is set) and 21 # fake parity. login will use even parity (cs7 parenb -parodd). 22 # op: same as ep except odd parity (cs7 parenb parodd) for login. 23 # getty will fake odd parity as well. 24 # ap: same as ep except -inpck instead of inpck for login. [all …]
|
H A D | gettytab.5 | 4 .\" Redistribution and use in source and binary forms, with or without 22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 70 .Bl -column Name Type /usr/bin/login 72 .It "ac str unused expect-send chat script for modem answer" 73 .It "al str unused user to auto-login instead of prompting" 74 .It "ap bool false terminal uses any parity" 79 .It "ce bool false use crt erase algorithm" 80 .It "ck bool false use crt kill algorithm" 83 .It "co bool false console - add" [all …]
|
/freebsd/sys/dev/aic7xxx/aicasm/ |
H A D | aicasm_insformat.h | 1 /*- 5 * SPDX-License-Identifier: BSD-3-Clause 10 * Redistribution and use in source and binary forms, with or without 21 * 3. Neither the names of the above-listed copyright holders nor the names 36 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 39 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 52 parity : 1; member 54 uint32_t parity : 1, 70 parity : 1; member 72 uint32_t parity : 1, [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refreserv/ |
H A D | refreserv_raidz.ksh | 1 #!/bin/ksh -p 5 # You may only use this file in accordance with the terms of version 22 # raidz refreservation=auto accounts for extra parity and skip blocks 27 # - create a volume 28 # - fully overwrite it 29 # - verify that referenced is less than or equal to reservation 30 # - destroy the volume 37 # 1. This test will use up to 14 disks but can cover the key concepts with 44 typeset -a alldisks=($DISKS) 57 log_assert "raidz refreservation=auto accounts for extra parity and skip blocks" [all …]
|
/freebsd/lib/geom/raid3/ |
H A D | graid3.8 | 1 .\" Copyright (c) 2004-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org> 4 .\" Redistribution and use in source and binary forms, with or without 19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 84 utility uses on-disk metadata (the provider's last sector) to store all needed 90 .Bl -tag -width ".Cm configure" 93 The last given component will contain parity data, whilst the others 98 .Bl -tag -width ".Fl h" 107 Use parity component for reading in round-robin fashion. 108 Without this option the parity component is not used at all for reading operations [all …]
|
/freebsd/sys/sys/ |
H A D | kerneldump.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2002 Poul-Henning Kamp 8 * This software was developed for the FreeBSD Project by Poul-Henning Kamp 10 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the 13 * Redistribution and use in source and binary forms, with or without 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 73 * network byte order. Use the macros defined above to read or 104 uint32_t parity; member [all …]
|
/freebsd/sys/contrib/openzfs/man/man8/ |
H A D | zpool-attach.8 | 6 .\" You may not use this file except in compliance with the License. 9 .\" or https://opensource.org/licenses/CDDL-1.0. 27 .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved. 34 .Nm zpool-attach 50 is a RAID-Z device, or a mirror/plain device. 53 .Pq e.g. specified as Qo Li sda Qc or Qq Li mirror-7 , 61 automatically transforms into a two-way mirror of 67 is part of a two-way mirror, attaching 69 creates a three-way mirror, and so on. 74 If the existing device is a RAID-Z device [all …]
|
/freebsd/sys/contrib/openzfs/scripts/ |
H A D | zloop.sh | 8 # You may only use this file in accordance with the terms of version 26 if [[ -f "${BASE_DIR}/${SCRIPT_COMMON}" ]]; then 34 GDB=${GDB:-gdb} 43 $0 [-hl] [-c <dump directory>] [-f <vdev directory>] 44 [-m <max core dumps>] [-s <vdev size>] [-t <timeout>] 45 [-I <max iterations>] [-- [extra ztest parameters]] 51 after the -- end-of-options marker will be passed to ztest. 54 -c Specify a core dump directory to use. 55 -f Specify working directory for ztest vdev files. 56 -h Print this help message. [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_draid_003_pos.ksh | 1 #!/bin/ksh -p 7 # You may not use this file except in compliance with the License. 10 # or https://opensource.org/licenses/CDDL-1.0. 30 # Verify allowed striped widths (data+parity) and hot spares may be 44 rm -f $draid_vdevs 56 parity=$(random_int_between 1 3) 60 (( min_children = (data + parity + spares) )) 63 draid="draid${parity}:${data}d:${children}c:${spares}s" 66 log_must truncate -s $MINVDEVSIZE $draid_vdevs 72 rm -f $draid_vdevs [all …]
|
/freebsd/share/man/man4/ |
H A D | termios.4 | 4 .\" Redistribution and use in source and binary forms, with or without 22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 190 returns -1 with 224 returns -1 with 238 full-duplex mode, so that data may arrive even while output is occurring. 271 This is useful for terminals that can operate in full-duplex mode. 291 .Bl -enum -offset indent 301 If there is no data available, the read returns -1, with 313 character, an end-of-file [all …]
|
H A D | sym.4 | 5 .\" Copyright (C) 1999-2000 Gerard Roudier <groudier@club-internet.fr> 12 .\" This driver for FreeBSD-CAM is derived from the Linux sym53c8xx driver. 13 .\" Copyright (C) 1998-1999 Gerard Roudier 16 .\" a port of the FreeBSD ncr driver to Linux-1.2.13. 20 .\" Stefan Esser <se@mi.Uni-Koeln.de> 24 .\" FreeBSD-CAM services is based on the aic7xxx driver for FreeBSD-CAM 32 .\" ---------------------------------------------------------------------------- 34 .\" Redistribution and use in source and binary forms, with or without 51 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 54 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
H A D | redundancy_draid_spare1.ksh | 1 #!/bin/ksh -p 8 # You may only use this file in accordance with the terms of version 32 # a. Create a semi-random dRAID pool configuration which can: 33 # - sustain N failures (1-3), and 34 # - has N distributed spares to replace all faulted vdevs 56 flags="-s" 61 parity=$(random_int_between 1 3) 62 spares=$(random_int_between $parity 3) 65 (( min_children = (data + parity + spares) )) 68 draid="draid${parity}:${data}d:${children}c:${spares}s" [all …]
|
/freebsd/sys/cddl/boot/zfs/ |
H A D | zfssubr.c | 6 * You may not use this file except in compliance with the License. 23 * Use is subject to license terms. 57 for (ct = zfs_crc64_table + i, *ct = i, j = 8; j > 0; j--) in zfs_init_crc() 58 *ct = (*ct >> 1) ^ (-(*ct & 1) & ZFS_CRC64_POLY); in zfs_init_crc() 182 {NULL, gzip_decompress, 1, "gzip-1"}, 183 {NULL, gzip_decompress, 2, "gzip-2"}, 184 {NULL, gzip_decompress, 3, "gzip-3"}, 185 {NULL, gzip_decompress, 4, "gzip-4"}, 186 {NULL, gzip_decompress, 5, "gzip-5"}, 187 {NULL, gzip_decompress, 6, "gzip-6"}, [all …]
|
/freebsd/bin/stty/ |
H A D | stty.1 | 1 .\"- 8 .\" Redistribution and use in source and binary forms, with or without 26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 57 .Bl -tag -width indent 61 .St -p1003.2 . 68 Open and use the terminal named by 84 .St -p1003.2 . 93 .Bl -tag -width Fl 95 Enable (disable) parity generation [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/raidz/ |
H A D | raidz_expand_001_pos.ksh | 1 #!/bin/ksh -p 7 # You may not use this file except in compliance with the License. 35 # 2. For each parity value [1..3] 36 # - create raidz pool 37 # - fill it with some directories/files 38 # - attach device to the raidz pool 39 # - verify that device attached and the raidz pool size increase 40 # - verify resilver by replacing parity devices 41 # - verify resilver by replacing data devices 42 # - verify scrub by zeroing parity devices [all …]
|
/freebsd/sys/contrib/openzfs/cmd/raidz_test/ |
H A D | raidz_test.c | 6 * You may not use this file except in compliance with the License. 9 * or https://opensource.org/licenses/CDDL-1.0. 47 * Restore default action and re-raise signal so SIGSEGV and in sig_handler() 58 execlp("gdb", "gdb", "-ex", "set pagination 0", in sig_handler() 59 "-p", pid_s, NULL); in sig_handler() 60 _exit(-1); in sig_handler() 62 while (waitpid(pid, NULL, 0) == -1 && errno == EINTR) in sig_handler() 73 switch (opts->rto_v) { in print_opts() 86 if (force || opts->rto_v >= D_INFO) { in print_opts() 88 " (-a) zio ashift : %zu\n" in print_opts() [all …]
|
/freebsd/sys/dev/uart/ |
H A D | uart_dev_mvebu.c | 1 /*- 5 * Redistribution and use in source and binary forms, with or without 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 47 #define RBR_PAR_ERR_DET (1 << 13) /* Parity Error Detect */ 59 #define CTRL_PAR_EN (1 << 10) /* Parity Enable */ 61 #define CTRL_TX_HALF_INT (1 << 8) /* TX Half-Full Interrupt Enable */ 62 #define CTRL_RX_HALF_INT (1 << 7) /* RX Half-Full Interrupt Enable */ 68 #define CTRL_PAR_ERR_INT (1 << 1) /* Parity Error Interrupt Enable */ 88 #define STAT_PAR_ERR (1 << 1) /* Parity Error */ [all …]
|