Lines Matching defs:buf

95 static int check_pattern_no_oob(uint8_t *buf, struct nand_bbt_descr *td)  in check_pattern_no_oob()
112 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) in check_pattern()
133 static int check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) in check_short_pattern()
171 static int read_bbt(struct mtd_info *mtd, uint8_t *buf, int page, int num, in read_bbt()
264 static int read_abs_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, int chip) in read_abs_bbt()
290 static int scan_read_data(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_data()
314 static int scan_read_oob(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_oob()
344 static int scan_read(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read()
355 uint8_t *buf, uint8_t *oob) in scan_write_bbt()
388 static void read_abs_bbts(struct mtd_info *mtd, uint8_t *buf, in read_abs_bbts()
414 loff_t offs, uint8_t *buf, int numpages) in scan_block_fast()
454 static int create_bbt(struct mtd_info *mtd, uint8_t *buf, in create_bbt()
524 static int search_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td) in search_bbt()
595 static void search_read_bbts(struct mtd_info *mtd, uint8_t *buf, in search_read_bbts()
617 static int write_bbt(struct mtd_info *mtd, uint8_t *buf, in write_bbt()
838 static int check_create(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *bd) in check_create()
1079 uint8_t *buf; in nand_scan_bbt() local
1153 uint8_t *buf; in nand_update_bbt() local