Lines Matching refs:ubi_scan_info
22 static size_t ubi_calc_fm_size(struct ubi_scan_info *ubi) in ubi_calc_fm_size()
37 static int ubi_io_read(struct ubi_scan_info *ubi, void *buf, int pnum, in ubi_io_read()
43 static int ubi_io_is_bad(struct ubi_scan_info *ubi, int peb) in ubi_io_is_bad()
48 static int ubi_io_read_vid_hdr(struct ubi_scan_info *ubi, int pnum, in ubi_io_read_vid_hdr()
98 static int ubi_rescan_fm_vid_hdr(struct ubi_scan_info *ubi, in ubi_rescan_fm_vid_hdr()
123 static int ubi_add_peb_to_vol(struct ubi_scan_info *ubi, in ubi_add_peb_to_vol()
193 static int ubi_scan_vid_hdr(struct ubi_scan_info *ubi, struct ubi_vid_hdr *vh, in ubi_scan_vid_hdr()
225 static int assign_aeb_to_av(struct ubi_scan_info *ubi, u32 pnum, u32 lnum, in assign_aeb_to_av()
247 static int scan_pool(struct ubi_scan_info *ubi, __be32 *pebs, int pool_size) in scan_pool()
281 static int ubi_attach_fastmap(struct ubi_scan_info *ubi, in ubi_attach_fastmap()
491 static int ubi_scan_fastmap(struct ubi_scan_info *ubi, in ubi_scan_fastmap()
666 static void ipl_scan(struct ubi_scan_info *ubi) in ipl_scan()
717 static int ubi_load_block(struct ubi_scan_info *ubi, uint8_t *laddr, in ubi_load_block()
845 static int ipl_load(struct ubi_scan_info *ubi, const u32 vol_id, uint8_t *laddr) in ipl_load()
875 struct ubi_scan_info *ubi = info->ubi; in ubispl_load_volumes()
884 memset(ubi, 0, offsetof(struct ubi_scan_info, fm_buf)); in ubispl_load_volumes()