Lines Matching refs:vol
387 struct ubi_volume *vol; member
852 int ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol);
853 void ubi_free_volume(struct ubi_device *ubi, struct ubi_volume *vol);
856 int ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol,
858 int ubi_more_update_data(struct ubi_device *ubi, struct ubi_volume *vol,
860 int ubi_start_leb_change(struct ubi_device *ubi, struct ubi_volume *vol,
862 int ubi_more_leb_change_data(struct ubi_device *ubi, struct ubi_volume *vol,
873 static inline bool ubi_leb_valid(struct ubi_volume *vol, int lnum) in ubi_leb_valid() argument
875 return lnum >= 0 && lnum < vol->reserved_pebs; in ubi_leb_valid()
879 struct ubi_eba_table *ubi_eba_create_table(struct ubi_volume *vol,
882 void ubi_eba_copy_table(struct ubi_volume *vol, struct ubi_eba_table *dst,
884 void ubi_eba_replace_table(struct ubi_volume *vol, struct ubi_eba_table *tbl);
885 void ubi_eba_get_ldesc(struct ubi_volume *vol, int lnum,
887 bool ubi_eba_is_mapped(struct ubi_volume *vol, int lnum);
888 int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol,
890 int ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum,
892 int ubi_eba_read_leb_sg(struct ubi_device *ubi, struct ubi_volume *vol,
895 int ubi_eba_write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum,
897 int ubi_eba_write_leb_st(struct ubi_device *ubi, struct ubi_volume *vol,
899 int ubi_eba_atomic_leb_change(struct ubi_device *ubi, struct ubi_volume *vol,
950 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol,
960 void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol,
972 int ubi_fastmap_init_checkmap(struct ubi_volume *vol, int leb_count);
973 void ubi_fastmap_destroy_checkmap(struct ubi_volume *vol);
976 static inline int ubi_fastmap_init_checkmap(struct ubi_volume *vol, int leb_count) { return 0; } in ubi_fastmap_init_checkmap() argument
977 static inline void ubi_fastmap_destroy_checkmap(struct ubi_volume *vol) {} in ubi_fastmap_destroy_checkmap() argument