Lines Matching refs:bitflips
122 size_t bitflips = 0; in memcmpshowoffset() local
130 bitflips += hweight8(res); in memcmpshowoffset()
134 return bitflips; in memcmpshowoffset()
150 size_t bitflips = 0; in memffshow() local
158 bitflips += hweight8(res); in memffshow()
162 return bitflips; in memffshow()
171 size_t bitflips; in verify_eraseblock() local
194 bitflips = memcmpshow(addr, readbuf, in verify_eraseblock()
197 if (bitflips > bitflip_limit) { in verify_eraseblock()
205 } else if (bitflips) { in verify_eraseblock()
230 bitflips = memcmpshowoffset(addr, use_offset, in verify_eraseblock()
236 bitflips += memffshow(addr, 0, readbuf, use_offset); in verify_eraseblock()
240 bitflips += memffshow(addr, k, readbuf + k, in verify_eraseblock()
243 if (bitflips > bitflip_limit) { in verify_eraseblock()
251 } else if (bitflips) { in verify_eraseblock()
268 size_t bitflips; in verify_eraseblock_in_one_go() local
295 bitflips = memcmpshow(addr, readbuf + (i * oobavail), in verify_eraseblock_in_one_go()
297 if (bitflips > bitflip_limit) { in verify_eraseblock_in_one_go()
305 } else if (bitflips) { in verify_eraseblock_in_one_go()