Searched refs:ubi_volume (Results 1 – 11 of 11) sorted by relevance
/linux-3.4.99/drivers/mtd/ubi/ |
D | ubi.h | 250 struct ubi_volume { struct 293 struct ubi_volume *vol; argument 402 struct ubi_volume *volumes[UBI_MAX_VOLUMES+UBI_INT_VOL_COUNT]; 502 int ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol); 503 void ubi_free_volume(struct ubi_device *ubi, struct ubi_volume *vol); 506 int ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol, 508 int ubi_more_update_data(struct ubi_device *ubi, struct ubi_volume *vol, 510 int ubi_start_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, 512 int ubi_more_leb_change_data(struct ubi_device *ubi, struct ubi_volume *vol, 523 int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, [all …]
|
D | kapi.c | 80 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() 264 struct ubi_volume *vol = ubi->volumes[i]; in ubi_open_volume_nm() 330 struct ubi_volume *vol = desc->vol; in ubi_close_volume() 387 struct ubi_volume *vol = desc->vol; in ubi_leb_read() 452 struct ubi_volume *vol = desc->vol; in ubi_leb_write() 502 struct ubi_volume *vol = desc->vol; in ubi_leb_change() 546 struct ubi_volume *vol = desc->vol; in ubi_leb_erase() 607 struct ubi_volume *vol = desc->vol; in ubi_leb_unmap() 644 struct ubi_volume *vol = desc->vol; in ubi_leb_map() [all …]
|
D | upd.c | 54 static int set_update_marker(struct ubi_device *ubi, struct ubi_volume *vol) in set_update_marker() 88 static int clear_update_marker(struct ubi_device *ubi, struct ubi_volume *vol, in clear_update_marker() 129 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() 234 static int write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in write_leb() 282 int ubi_more_update_data(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_more_update_data() 397 int ubi_more_leb_change_data(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_more_leb_change_data()
|
D | vmt.c | 75 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); in vol_attribute_show() 130 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); in vol_release() 148 static int volume_sysfs_init(struct ubi_device *ubi, struct ubi_volume *vol) in volume_sysfs_init() 181 static void volume_sysfs_close(struct ubi_volume *vol) in volume_sysfs_close() 208 struct ubi_volume *vol; in ubi_create_volume() 215 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in ubi_create_volume() 410 struct ubi_volume *vol = desc->vol; in ubi_remove_volume() 490 struct ubi_volume *vol = desc->vol; in ubi_resize_volume() 631 struct ubi_volume *vol = re->desc->vol; in ubi_rename_volumes() 655 int ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol) in ubi_add_volume() [all …]
|
D | vtbl.c | 90 struct ubi_volume *layout_vol; in ubi_change_vtbl_record() 132 struct ubi_volume *layout_vol; in ubi_vtbl_rename_volumes() 136 struct ubi_volume *vol = re->desc->vol; in ubi_vtbl_rename_volumes() 543 struct ubi_volume *vol; in init_volumes() 551 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in init_volumes() 630 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in init_volumes() 674 static int check_sv(const struct ubi_volume *vol, in check_sv() 723 struct ubi_volume *vol; in check_scanning_info()
|
D | cdev.c | 60 struct ubi_volume *vol = desc->vol; in get_exclusive() 86 struct ubi_volume *vol = desc->vol; in revoke_exclusive() 131 struct ubi_volume *vol = desc->vol; in vol_cdev_release() 157 struct ubi_volume *vol = desc->vol; in vol_cdev_llseek() 209 struct ubi_volume *vol = desc->vol; in vol_cdev_read() 286 struct ubi_volume *vol = desc->vol; in vol_cdev_direct_write() 363 struct ubi_volume *vol = desc->vol; in vol_cdev_write() 414 struct ubi_volume *vol = desc->vol; in vol_cdev_ioctl()
|
D | eba.c | 324 int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_unmap_leb() 370 int ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in ubi_eba_read_leb() 502 struct ubi_volume *vol = ubi->volumes[idx]; in recover_peb() 595 int ubi_eba_write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in ubi_eba_write_leb() 726 int ubi_eba_write_leb_st(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_write_leb_st() 841 int ubi_eba_atomic_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_atomic_leb_change() 989 struct ubi_volume *vol; in ubi_eba_copy_leb() 1223 struct ubi_volume *vol; in ubi_eba_init_scan()
|
D | debug.h | 63 void ubi_dbg_dump_vol_info(const struct ubi_volume *vol); 203 ubi_dbg_dump_vol_info(const struct ubi_volume *vol) { return; } in ubi_dbg_dump_vol_info()
|
D | misc.c | 65 struct ubi_volume *vol = ubi->volumes[vol_id]; in ubi_check_volume()
|
D | debug.c | 88 void ubi_dbg_dump_vol_info(const struct ubi_volume *vol) in ubi_dbg_dump_vol_info()
|
D | build.c | 145 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify() 816 struct ubi_volume *vol = ubi->volumes[vol_id]; in autoresize()
|