Home
last modified time | relevance | path

Searched refs:ubi_attach_info (Results 1 – 6 of 6) sorted by relevance

/drivers/mtd/ubi/
Dubi.h684 struct ubi_attach_info { struct
744 int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum,
746 struct ubi_ainf_volume *ubi_find_av(const struct ubi_attach_info *ai,
748 void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av);
750 struct ubi_attach_info *ai);
752 void ubi_destroy_ai(struct ubi_attach_info *ai);
759 int ubi_read_volume_table(struct ubi_device *ubi, struct ubi_attach_info *ai);
800 int ubi_eba_init(struct ubi_device *ubi, struct ubi_attach_info *ai);
802 int self_check_eba(struct ubi_device *ubi, struct ubi_attach_info *ai_fastmap,
803 struct ubi_attach_info *ai_scan);
[all …]
Dattach.c92 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()
[all …]
Dvtbl.c300 static int create_vtbl(struct ubi_device *ubi, struct ubi_attach_info *ai, in create_vtbl()
374 struct ubi_attach_info *ai, in process_lvol()
497 struct ubi_attach_info *ai) in create_empty_lvol()
533 const struct ubi_attach_info *ai, in init_volumes()
714 struct ubi_attach_info *ai) in check_attaching_info()
777 int ubi_read_volume_table(struct ubi_device *ubi, struct ubi_attach_info *ai) in ubi_read_volume_table()
Dfastmap.c76 static int add_aeb(struct ubi_attach_info *ai, struct list_head *list, in add_aeb()
117 static struct ubi_ainf_volume *add_vol(struct ubi_attach_info *ai, int vol_id, in add_vol()
163 static void assign_aeb_to_av(struct ubi_attach_info *ai, in assign_aeb_to_av()
203 static int update_vol(struct ubi_device *ubi, struct ubi_attach_info *ai, in update_vol()
299 static int process_pool_aeb(struct ubi_device *ubi, struct ubi_attach_info *ai, in process_pool_aeb()
349 static void unmap_peb(struct ubi_attach_info *ai, int pnum) in unmap_peb()
383 static int scan_pool(struct ubi_device *ubi, struct ubi_attach_info *ai, in scan_pool()
504 static int count_fastmap_pebs(struct ubi_attach_info *ai) in count_fastmap_pebs()
534 struct ubi_attach_info *ai, in ubi_attach_fastmap()
848 int ubi_scan_fastmap(struct ubi_device *ubi, struct ubi_attach_info *ai, in ubi_scan_fastmap()
Deba.c1194 struct ubi_attach_info *ai) in print_rsvd_warning()
1226 int self_check_eba(struct ubi_device *ubi, struct ubi_attach_info *ai_fastmap, in self_check_eba()
1227 struct ubi_attach_info *ai_scan) in self_check_eba()
1320 int ubi_eba_init(struct ubi_device *ubi, struct ubi_attach_info *ai) in ubi_eba_init()
Dwl.c1867 int ubi_wl_init(struct ubi_device *ubi, struct ubi_attach_info *ai)