Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mtd/ubi/
Dubi.h315 struct ubi_volume { struct
359 struct ubi_volume *vol; argument
536 struct ubi_volume *volumes[UBI_MAX_VOLUMES+UBI_INT_VOL_COUNT];
807 int ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol);
808 void ubi_free_volume(struct ubi_device *ubi, struct ubi_volume *vol);
811 int ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol,
813 int ubi_more_update_data(struct ubi_device *ubi, struct ubi_volume *vol,
815 int ubi_start_leb_change(struct ubi_device *ubi, struct ubi_volume *vol,
817 int ubi_more_leb_change_data(struct ubi_device *ubi, struct ubi_volume *vol,
829 int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol,
[all …]
Dkapi.c80 void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_do_get_volume_info()
132 struct ubi_volume *vol; in ubi_open_volume()
271 struct ubi_volume *vol = ubi->volumes[i]; in ubi_open_volume_nm()
337 struct ubi_volume *vol = desc->vol; in ubi_close_volume()
381 struct ubi_volume *vol = desc->vol; in leb_read_sanity_check()
435 struct ubi_volume *vol = desc->vol; in ubi_leb_read()
475 struct ubi_volume *vol = desc->vol; in ubi_leb_read_sg()
526 struct ubi_volume *vol = desc->vol; in ubi_leb_write()
571 struct ubi_volume *vol = desc->vol; in ubi_leb_change()
611 struct ubi_volume *vol = desc->vol; in ubi_leb_erase()
[all …]
Dupd.c54 static int set_update_marker(struct ubi_device *ubi, struct ubi_volume *vol) in set_update_marker()
87 static int clear_update_marker(struct ubi_device *ubi, struct ubi_volume *vol, in clear_update_marker()
127 int ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_start_update()
181 int ubi_start_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_start_leb_change()
232 static int write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in write_leb()
278 int ubi_more_update_data(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_more_update_data()
393 int ubi_more_leb_change_data(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_more_leb_change_data()
Dvmt.c71 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); in vol_attribute_show()
126 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); in vol_release()
144 static int volume_sysfs_init(struct ubi_device *ubi, struct ubi_volume *vol) in volume_sysfs_init()
177 static void volume_sysfs_close(struct ubi_volume *vol) in volume_sysfs_close()
204 struct ubi_volume *vol; in ubi_create_volume()
211 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in ubi_create_volume()
407 struct ubi_volume *vol = desc->vol; in ubi_remove_volume()
479 struct ubi_volume *vol = desc->vol; in ubi_resize_volume()
611 struct ubi_volume *vol = re->desc->vol; in ubi_rename_volumes()
635 int ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol) in ubi_add_volume()
[all …]
Dvtbl.c88 struct ubi_volume *layout_vol; in ubi_change_vtbl_record()
126 struct ubi_volume *layout_vol; in ubi_vtbl_rename_volumes()
130 struct ubi_volume *vol = re->desc->vol; in ubi_vtbl_rename_volumes()
533 struct ubi_volume *vol; in init_volumes()
541 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in init_volumes()
620 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in init_volumes()
665 static int check_av(const struct ubi_volume *vol, in check_av()
714 struct ubi_volume *vol; in check_attaching_info()
Deba.c324 int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_unmap_leb()
372 int ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in ubi_eba_read_leb()
515 int ubi_eba_read_leb_sg(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_read_leb_sg()
576 struct ubi_volume *vol = ubi->volumes[idx]; in recover_peb()
677 int ubi_eba_write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in ubi_eba_write_leb()
810 int ubi_eba_write_leb_st(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_write_leb_st()
927 int ubi_eba_atomic_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_atomic_leb_change()
1080 struct ubi_volume *vol; in ubi_eba_copy_leb()
1319 struct ubi_volume *vol; in self_check_eba()
1411 struct ubi_volume *vol; in ubi_eba_init()
Dcdev.c60 struct ubi_volume *vol = desc->vol; in get_exclusive()
86 struct ubi_volume *vol = desc->vol; in revoke_exclusive()
133 struct ubi_volume *vol = desc->vol; in vol_cdev_release()
159 struct ubi_volume *vol = desc->vol; in vol_cdev_llseek()
188 struct ubi_volume *vol = desc->vol; in vol_cdev_read()
265 struct ubi_volume *vol = desc->vol; in vol_cdev_direct_write()
341 struct ubi_volume *vol = desc->vol; in vol_cdev_write()
392 struct ubi_volume *vol = desc->vol; in vol_cdev_ioctl()
Dmisc.c65 struct ubi_volume *vol = ubi->volumes[vol_id]; in ubi_check_volume()
Ddebug.h56 void ubi_dump_vol_info(const struct ubi_volume *vol);
Ddebug.c107 void ubi_dump_vol_info(const struct ubi_volume *vol) in ubi_dump_vol_info()
Dbuild.c156 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify()
809 struct ubi_volume *vol = ubi->volumes[vol_id]; in autoresize()
Dfastmap.c1092 struct ubi_volume *vol; in ubi_write_fastmap()