Lines Matching defs:ai
103 static struct ubi_ainf_volume *find_or_add_av(struct ubi_attach_info *ai, in find_or_add_av()
161 static struct ubi_ainf_volume *ubi_find_or_add_av(struct ubi_attach_info *ai, in ubi_find_or_add_av()
178 struct ubi_ainf_peb *ubi_alloc_aeb(struct ubi_attach_info *ai, int pnum, in ubi_alloc_aeb()
203 void ubi_free_aeb(struct ubi_attach_info *ai, struct ubi_ainf_peb *aeb) in ubi_free_aeb()
229 static int add_to_list(struct ubi_attach_info *ai, int pnum, int vol_id, in add_to_list()
268 static int add_corrupted(struct ubi_attach_info *ai, int pnum, int ec) in add_corrupted()
296 static int add_fastmap(struct ubi_attach_info *ai, int pnum, in add_fastmap()
396 static struct ubi_ainf_volume *add_volume(struct ubi_attach_info *ai, in add_volume()
563 int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, in ubi_add_to_av()
717 struct ubi_ainf_volume *ubi_add_av(struct ubi_attach_info *ai, int vol_id) in ubi_add_av()
732 struct ubi_ainf_volume *ubi_find_av(const struct ubi_attach_info *ai, in ubi_find_av()
749 void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av) in ubi_remove_av()
772 const struct ubi_attach_info *ai, int pnum, int ec) in early_erase_peb()
819 struct ubi_attach_info *ai) in ubi_early_get_peb()
941 static int scan_peb(struct ubi_device *ubi, struct ubi_attach_info *ai, in scan_peb()
1207 static int late_analysis(struct ubi_device *ubi, struct ubi_attach_info *ai) in late_analysis()
1277 static void destroy_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av, in destroy_av()
1311 static void destroy_ai(struct ubi_attach_info *ai) in destroy_ai()
1374 static int scan_all(struct ubi_device *ubi, struct ubi_attach_info *ai, in scan_all()
1452 struct ubi_attach_info *ai; in alloc_ai() local
1487 static int scan_fast(struct ubi_device *ubi, struct ubi_attach_info **ai) in scan_fast()
1558 struct ubi_attach_info *ai; in ubi_attach() local
1658 static int self_check_ai(struct ubi_device *ubi, struct ubi_attach_info *ai) in self_check_ai()