Lines Matching refs:parity
25 For example, the function ec_encode_data() will generate a set of parity blocks
41 encode matrix, parameters k (source blocks) and m (total parity + source
50 describing the parity blocks are used for encode and the upper matrix is
52 matrix. Next the parity for all (m - k) blocks are calculated at once.
55 // Generate EC parity blocks from sources
61 Functions in the RAID section calculate and operate on XOR and P+Q parity found
63 finite-field arithmetic to find one or two parity bytes for each byte in N
65 corrected. For RAID5, a block of parity is calculated by the xor across the N
66 source arrays. Each parity byte is calculated from N sources by:
74 For RAID6, two parity bytes P and Q are calculated from the source array. P is
87 functions are used to generate and check parity.