Lines Matching refs:ubi_attach_info
135 static int add_aeb(struct ubi_attach_info *ai, struct list_head *list, in add_aeb()
174 static struct ubi_ainf_volume *add_vol(struct ubi_attach_info *ai, int vol_id, in add_vol()
202 static void assign_aeb_to_av(struct ubi_attach_info *ai, in assign_aeb_to_av()
241 static int update_vol(struct ubi_device *ubi, struct ubi_attach_info *ai, in update_vol()
335 static int process_pool_aeb(struct ubi_device *ubi, struct ubi_attach_info *ai, in process_pool_aeb()
369 static void unmap_peb(struct ubi_attach_info *ai, int pnum) in unmap_peb()
399 static int scan_pool(struct ubi_device *ubi, struct ubi_attach_info *ai, in scan_pool()
518 static int count_fastmap_pebs(struct ubi_attach_info *ai) in count_fastmap_pebs()
548 struct ubi_attach_info *ai, in ubi_attach_fastmap()
814 static int find_fm_anchor(struct ubi_attach_info *ai) in find_fm_anchor()
830 static struct ubi_ainf_peb *clone_aeb(struct ubi_attach_info *ai, in clone_aeb()
859 int ubi_scan_fastmap(struct ubi_device *ubi, struct ubi_attach_info *ai, in ubi_scan_fastmap()
860 struct ubi_attach_info *scan_ai) in ubi_scan_fastmap()