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()
187 ops.ooboffs = use_offset; in verify_eraseblock()
199 writebuf + (use_len_max * i) + use_offset, in verify_eraseblock()
213 if (use_offset != 0 || use_len < mtd->ecclayout->oobavail) { in verify_eraseblock()
231 bitflips = memcmpshow(addr, 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()
390 use_offset = 0; in mtd_oobtest_init()
456 use_offset = 0; in mtd_oobtest_init()
467 use_offset = 0; in mtd_oobtest_init()
476 use_offset = 0; in mtd_oobtest_init()