Lines Matching refs:ubi_attach_info
92 static int self_check_ai(struct ubi_device *ubi, struct ubi_attach_info *ai);
119 static int add_to_list(struct ubi_attach_info *ai, int pnum, int vol_id, in add_to_list()
160 static int add_corrupted(struct ubi_attach_info *ai, int pnum, int ec) in add_corrupted()
256 static struct ubi_ainf_volume *add_volume(struct ubi_attach_info *ai, in add_volume()
447 int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, in ubi_add_to_av()
603 struct ubi_ainf_volume *ubi_find_av(const struct ubi_attach_info *ai, in ubi_find_av()
629 void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av) in ubi_remove_av()
661 const struct ubi_attach_info *ai, int pnum, int ec) in early_erase_peb()
707 struct ubi_attach_info *ai) in ubi_early_get_peb()
816 static int scan_peb(struct ubi_device *ubi, struct ubi_attach_info *ai, in scan_peb()
1065 static int late_analysis(struct ubi_device *ubi, struct ubi_attach_info *ai) in late_analysis()
1134 static void destroy_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av) in destroy_av()
1164 static void destroy_ai(struct ubi_attach_info *ai) in destroy_ai()
1225 static int scan_all(struct ubi_device *ubi, struct ubi_attach_info *ai, in scan_all()
1313 static int scan_fast(struct ubi_device *ubi, struct ubi_attach_info *ai) in scan_fast()
1362 static struct ubi_attach_info *alloc_ai(const char *slab_name) in alloc_ai()
1364 struct ubi_attach_info *ai; in alloc_ai()
1366 ai = kzalloc(sizeof(struct ubi_attach_info), GFP_KERNEL); in alloc_ai()
1397 struct ubi_attach_info *ai; in ubi_attach()
1452 struct ubi_attach_info *scan_ai; in ubi_attach()
1493 static int self_check_ai(struct ubi_device *ubi, struct ubi_attach_info *ai) in self_check_ai()