Lines Matching defs:buf

98 static int check_pattern_no_oob(uint8_t *buf, struct nand_bbt_descr *td)  in check_pattern_no_oob()
115 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) in check_pattern()
136 static int check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) in check_short_pattern()
174 static int read_bbt(struct mtd_info *mtd, uint8_t *buf, int page, int num, in read_bbt()
267 static int read_abs_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, int chip) in read_abs_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()
358 uint8_t *buf, uint8_t *oob) in scan_write_bbt()
391 static void read_abs_bbts(struct mtd_info *mtd, uint8_t *buf, in read_abs_bbts()
417 loff_t offs, uint8_t *buf, int numpages) in scan_block_fast()
457 static int create_bbt(struct mtd_info *mtd, uint8_t *buf, in create_bbt()
527 static int search_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td) in search_bbt()
598 static void search_read_bbts(struct mtd_info *mtd, uint8_t *buf, in search_read_bbts()
620 static int write_bbt(struct mtd_info *mtd, uint8_t *buf, in write_bbt()
841 static int check_create(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *bd) in check_create()
1082 uint8_t *buf; in nand_scan_bbt() local
1151 uint8_t *buf; in nand_update_bbt() local