Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mtd/ubi/
Dubi.h759 struct ubi_attach_info { struct
822 struct ubi_ainf_peb *ubi_alloc_aeb(struct ubi_attach_info *ai, int pnum,
824 void ubi_free_aeb(struct ubi_attach_info *ai, struct ubi_ainf_peb *aeb);
825 int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum,
827 struct ubi_ainf_volume *ubi_add_av(struct ubi_attach_info *ai, int vol_id);
828 struct ubi_ainf_volume *ubi_find_av(const struct ubi_attach_info *ai,
830 void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av);
832 struct ubi_attach_info *ai);
834 void ubi_destroy_ai(struct ubi_attach_info *ai);
841 int ubi_read_volume_table(struct ubi_device *ubi, struct ubi_attach_info *ai);
[all …]
Dattach.c79 static int self_check_ai(struct ubi_device *ubi, struct ubi_attach_info *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()
[all …]
Dvtbl.c285 static int create_vtbl(struct ubi_device *ubi, struct ubi_attach_info *ai, in create_vtbl()
362 struct ubi_attach_info *ai, in process_lvol()
485 struct ubi_attach_info *ai) in create_empty_lvol()
521 const struct ubi_attach_info *ai, in init_volumes()
719 struct ubi_attach_info *ai) in check_attaching_info()
783 int ubi_read_volume_table(struct ubi_device *ubi, struct ubi_attach_info *ai) in ubi_read_volume_table()
Dfastmap.c135 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()
[all …]
Deba.c1491 struct ubi_attach_info *ai) in print_rsvd_warning()
1523 int self_check_eba(struct ubi_device *ubi, struct ubi_attach_info *ai_fastmap, in self_check_eba()
1524 struct ubi_attach_info *ai_scan) in self_check_eba()
1619 int ubi_eba_init(struct ubi_device *ubi, struct ubi_attach_info *ai) in ubi_eba_init()
Dwl.c1780 int ubi_wl_init(struct ubi_device *ubi, struct ubi_attach_info *ai)