Home
last modified time | relevance | path

Searched refs:bitflips (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/drivers/mtd/tests/
Doobtest.c133 size_t bitflips = 0; in memcmpshow() local
140 bitflips += hweight8(res); in memcmpshow()
144 return bitflips; in memcmpshow()
157 size_t bitflips = 0; in memffshow() local
165 bitflips += hweight8(res); in memffshow()
169 return bitflips; in memffshow()
178 size_t bitflips; in verify_eraseblock() local
198 bitflips = memcmpshow(addr, readbuf, in verify_eraseblock()
201 if (bitflips > bitflip_limit) { in verify_eraseblock()
209 } else if (bitflips) { in verify_eraseblock()
[all …]
/linux-4.1.27/drivers/mtd/ubi/
Dattach.c327 int len, err, second_is_newer, bitflips = 0, corrupted = 0; in ubi_compare_lebs() local
369 return bitflips << 1; in ubi_compare_lebs()
380 bitflips = 1; in ubi_compare_lebs()
409 bitflips = 0; in ubi_compare_lebs()
413 bitflips |= !!err; in ubi_compare_lebs()
424 return second_is_newer | (bitflips << 1) | (corrupted << 2); in ubi_compare_lebs()
450 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips) in ubi_add_to_av() argument
463 pnum, vol_id, lnum, ec, sqnum, bitflips); in ubi_add_to_av()
546 aeb->scrub = ((cmp_res & 2) || bitflips); in ubi_add_to_av()
582 aeb->scrub = bitflips; in ubi_add_to_av()
[all …]
Dubi.h786 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips);
/linux-4.1.27/drivers/mtd/nand/
Dnandsim.c104 static unsigned int bitflips = 0; variable
136 module_param(bitflips, uint, 0400);
166 MODULE_PARM_DESC(bitflips, "Maximum number of random bit flips per page (zero by default)");
1451 if (bitflips && prandom_u32() < (1 << 22)) { in do_bit_flips()
1453 if (bitflips > 1) in do_bit_flips()
1454 flips = (prandom_u32() % (int) bitflips) + 1; in do_bit_flips()
Ddenali.c950 unsigned int bitflips = 0; in handle_ecc() local
990 bitflips++; in handle_ecc()
1012 *max_bitflips = bitflips; in handle_ecc()
Datmel_nand.c928 int bitflips = 0; in atmel_nand_pmecc_read_page() local
947 bitflips = pmecc_correction(mtd, stat, buf, &oob[eccpos[0]]); in atmel_nand_pmecc_read_page()
948 if (bitflips < 0) in atmel_nand_pmecc_read_page()
953 return bitflips; in atmel_nand_pmecc_read_page()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-mtd167 bitflips occur. Note that if bitflip_threshold exceeds
/linux-4.1.27/Documentation/mtd/
Dnand_ecc.txt705 For correction not much gain could be obtained (as bitflips are rare). Then