Lines Matching refs:readbuf
32 static unsigned char *readbuf;
182 ops.oobbuf = readbuf;
194 bitflips = memcmpshow(addr, readbuf,
219 ops.oobbuf = readbuf;
231 readbuf + use_offset,
236 bitflips += memffshow(addr, 0, readbuf, use_offset);
240 bitflips += memffshow(addr, k, readbuf + k,
279 ops.oobbuf = readbuf;
295 bitflips = memcmpshow(addr, readbuf + (i * oobavail),
379 readbuf = kmalloc(mtd->erasesize, GFP_KERNEL);
380 if (!readbuf)
522 ops.oobbuf = readbuf;
567 ops.oobbuf = readbuf;
612 ops.oobbuf = readbuf;
685 ops.oobbuf = readbuf;
692 if (memcmpshow(addr, readbuf, writebuf,
716 kfree(readbuf);