Lines Matching refs:use_offset
51 static int use_offset; variable
61 use_offset += 1; in do_vary_offset()
62 if (use_offset >= use_len_max) in do_vary_offset()
63 use_offset = 0; in do_vary_offset()
64 use_len = use_len_max - use_offset; in do_vary_offset()
82 ops.ooboffs = use_offset; in write_eraseblock()
84 ops.oobbuf = writebuf + (use_len_max * i) + use_offset; in write_eraseblock()
90 use_len, use_offset); in write_eraseblock()
192 ops.ooboffs = use_offset; in verify_eraseblock()
207 writebuf + (use_len_max * i) + use_offset, in verify_eraseblock()
221 if (use_offset != 0 || use_len < mtd->oobavail) { in verify_eraseblock()
242 bitflips = memcmpshowoffset(addr, use_offset, in verify_eraseblock()
243 readbuf + use_offset, in verify_eraseblock()
244 writebuf + (use_len_max * i) + use_offset, in verify_eraseblock()
248 bitflips += memffshow(addr, 0, readbuf, use_offset); in verify_eraseblock()
251 k = use_offset + use_len; in verify_eraseblock()
405 use_offset = 0; in mtd_oobtest_init()
471 use_offset = 0; in mtd_oobtest_init()
482 use_offset = 0; in mtd_oobtest_init()
491 use_offset = 0; in mtd_oobtest_init()