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()
204 writebuf + (use_len_max * i) + use_offset, in verify_eraseblock()
218 if (use_offset != 0 || use_len < mtd->ecclayout->oobavail) { in verify_eraseblock()
236 bitflips = memcmpshowoffset(addr, use_offset, in verify_eraseblock()
237 readbuf + use_offset, in verify_eraseblock()
238 writebuf + (use_len_max * i) + use_offset, in verify_eraseblock()
242 bitflips += memffshow(addr, 0, readbuf, use_offset); in verify_eraseblock()
245 k = use_offset + use_len; in verify_eraseblock()
396 use_offset = 0; in mtd_oobtest_init()
462 use_offset = 0; in mtd_oobtest_init()
473 use_offset = 0; in mtd_oobtest_init()
482 use_offset = 0; in mtd_oobtest_init()