Searched refs:ecc (Results 1 – 12 of 12) sorted by relevance
/fs/ocfs2/ |
D | blockcheck.c | 395 u32 ecc; in ocfs2_block_check_compute() local 400 ecc = ocfs2_hamming_encode_block(data, blocksize); in ocfs2_block_check_compute() 406 BUG_ON(ecc > USHRT_MAX); in ocfs2_block_check_compute() 409 bc->bc_ecc = cpu_to_le16((u16)ecc); in ocfs2_block_check_compute() 426 u32 crc, ecc; in ocfs2_block_check_validate() local 446 ecc = ocfs2_hamming_encode_block(data, blocksize); in ocfs2_block_check_validate() 447 ocfs2_hamming_fix_block(data, blocksize, ecc ^ check.bc_ecc); in ocfs2_block_check_validate() 486 u32 crc, ecc; in ocfs2_block_check_compute_bhs() local 495 for (i = 0, crc = ~0, ecc = 0; i < nr; i++) { in ocfs2_block_check_compute_bhs() 502 ecc = (u16)ocfs2_hamming_encode(ecc, bhs[i]->b_data, in ocfs2_block_check_compute_bhs() [all …]
|
/fs/yaffs2/ |
D | yaffs_tagscompat.c | 31 unsigned ecc = 0; in yaffs_calc_tags_ecc() local 34 tags->ecc = 0; in yaffs_calc_tags_ecc() 40 ecc ^= bit; in yaffs_calc_tags_ecc() 43 tags->ecc = ecc; in yaffs_calc_tags_ecc() 48 unsigned ecc = tags->ecc; in yaffs_check_tags_ecc() local 52 ecc ^= tags->ecc; in yaffs_check_tags_ecc() 54 if (ecc && ecc <= 64) { in yaffs_check_tags_ecc() 58 ecc--; in yaffs_check_tags_ecc() 60 b[ecc / 8] ^= (1 << (ecc & 7)); in yaffs_check_tags_ecc() 66 } else if (ecc) { in yaffs_check_tags_ecc()
|
D | yaffs_packedtags2.c | 119 &pt->ecc); in yaffs_pack_tags2() 168 struct yaffs_ecc_other ecc; in yaffs_unpack_tags2() local 172 &ecc); in yaffs_unpack_tags2() 176 &pt->ecc, &ecc); in yaffs_unpack_tags2()
|
D | yaffs_ecc.c | 72 void yaffs_ecc_calc(const unsigned char *data, unsigned char *ecc) in yaffs_ecc_calc() argument 91 ecc[2] = (~col_parity) | 0x03; in yaffs_ecc_calc() 110 ecc[1] = ~t; in yaffs_ecc_calc() 129 ecc[0] = ~t; in yaffs_ecc_calc()
|
D | yaffs_ecc.h | 35 void yaffs_ecc_calc(const unsigned char *data, unsigned char *ecc); 40 struct yaffs_ecc_other *ecc);
|
D | yaffs_packedtags1.h | 28 unsigned ecc:12; member
|
D | Kconfig | 62 bool "Use the same ecc byte order as Steven Hill's nand_ecc.c" 66 This makes yaffs_ecc.c use the same ecc byte order as Steven 67 Hill's nand_ecc.c. If not set, then you get the same ecc byte
|
D | yaffs_packedtags2.h | 33 struct yaffs_ecc_other ecc; member
|
D | yaffs_packedtags1.c | 32 pt->ecc = 0; in yaffs_pack_tags1()
|
D | yaffs_guts.h | 151 unsigned ecc:12; member
|
/fs/ubifs/ |
D | scan.c | 160 sleb->ecc = 1; in ubifs_start_scan()
|
D | ubifs.h | 317 int ecc; member
|