Lines Matching refs:ubi_volume_desc
89 void ubi_get_volume_info(struct ubi_volume_desc *desc, in ubi_get_volume_info()
114 struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode) in ubi_open_volume()
117 struct ubi_volume_desc *desc; in ubi_open_volume()
142 desc = kmalloc(sizeof(struct ubi_volume_desc), GFP_KERNEL); in ubi_open_volume()
232 struct ubi_volume_desc *ubi_open_volume_nm(int ubi_num, const char *name, in ubi_open_volume_nm()
237 struct ubi_volume_desc *ret; in ubi_open_volume_nm()
289 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode) in ubi_open_volume_path()
325 void ubi_close_volume(struct ubi_volume_desc *desc) in ubi_close_volume()
368 static int leb_read_sanity_check(struct ubi_volume_desc *desc, int lnum, in leb_read_sanity_check()
422 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, in ubi_leb_read()
462 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl, in ubi_leb_read_sg()
513 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_write()
558 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_change()
599 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum) in ubi_leb_erase()
660 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum) in ubi_leb_unmap()
696 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum) in ubi_leb_map()
735 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum) in ubi_is_mapped()