Home
last modified time | relevance | path

Searched refs:parity (Results 1 – 3 of 3) sorted by relevance

/fs/ocfs2/
Dblockcheck.c97 u32 ocfs2_hamming_encode(u32 parity, void *data, unsigned int d, unsigned int nr) in ocfs2_hamming_encode() argument
136 parity ^= b; in ocfs2_hamming_encode()
141 return parity; in ocfs2_hamming_encode()
Dblockcheck.h75 u32 ocfs2_hamming_encode(u32 parity, void *data, unsigned int d,
/fs/btrfs/
Draid56.c2467 void *parity; in finish_parity_scrub() local
2488 parity = kmap_local_page(sector->page) + sector->pgoff; in finish_parity_scrub()
2489 if (memcmp(parity, pointers[rbio->scrubp], sectorsize) != 0) in finish_parity_scrub()
2490 memcpy(parity, pointers[rbio->scrubp], sectorsize); in finish_parity_scrub()
2494 kunmap_local(parity); in finish_parity_scrub()