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()
325 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode) in ubi_open_volume_path()
346 void ubi_close_volume(struct ubi_volume_desc *desc) in ubi_close_volume()
389 static int leb_read_sanity_check(struct ubi_volume_desc *desc, int lnum, in leb_read_sanity_check()
443 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, in ubi_leb_read()
483 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl, in ubi_leb_read_sg()
534 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_write()
579 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_change()
620 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum) in ubi_leb_erase()
681 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum) in ubi_leb_unmap()
717 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum) in ubi_leb_map()
756 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum) in ubi_is_mapped()