/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/ |
H A D | fault_limits.ksh | 37 # 4. Verify that less than parity count was faulted while replacing 41 PARITY=$((RANDOM%(2) + 2)) 42 VDEV_CNT=$((4 + (2 * PARITY))) 57 log_note "creating $VDEV_CNT vdevs for parity $PARITY test" 65 log_must zpool create -f ${TESTPOOL} raidz${PARITY} ${disks[1..$((VDEV_CNT - 1))]} 70 log_must fill_fs $MNTPOINT $PARITY 200 32768 1000 Z 79 for disk in ${disks[0..$PARITY]}; do 87 for disk in ${disks[0..$PARITY]}; do 94 log_must test "$faults" -lt "$PARITY"
|
/freebsd/sys/contrib/device-tree/Bindings/serial/ |
H A D | xlnx,opb-uartlite.yaml | 45 xlnx,use-parity: 49 Whether parity checking was enabled when the device was configured. 51 xlnx,odd-parity: 55 Whether odd parity was configured. 63 - xlnx,use-parity 69 xlnx,use-parity: 73 - xlnx,odd-parity 86 xlnx,use-parity = <0>;
|
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/ |
H A D | adf_c4xxx_inline.h | 444 /* cd rf parity error 445 * BIT(2) rf parity mul 0 446 * BIT(3) rf parity 0 447 * BIT(10) rf parity mul 2 448 * BIT(11) rf parity 2 452 /* inln rf parity error 453 * BIT(2) rf parity mul 0 454 * BIT(3) rf parity 0 455 * BIT(6) rf parity mul 1 456 * BIT(7) rf parity 1 [all …]
|
/freebsd/sys/contrib/alpine-hal/ |
H A D | al_hal_udma_iofic.h | 150 /** Prefetch header buffer parity error */ 152 /** Prefetch descriptor buffer parity error */ 154 /** Data buffer parity error */ 156 /** Data header buffer parity error */ 158 /** Completion coalescing buffer parity error */ 160 /** UNACK packets buffer parity error */ 162 /** ACK packets buffer parity error */ 164 /** AXI data buffer parity error */ 218 * Prefetch AXI parity 219 * Bus parity error on descriptor being prefetched [all …]
|
/freebsd/sys/contrib/openzfs/man/man7/ |
H A D | zpoolconcepts.7 | 72 A distributed-parity layout, similar to RAID-5/6, with improved distribution of 73 parity, and which does not suffer from the RAID-5/6 75 .Pq in which data and parity become inconsistent after a power loss . 76 Data and parity is striped across all disks within a raidz group, though not 79 A raidz group can have single, double, or triple parity, meaning that the 84 vdev type specifies a single-parity raidz group; the 86 vdev type specifies a double-parity raidz group; and the 88 vdev type specifies a triple-parity raidz group. 95 .Em N No disks of size Em X No with Em P No parity disks can hold approximately 98 parity disks. [all …]
|
/freebsd/crypto/heimdal/doc/doxyout/hcrypto/man/man3/ |
H A D | hcrypto_des.3 | 140 Check if the key have correct parity. 144 \fIkey\fP key to check the parity. 267 0 on success, -1 on invalid parity, -2 on weak key. 273 Generate a random des key using a random block, fixup parity and skip weak keys. 337 … \fBDES_set_key_unchecked()\fP except checking that the key is not weak for or have correct parity. 348 0 on success, -1 on invalid parity, -2 on weak key. 356 Does NOT check that the key is weak for or have wrong parity. 373 Set the parity of the key block, used to generate a des key from a random key. See \fBDES key gener… 377 \fIkey\fP key to fixup the parity for.
|
/freebsd/usr.bin/tip/tip/ |
H A D | cu.c | 45 int ch, i, parity; in cumain() local 54 parity = 0; /* none */ in cumain() 108 if (parity != 0) in cumain() 109 parity = 0; /* -e -o */ in cumain() 111 parity = 1; /* odd */ in cumain() 114 if (parity != 0) in cumain() 115 parity = 0; /* -o -e */ in cumain() 117 parity = -1; /* even */ in cumain() 162 switch (parity) { in cumain()
|
H A D | tip.c | 161 setparity("none"); /* set the parity table */ in main() 567 * Do a write to the remote machine with the correct parity. 569 * with the right parity and output it. 592 * Build a parity table with appropriate high-order bit. 598 char *parity; in setparity() local 601 if (value(PARITY) == NOSTR) in setparity() 602 value(PARITY) = defparity; in setparity() 603 parity = value(PARITY); in setparity() 604 if (equal(parity, "none")) { in setparity() 612 if (equal(parity, "odd")) in setparity() [all …]
|
/freebsd/libexec/getty/ |
H A D | gettytab | 17 # Parity defaults to even, but the Pc entry and all the `std' entries 18 # specify no parity. The different parities are: 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. 26 # np: 1. don't fake parity in getty. The fake parity garbles 28 # support parity. It would probably better for getty not to 29 # try to fake parity. It could just use cbreak mode so as 30 # not to force cs8 and let the hardware handle the parity.
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | Terminal.cpp | 324 llvm::Error Terminal::SetParity(Terminal::Parity parity) { in SetParity() argument 337 if (parity != Parity::No) { in SetParity() 339 if (parity == Parity::Odd || parity == Parity::Mark) in SetParity() 341 if (parity == Parity::Mark || parity == Parity::Space) { in SetParity() 347 "space/mark parity is not supported by the platform"); in SetParity()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refreserv/ |
H A D | refreserv_raidz.ksh | 23 # raidz refreservation=auto accounts for extra parity and skip blocks 58 log_assert "raidz refreservation=auto accounts for extra parity and skip blocks" 90 for parity in 1 2 3; do 91 raid=raidz$parity 94 for ndisks in $((parity * 2)) $((parity * 2 + 1)); do 136 log_pass "raidz refreservation=auto accounts for extra parity and skip blocks"
|
/freebsd/crypto/krb5/src/lib/crypto/builtin/des/ |
H A D | f_parity.c | 3 * These routines check and fix parity of encryption keys for the DES 18 * des_fixup_key_parity: Forces odd parity per byte; parity is bits 44 * des_check_key_parity: returns true iff key has the correct des parity. 46 * correct des parity.
|
/freebsd/sys/contrib/ck/src/ |
H A D | ck_barrier_dissemination.c | 83 state->parity = 0; in ck_barrier_dissemination_subscribe() 106 pflag = barrier[state->tid].flags[state->parity][i].pflag; in ck_barrier_dissemination() 107 tflag = &barrier[state->tid].flags[state->parity][i].tflag; in ck_barrier_dissemination() 119 * between successive calls to the barrier. Parity indicates which set will in ck_barrier_dissemination() 123 if (state->parity == 1) in ck_barrier_dissemination() 126 state->parity = 1 - state->parity; in ck_barrier_dissemination()
|
/freebsd/sys/dev/aic7xxx/aicasm/ |
H A D | aicasm_insformat.h | 52 parity : 1; member 54 uint32_t parity : 1, 70 parity : 1; member 72 uint32_t parity : 1, 87 parity : 1; member 89 uint32_t parity : 1,
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_draid_003_pos.ksh | 31 # Verify allowed striped widths (data+parity) and hot spares may be 57 parity=$(random_int_between 1 3) 61 (( min_children = (data + parity + spares) )) 64 draid="draid${parity}:${data}d:${children}c:${spares}s" 98 # Check invalid parity levels. 102 # Spares are limited: spares < children - (parity + data).
|
/freebsd/sys/contrib/openzfs/cmd/raidz_test/ |
H A D | raidz_test.c | 211 cmp_code(raidz_test_opts_t *opts, const raidz_map_t *rm, const int parity) in cmp_code() argument 215 VERIFY(parity >= 1 && parity <= 3); in cmp_code() 220 for (i = 0; i < parity; i++) { in cmp_code() 304 init_raidz_golden_map(raidz_test_opts_t *opts, const int parity) in init_raidz_golden_map() argument 309 const size_t total_ncols = opts->rto_dcols + parity; in init_raidz_golden_map() 333 parity, opts->rto_expand_offset, 0, B_FALSE); in init_raidz_golden_map() 336 parity, opts->rto_expand_offset, 0, B_FALSE); in init_raidz_golden_map() 339 opts->rto_ashift, total_ncols, parity); in init_raidz_golden_map() 341 opts->rto_ashift, total_ncols, parity); in init_raidz_golden_map() 352 err |= cmp_code(opts, rm_test, parity); in init_raidz_golden_map() [all …]
|
/freebsd/share/man/man4/ |
H A D | termios.4 | 864 /* ignore (discard) parity errors */ 866 /* mark parity and framing errors */ 868 /* enable checking of parity errors */ 928 is set, a byte with a framing or parity error (other than 935 is not set, a byte with a framing or parity 959 is set, a framing or parity error (other than 965 is set, input parity checking is enabled. 969 input parity checking is disabled, allowing output parity generation 970 without input parity errors. 971 Note that whether input parity checking is [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_raidz_math_impl.h | 40 * used parity columns for reconstruction. 341 * PARITY CALCULATION 343 * Macros *_SYNDROME are used for parity/syndrome calculation. 346 * the parity/syndrome if data column is shorter. 348 * P parity is calculated using raidz_add_abd(). 355 * Generate P parity (RAIDZ1) 393 * Generate PQ parity (RAIDZ2) 396 * @c array of pointers to parity (code) columns 398 * @csize size of parity columns 428 * Generate PQ parity (RAIDZ2) [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
H A D | redundancy_draid_spare1.ksh | 62 parity=$(random_int_between 1 3) 63 spares=$(random_int_between $parity 3) 66 (( min_children = (data + parity + spares) )) 69 draid="draid${parity}:${data}d:${children}c:${spares}s" 76 spare_vdev="draid${parity}-0-${i}"
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | vdev_raidz_impl.h | 54 * Parity generation methods indexes 82 * @raidz_gen_f Parity generation function 102 raidz_gen_f gen[RAIDZ_GEN_NUM]; /* Parity generate functions */ 132 int rr_missingparity; /* Count of missing parity devices */ 133 int rr_firstdatacol; /* First data column/parity count */ 135 int rr_nempty; /* empty sectors included in parity */ 199 * raidz_parity Returns parity of the RAIDZ block 217 * Macro defines an RAIDZ parity generation method 219 * @code parity the function produce 233 * @code parity the function produce
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/raidz/ |
H A D | raidz_expand_001_pos.ksh | 36 # 2. For each parity value [1..3] 41 # - verify resilver by replacing parity devices 43 # - verify scrub by zeroing parity devices 84 function test_resilver # <pool> <parity> <dir> 135 function test_scrub # <pool> <parity> <dir> 150 # zero out parity disks 164 # zero out parity count worth of data disks
|
/freebsd/sys/sys/ |
H A D | kerneldump.h | 104 uint32_t parity; member 115 * Parity calculation is endian insensitive. 120 uint32_t *up, parity; in kerneldump_parity() local 124 parity = 0; in kerneldump_parity() 126 parity ^= *up++; in kerneldump_parity() 127 return (parity); in kerneldump_parity()
|
/freebsd/lib/geom/raid3/ |
H A D | graid3.8 | 93 The last given component will contain parity data, whilst the others 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 123 When reading from a device in a complete state, also read data from the parity component 124 and verify the data by comparing XORed regular data with parity data. 225 Rebuild parity component:
|
/freebsd/sys/cddl/boot/zfs/ |
H A D | zfssubr.c | 404 uint64_t rm_missingparity; /* Count of missing parity devices */ 405 uint64_t rm_firstdatacol; /* First data column/parity count */ 675 * Generate RAID parity in the first virtual columns according to the number of 676 * parity columns available. 699 * equations defined by the coeffecients used to generate parity as well as 700 * the contents of the data and parity disks. This can be expressed with 701 * vectors for the original data (D) and the actual data (d) and parity (p) 713 * matrix defined by the coeffecients we chose for the various parity columns 730 * matrix and use the known data and parity values to reconstruct the unknown 733 * sized n by removing rows corresponding to unused parity from the bottom up [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | reg_addr.h | 110 … (0x1<<6) // Parity error response. 130 … (0x1<<24) // Master data parity error. 142 … (0x1<<31) // Detected parity error. 202 …it enables the write to the Master data parity error status bit. If this bit is cleared , the mast… 226 …parity error bit is set by a requester if the parity error enable bit is set in its command regist… 1518 … this bit when it detects internal uncorrectable internal errors such as parity and ECC failures. … 2488 …5 (0xffff<<0) // Local data parity mismatch status. 2505 … (0xffff<<0) // First retimer data parity mismatch status. 2526 … (0xffff<<0) // Second retimer data parity mismatch status. 3433 …parity of ordered sets for the selected type of the packets as follows: - LCRC. Bad TLP will be d… [all …]
|