Lines Matching refs:writesize
203 from & ~mtd->writesize); in read_bbt()
207 from & ~mtd->writesize); in read_bbt()
327 ops.len = min(len, (size_t)mtd->writesize); in scan_read_oob()
338 buf += mtd->oobsize + mtd->writesize; in scan_read_oob()
339 len -= mtd->writesize; in scan_read_oob()
340 offs += mtd->writesize; in scan_read_oob()
375 ver_offs += mtd->writesize; in bbt_get_ver_offs()
397 mtd->writesize, td); in read_abs_bbts()
406 mtd->writesize, md); in read_abs_bbts()
439 offs += mtd->writesize; in scan_block_fast()
487 from += mtd->erasesize - (mtd->writesize * numpages); in create_bbt()
530 int scanlen = mtd->writesize + mtd->oobsize; in search_bbt()
564 scan_read(mtd, buf, offs, mtd->writesize, td); in search_bbt()
565 if (!check_pattern(buf, scanlen, mtd->writesize, td)) { in search_bbt()
734 res = mtd_read_oob(mtd, to + mtd->writesize, &ops); in write_bbt()
755 len = ALIGN(len, mtd->writesize); in write_bbt()
764 len = ALIGN(len, mtd->writesize); in write_bbt()