Home
last modified time | relevance | path

Searched full:parity (Results 1 – 25 of 519) sorted by relevance

12345678910>>...21

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dfault_limits.ksh37 # 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 100 R
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/dev/cxgbe/common/
H A Dt4_hw.c601 * that covers the requested address @addr. If @parity is not %NULL it
657 * that covers the requested address @addr. If @parity is not %NULL it
4913 { F_RNPP, "RXNP array parity error" }, in pcie_intr_handler()
4914 { F_RPCP, "RXPC array parity error" }, in pcie_intr_handler()
4915 { F_RCIP, "RXCIF array parity error" }, in pcie_intr_handler()
4916 { F_RCCP, "Rx completions control array parity error" }, in pcie_intr_handler()
4917 { F_RFTP, "RXFT array parity error" }, in pcie_intr_handler()
4930 { F_TPCP, "TXPC array parity error" }, in pcie_intr_handler()
4931 { F_TNPP, "TXNP array parity error" }, in pcie_intr_handler()
4932 { F_TFTP, "TXFT array parity error" }, in pcie_intr_handler()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/serial/
H A Dxlnx,opb-uartlite.yaml45 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 Dadf_c4xxx_inline.h444 /* 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 Dal_hal_udma_iofic.h150 /** 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/edk2/Include/Protocol/
H A DSerialIo.h38 /// Parity type that is computed or checked as each character is transmitted or received. If the
39 /// device does not support parity, the value is the default parity value.
106 Sets the baud rate, receive FIFO depth, transmit/receice time out, parity,
119 @param Parity The type of parity to use on this serial device. A Parity value of
120 DefaultParity will use the device's default parity value.
139 IN EFI_PARITY_TYPE Parity,
245 @param Parity
248 does not support parity the value is the default parity value.
266 UINT32 Parity; member
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy_draid_spare4.ksh65 parity=$(random_int_between 1 3)
66 spares=$(random_int_between 1 $parity)
69 (( min_children = (data + parity + spares) ))
73 off=$(random_int_between 0 $((children - parity - 1)))
77 draid="draid${parity}:${data}d:${children}c:${width}w:${spares}s"
91 spare_vdev="draid${parity}-0-${j}"
98 spare_vdev="draid${parity}-0-${j}"
108 # Fail remaining drives as long as parity permits.
110 faults_left=$parity
113 for (( ; failed < $parity; failed++ )); do
H A Dredundancy_draid_degraded1.ksh34 # and N faulted vdevs, where N=parity, ensure that when another leaf
41 # 2. For each parity value [1..3]
44 # - fault N=parity vdevs eliminating any redundancy
74 function test_sequential_resilver # <pool> <parity> <dir>
80 # Fault N=parity devices
85 # Parity is exhausted, faulting another device marks it degraded
H A Dredundancy_draid_spare1.ksh63 parity=$(random_int_between 1 3)
64 spares=$(random_int_between $parity 3)
67 (( min_children = (data + parity + spares) ))
70 draid="draid${parity}:${data}d:${children}c:${spares}s"
77 spare_vdev="draid${parity}-0-${i}"
/freebsd/sys/contrib/openzfs/man/man7/
H A Dzpoolconcepts.773 A distributed-parity layout, similar to RAID-5/6, with improved distribution of
74 parity, and which does not suffer from the RAID-5/6
76 .Pq in which data and parity become inconsistent after a power loss .
77 Data and parity is striped across all disks within a raidz group, though not
80 A raidz group can have single, double, or triple parity, meaning that the
85 vdev type specifies a single-parity raidz group; the
87 vdev type specifies a double-parity raidz group; and the
89 vdev type specifies a triple-parity raidz group.
96 .Em N No disks of size Em X No with Em P No parity disks can hold approximately
99 parity disks.
[all …]
/freebsd/crypto/heimdal/doc/doxyout/hcrypto/man/man3/
H A Dhcrypto_des.3140 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 Dcu.c45 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 Dtip.c161 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refreserv/
H A Drefreserv_raidz.ksh24 # raidz refreservation=auto accounts for extra parity and skip blocks
60 log_assert "raidz refreservation=auto accounts for extra parity and skip blocks"
73 for parity in 1 2 3; do
74 raid=raidz$parity
77 for ndisks in $((parity * 2)) $((parity * 2 + 1)); do
122 log_pass "raidz refreservation=auto accounts for extra parity and skip blocks"
/freebsd/libexec/getty/
H A Dgettytab17 # 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 DTerminal.cpp324 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/crypto/krb5/src/lib/crypto/builtin/des/
H A Df_parity.c3 * 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 Dck_barrier_dissemination.c83 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/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_draid_003_pos.ksh31 # 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/dev/aic7xxx/aicasm/
H A Daicasm_insformat.h52 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/share/man/man4/
H A Dtermios.4866 /* ignore (discard) parity errors */
868 /* mark parity and framing errors */
870 /* enable checking of parity errors */
930 is set, a byte with a framing or parity error (other than
937 is not set, a byte with a framing or parity
961 is set, a framing or parity error (other than
967 is set, input parity checking is enabled.
971 input parity checking is disabled, allowing output parity generation
972 without input parity errors.
973 Note that whether input parity checking is
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz_math_impl.h40 * 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/cmd/raidz_test/
H A Draidz_test.c212 cmp_code(raidz_test_opts_t *opts, const raidz_map_t *rm, const int parity) in cmp_code() argument
216 VERIFY(parity >= 1 && parity <= 3); in cmp_code()
221 for (i = 0; i < parity; i++) { in cmp_code()
318 init_raidz_golden_map(raidz_test_opts_t *opts, const int parity) in init_raidz_golden_map() argument
323 const size_t total_ncols = opts->rto_dcols + parity; in init_raidz_golden_map()
347 parity, opts->rto_expand_offset, 0, B_FALSE); in init_raidz_golden_map()
350 parity, opts->rto_expand_offset, 0, B_FALSE); in init_raidz_golden_map()
353 opts->rto_ashift, total_ncols, parity); in init_raidz_golden_map()
355 opts->rto_ashift, total_ncols, parity); in init_raidz_golden_map()
366 err |= cmp_code(opts, rm_test, parity); in init_raidz_golden_map()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/raidz/
H A Draidz_expand_001_pos.ksh36 # 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/contrib/openzfs/include/sys/
H A Dvdev_raidz_impl.h54 * Parity generation methods indexes
82 * @raidz_gen_f Parity generation function
102 raidz_gen_f gen[RAIDZ_GEN_NUM]; /* Parity generate functions */
134 int rr_missingparity; /* Count of missing parity devices */
135 int rr_firstdatacol; /* First data column/parity count */
137 int rr_nempty; /* empty sectors included in parity */
202 * raidz_parity Returns parity of the RAIDZ block
220 * Macro defines an RAIDZ parity generation method
222 * @code parity the function produce
236 * @code parity the function produce

12345678910>>...21