Lines Matching defs:ubi
25 static size_t ubi_calc_fm_size(struct ubi_scan_info *ubi) in ubi_calc_fm_size()
40 static int ubi_io_read(struct ubi_scan_info *ubi, void *buf, int pnum, in ubi_io_read()
46 static int ubi_io_is_bad(struct ubi_scan_info *ubi, int peb) in ubi_io_is_bad()
98 static int vtbl_check(struct ubi_scan_info *ubi, in vtbl_check()
209 static int ubi_read_volume_table(struct ubi_scan_info *ubi, u32 pnum) in ubi_read_volume_table()
232 static int ubi_io_read_vid_hdr(struct ubi_scan_info *ubi, int pnum, in ubi_io_read_vid_hdr()
282 static int ubi_rescan_fm_vid_hdr(struct ubi_scan_info *ubi, in ubi_rescan_fm_vid_hdr()
307 static int ubi_add_peb_to_vol(struct ubi_scan_info *ubi, in ubi_add_peb_to_vol()
377 static int ubi_scan_vid_hdr(struct ubi_scan_info *ubi, struct ubi_vid_hdr *vh, in ubi_scan_vid_hdr()
418 static int assign_aeb_to_av(struct ubi_scan_info *ubi, u32 pnum, u32 lnum, in assign_aeb_to_av()
441 static int scan_pool(struct ubi_scan_info *ubi, __be32 *pebs, int pool_size) in scan_pool()
475 static int ubi_attach_fastmap(struct ubi_scan_info *ubi, in ubi_attach_fastmap()
685 static int ubi_scan_fastmap(struct ubi_scan_info *ubi, in ubi_scan_fastmap()
860 static void ipl_scan(struct ubi_scan_info *ubi) in ipl_scan()
911 static int ubi_load_block(struct ubi_scan_info *ubi, uint8_t *laddr, in ubi_load_block()
1039 static int ipl_load(struct ubi_scan_info *ubi, const u32 vol_id, uint8_t *laddr) in ipl_load()
1069 struct ubi_scan_info *ubi = info->ubi; in ubispl_load_volumes() local