Lines Matching refs:ubi_volume_desc
90 void ubi_get_volume_info(struct ubi_volume_desc *desc, in ubi_get_volume_info()
115 struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode) in ubi_open_volume()
118 struct ubi_volume_desc *desc; in ubi_open_volume()
143 desc = kmalloc(sizeof(struct ubi_volume_desc), GFP_KERNEL); in ubi_open_volume()
233 struct ubi_volume_desc *ubi_open_volume_nm(int ubi_num, const char *name, in ubi_open_volume_nm()
238 struct ubi_volume_desc *ret; in ubi_open_volume_nm()
290 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode) in ubi_open_volume_path()
326 void ubi_close_volume(struct ubi_volume_desc *desc) in ubi_close_volume()
369 static int leb_read_sanity_check(struct ubi_volume_desc *desc, int lnum, in leb_read_sanity_check()
423 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, in ubi_leb_read()
463 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl, in ubi_leb_read_sg()
514 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_write()
559 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_change()
600 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum) in ubi_leb_erase()
661 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum) in ubi_leb_unmap()
697 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum) in ubi_leb_map()
736 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum) in ubi_is_mapped()