Home
last modified time | relevance | path

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

12345678910>>...20

/freebsd/sys/geom/vinum/
H A Dgeom_vinum_raid5.c65 wp->parity = NULL; in gv_raid5_start()
96 if (wp->parity != NULL) { in gv_raid5_start()
97 if (wp->parity->bio_cflags & GV_BIO_MALLOC) in gv_raid5_start()
98 g_free(wp->parity->bio_data); in gv_raid5_start()
99 gv_drive_done(wp->parity->bio_caller1); in gv_raid5_start()
100 g_destroy_bio(wp->parity); in gv_raid5_start()
179 struct gv_sd *parity, *s; in gv_raid5_check() local
191 parity = NULL; in gv_raid5_check()
195 parity = s; in gv_raid5_check()
201 /* Parity stripe not found. */ in gv_raid5_check()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dfault_limits.ksh36 # 4. Verify that less than parity count was faulted while replacing
40 PARITY=$((RANDOM%(2) + 2))
41 VDEV_CNT=$((4 + (2 * PARITY)))
56 log_note "creating $VDEV_CNT vdevs for parity $PARITY test"
64 log_must zpool create -f ${TESTPOOL} raidz${PARITY} ${disks[1..$((VDEV_CNT - 1))]}
69 log_must fill_fs $MNTPOINT $PARITY 200 32768 1000 Z
78 for disk in ${disks[0..$PARITY]}; do
86 for disk in ${disks[0..$PARITY]}; do
93 log_must test "$faults" -lt "$PARITY"
/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/openzfs/man/man7/
H A Dzpoolconcepts.771 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
74 .Pq in which data and parity become inconsistent after a power loss .
75 Data and parity is striped across all disks within a raidz group, though not
78 A raidz group can have single, double, or triple parity, meaning that the
83 vdev type specifies a single-parity raidz group; the
85 vdev type specifies a double-parity raidz group; and the
87 vdev type specifies a triple-parity raidz group.
94 .Em N No disks of size Em X No with Em P No parity disks can hold approximately
97 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/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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refreserv/
H A Drefreserv_raidz.ksh22 # raidz refreservation=auto accounts for extra parity and skip blocks
57 log_assert "raidz refreservation=auto accounts for extra parity and skip blocks"
89 for parity in 1 2 3; do
90 raid=raidz$parity
93 for ndisks in $((parity * 2)) $((parity * 2 + 1)); do
135 log_pass "raidz refreservation=auto accounts for extra parity and skip blocks"
/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/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/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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_draid_003_pos.ksh30 # Verify allowed striped widths (data+parity) and hot spares may be
56 parity=$(random_int_between 1 3)
60 (( min_children = (data + parity + spares) ))
63 draid="draid${parity}:${data}d:${children}c:${spares}s"
97 # Check invalid parity levels.
101 # Spares are limited: spares < children - (parity + data).
/freebsd/sbin/gvinum/
H A Dgvinum.865 Check the parity blocks of a RAID-5 plex.
66 The parity check will start at the
69 flag is specified, or otherwise at the location of the parity check pointer,
70 the first location at which plex's parity is incorrect.
72 plex must be up for a parity check.
154 Note that parity rebuilds and syncing
179 Rebuild the parity blocks of a RAID-5 plex.
180 The parity rebuild will start at
183 flag is specified, or otherwise at the location of the parity check pointer.
184 All subdisks in the plex must be up for a parity check.
[all …]
/freebsd/sys/contrib/openzfs/cmd/raidz_test/
H A Draidz_test.c210 cmp_code(raidz_test_opts_t *opts, const raidz_map_t *rm, const int parity) in cmp_code() argument
214 VERIFY(parity >= 1 && parity <= 3); in cmp_code()
219 for (i = 0; i < parity; i++) { in cmp_code()
303 init_raidz_golden_map(raidz_test_opts_t *opts, const int parity) in init_raidz_golden_map() argument
308 const size_t total_ncols = opts->rto_dcols + parity; in init_raidz_golden_map()
332 parity, opts->rto_expand_offset, 0, B_FALSE); in init_raidz_golden_map()
335 parity, opts->rto_expand_offset, 0, B_FALSE); in init_raidz_golden_map()
338 opts->rto_ashift, total_ncols, parity); in init_raidz_golden_map()
340 opts->rto_ashift, total_ncols, parity); in init_raidz_golden_map()
351 err |= cmp_code(opts, rm_test, parity); in init_raidz_golden_map()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy_draid_spare1.ksh61 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"
75 spare_vdev="draid${parity}-0-${i}"
/freebsd/share/man/man4/
H A Dtermios.4864 /* 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 Dvdev_raidz_math_impl.h39 * used parity columns for reconstruction.
340 * PARITY CALCULATION
342 * Macros *_SYNDROME are used for parity/syndrome calculation.
345 * the parity/syndrome if data column is shorter.
347 * P parity is calculated using raidz_add_abd().
354 * Generate P parity (RAIDZ1)
392 * Generate PQ parity (RAIDZ2)
395 * @c array of pointers to parity (code) columns
397 * @csize size of parity columns
427 * Generate PQ parity (RAIDZ2)
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/raidz/
H A Draidz_expand_001_pos.ksh35 # 2. For each parity value [1..3]
40 # - verify resilver by replacing parity devices
42 # - verify scrub by zeroing parity devices
83 function test_resilver # <pool> <parity> <dir>
134 function test_scrub # <pool> <parity> <dir>
149 # zero out parity disks
163 # zero out parity count worth of data disks
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_raidz_impl.h53 * Parity generation methods indexes
81 * @raidz_gen_f Parity generation function
101 raidz_gen_f gen[RAIDZ_GEN_NUM]; /* Parity generate functions */
131 int rr_missingparity; /* Count of missing parity devices */
132 int rr_firstdatacol; /* First data column/parity count */
134 int rr_nempty; /* empty sectors included in parity */
198 * raidz_parity Returns parity of the RAIDZ block
216 * Macro defines an RAIDZ parity generation method
218 * @code parity the function produce
232 * @code parity the function produce
/freebsd/lib/geom/raid3/
H A Dgraid3.893 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/sys/
H A Dkerneldump.h104 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/sys/cddl/boot/zfs/
H A Dzfssubr.c404 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 …]

12345678910>>...20