Home
last modified time | relevance | path

Searched refs:ubi_volume (Results 1 – 12 of 12) sorted by relevance

/drivers/mtd/ubi/
Dubi.h338 struct ubi_volume { struct
387 struct ubi_volume *vol; argument
563 struct ubi_volume *volumes[UBI_MAX_VOLUMES+UBI_INT_VOL_COUNT];
848 int ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol);
849 void ubi_free_volume(struct ubi_device *ubi, struct ubi_volume *vol);
852 int ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol,
854 int ubi_more_update_data(struct ubi_device *ubi, struct ubi_volume *vol,
856 int ubi_start_leb_change(struct ubi_device *ubi, struct ubi_volume *vol,
858 int ubi_more_leb_change_data(struct ubi_device *ubi, struct ubi_volume *vol,
869 static inline bool ubi_leb_valid(struct ubi_volume *vol, int lnum) in ubi_leb_valid()
[all …]
Dkapi.c67 void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_do_get_volume_info()
119 struct ubi_volume *vol; in ubi_open_volume()
258 struct ubi_volume *vol = ubi->volumes[i]; in ubi_open_volume_nm()
327 struct ubi_volume *vol = desc->vol; in ubi_close_volume()
371 struct ubi_volume *vol = desc->vol; in leb_read_sanity_check()
425 struct ubi_volume *vol = desc->vol; in ubi_leb_read()
465 struct ubi_volume *vol = desc->vol; in ubi_leb_read_sg()
516 struct ubi_volume *vol = desc->vol; in ubi_leb_write()
561 struct ubi_volume *vol = desc->vol; in ubi_leb_change()
601 struct ubi_volume *vol = desc->vol; in ubi_leb_erase()
[all …]
Dupd.c41 static int set_update_marker(struct ubi_device *ubi, struct ubi_volume *vol) in set_update_marker()
74 static int clear_update_marker(struct ubi_device *ubi, struct ubi_volume *vol, in clear_update_marker()
114 int ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_start_update()
168 int ubi_start_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_start_leb_change()
219 static int write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in write_leb()
265 int ubi_more_update_data(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_more_update_data()
380 int ubi_more_leb_change_data(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_more_leb_change_data()
Deba.c107 void ubi_eba_get_ldesc(struct ubi_volume *vol, int lnum, in ubi_eba_get_ldesc()
123 struct ubi_eba_table *ubi_eba_create_table(struct ubi_volume *vol, in ubi_eba_create_table()
173 void ubi_eba_copy_table(struct ubi_volume *vol, struct ubi_eba_table *dst, in ubi_eba_copy_table()
194 void ubi_eba_replace_table(struct ubi_volume *vol, struct ubi_eba_table *tbl) in ubi_eba_replace_table()
435 bool ubi_eba_is_mapped(struct ubi_volume *vol, int lnum) in ubi_eba_is_mapped()
450 int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_unmap_leb()
497 static int check_mapping(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in check_mapping()
569 static int check_mapping(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in check_mapping()
595 int ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in ubi_eba_read_leb()
747 int ubi_eba_read_leb_sg(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_read_leb_sg()
[all …]
Dvmt.c58 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); in vol_attribute_show()
120 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); in vol_release()
141 struct ubi_volume *vol; in ubi_create_volume()
148 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in ubi_create_volume()
335 struct ubi_volume *vol = desc->vol; in ubi_remove_volume()
407 struct ubi_volume *vol = desc->vol; in ubi_resize_volume()
546 struct ubi_volume *vol = re->desc->vol; in ubi_rename_volumes()
570 int ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol) in ubi_add_volume()
614 void ubi_free_volume(struct ubi_device *ubi, struct ubi_volume *vol) in ubi_free_volume()
634 const struct ubi_volume *vol; in self_check_volume()
Dvtbl.c65 struct ubi_volume *layout_vol; in ubi_update_layout_vol()
128 struct ubi_volume *vol = re->desc->vol; in ubi_vtbl_rename_volumes()
526 struct ubi_volume *vol; in init_volumes()
534 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in init_volumes()
626 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in init_volumes()
674 static int check_av(const struct ubi_volume *vol, in check_av()
723 struct ubi_volume *vol; in check_attaching_info()
Dcdev.c47 struct ubi_volume *vol = desc->vol; in get_exclusive()
73 struct ubi_volume *vol = desc->vol; in revoke_exclusive()
120 struct ubi_volume *vol = desc->vol; in vol_cdev_release()
146 struct ubi_volume *vol = desc->vol; in vol_cdev_llseek()
175 struct ubi_volume *vol = desc->vol; in vol_cdev_read()
252 struct ubi_volume *vol = desc->vol; in vol_cdev_direct_write()
328 struct ubi_volume *vol = desc->vol; in vol_cdev_write()
383 struct ubi_volume *vol = desc->vol; in vol_cdev_ioctl()
Ddebug.h43 void ubi_dump_vol_info(const struct ubi_volume *vol);
Dmisc.c52 struct ubi_volume *vol = ubi->volumes[vol_id]; in ubi_check_volume()
Dfastmap.c1103 int ubi_fastmap_init_checkmap(struct ubi_volume *vol, int leb_count) in ubi_fastmap_init_checkmap()
1117 void ubi_fastmap_destroy_checkmap(struct ubi_volume *vol) in ubi_fastmap_destroy_checkmap()
1141 struct ubi_volume *vol; in ubi_write_fastmap()
Dbuild.c155 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify()
776 struct ubi_volume *vol = ubi->volumes[vol_id]; in autoresize()
Ddebug.c95 void ubi_dump_vol_info(const struct ubi_volume *vol) in ubi_dump_vol_info()