Lines Matching refs:ubi_volume_desc
102 void ubi_get_volume_info(struct ubi_volume_desc *desc, in ubi_get_volume_info()
127 struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode) in ubi_open_volume()
130 struct ubi_volume_desc *desc; in ubi_open_volume()
155 desc = kmalloc(sizeof(struct ubi_volume_desc), GFP_KERNEL); in ubi_open_volume()
238 struct ubi_volume_desc *ubi_open_volume_nm(int ubi_num, const char *name, in ubi_open_volume_nm()
243 struct ubi_volume_desc *ret; in ubi_open_volume_nm()
295 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode) in ubi_open_volume_path()
328 void ubi_close_volume(struct ubi_volume_desc *desc) in ubi_close_volume()
384 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, in ubi_leb_read()
447 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_write()
492 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_change()
533 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum) in ubi_leb_erase()
594 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum) in ubi_leb_unmap()
630 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum) in ubi_leb_map()
669 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum) in ubi_is_mapped()