Lines Matching refs:use_offset
39 static int use_offset; variable
49 use_offset += 1; in do_vary_offset()
50 if (use_offset >= use_len_max) in do_vary_offset()
51 use_offset = 0; in do_vary_offset()
52 use_len = use_len_max - use_offset; in do_vary_offset()
70 ops.ooboffs = use_offset; in write_eraseblock()
72 ops.oobbuf = writebuf + (use_len_max * i) + use_offset; in write_eraseblock()
78 use_len, use_offset); in write_eraseblock()
180 ops.ooboffs = use_offset; in verify_eraseblock()
195 writebuf + (use_len_max * i) + use_offset, in verify_eraseblock()
209 if (use_offset != 0 || use_len < mtd->oobavail) { in verify_eraseblock()
230 bitflips = memcmpshowoffset(addr, use_offset, in verify_eraseblock()
231 readbuf + use_offset, in verify_eraseblock()
232 writebuf + (use_len_max * i) + use_offset, in verify_eraseblock()
236 bitflips += memffshow(addr, 0, readbuf, use_offset); in verify_eraseblock()
239 k = use_offset + use_len; in verify_eraseblock()
393 use_offset = 0; in mtd_oobtest_init()
459 use_offset = 0; in mtd_oobtest_init()
470 use_offset = 0; in mtd_oobtest_init()
479 use_offset = 0; in mtd_oobtest_init()