Lines Matching refs:loff_t
82 static int nand_update_bbt(struct mtd_info *mtd, loff_t offs);
180 loff_t from; in read_bbt()
188 from = ((loff_t)page) << this->page_shift; in read_bbt()
226 (loff_t)(offs + act) << in read_bbt()
238 (loff_t)(offs + act) << in read_bbt()
293 static int scan_read_data(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_data()
317 static int scan_read_oob(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_oob()
347 static int scan_read(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read()
357 static int scan_write_bbt(struct mtd_info *mtd, loff_t offs, size_t len, in scan_write_bbt()
398 scan_read(mtd, buf, (loff_t)td->pages[0] << this->page_shift, in read_abs_bbts()
407 scan_read(mtd, buf, (loff_t)md->pages[0] << this->page_shift, in read_abs_bbts()
417 loff_t offs, uint8_t *buf, int numpages) in scan_block_fast()
463 loff_t from; in create_bbt()
485 from = (loff_t)startblock << this->bbt_erase_shift; in create_bbt()
563 loff_t offs = (loff_t)actblock << this->bbt_erase_shift; in search_bbt()
632 loff_t to; in write_bbt()
718 to = ((loff_t)page) << this->page_shift; in write_bbt()
723 to &= ~((loff_t)((1 << this->bbt_erase_shift) - 1)); in write_bbt()
991 nand_update_bbt(mtd, (loff_t)block << in mark_bbt_region()
1013 nand_update_bbt(mtd, (loff_t)(block - 1) << in mark_bbt_region()
1146 static int nand_update_bbt(struct mtd_info *mtd, loff_t offs) in nand_update_bbt()
1316 int nand_isreserved_bbt(struct mtd_info *mtd, loff_t offs) in nand_isreserved_bbt()
1331 int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) in nand_isbad_bbt()
1358 int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs) in nand_markbad_bbt()