Lines Matching defs:parity
33 * p = # parity bits
41 * power-of-two bits for parity, the data bit number and the code bit
42 * number are offset by all the parity bits beforehand.
48 * so it's a parity bit. 2 is a power of two (2^1), so it's a parity bit.
53 * number of parity bits added. This allows the function to start the
75 * would be _if_ it were bumped up by the parity bit. Capice?
94 * parity = ocfs2_hamming_encode(0, buf1, 512 * 8, 0);
95 * parity = ocfs2_hamming_encode(parity, buf2, 512 * 8, 512 * 8);
99 u32 ocfs2_hamming_encode(u32 parity, void *data, unsigned int d, unsigned int nr)
124 * parity bits that are part of the bit number
128 * In other words, the parity bit at position 2^k
138 parity ^= b;
143 return parity;
166 * If the bit to fix has an hweight of 1, it's a parity bit. One
167 * busted parity bit is its own error. Nothing to do here.
191 /* Skip past parity bits */