Lines Matching refs:loff_t
77 static int nand_update_bbt(struct mtd_info *mtd, loff_t offs);
175 loff_t from; in read_bbt()
183 from = ((loff_t)page) << this->page_shift; in read_bbt()
221 (loff_t)(offs + act) << in read_bbt()
233 (loff_t)(offs + act) << in read_bbt()
288 static int scan_read_data(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_data()
312 static int scan_read_oob(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_oob()
342 static int scan_read(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read()
352 static int scan_write_bbt(struct mtd_info *mtd, loff_t offs, size_t len, in scan_write_bbt()
393 scan_read(mtd, buf, (loff_t)td->pages[0] << this->page_shift, in read_abs_bbts()
402 scan_read(mtd, buf, (loff_t)md->pages[0] << this->page_shift, in read_abs_bbts()
412 loff_t offs, uint8_t *buf, int numpages) in scan_block_fast()
458 loff_t from; in create_bbt()
480 from = (loff_t)startblock << this->bbt_erase_shift; in create_bbt()
558 loff_t offs = (loff_t)actblock << this->bbt_erase_shift; in search_bbt()
627 loff_t to; in write_bbt()
713 to = ((loff_t)page) << this->page_shift; in write_bbt()
718 to &= ~(((loff_t)1 << this->bbt_erase_shift) - 1); in write_bbt()
986 nand_update_bbt(mtd, (loff_t)block << in mark_bbt_region()
1008 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()