Lines Matching refs:desc
231 void ubi_get_volume_info(struct ubi_volume_desc *desc,
254 void ubi_close_volume(struct ubi_volume_desc *desc);
255 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset,
257 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl,
259 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf,
261 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf,
263 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum);
264 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum);
265 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum);
266 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum);
274 static inline int ubi_read(struct ubi_volume_desc *desc, int lnum, char *buf, in ubi_read() argument
277 return ubi_leb_read(desc, lnum, buf, offset, len, 0); in ubi_read()
284 static inline int ubi_read_sg(struct ubi_volume_desc *desc, int lnum, in ubi_read_sg() argument
287 return ubi_leb_read_sg(desc, lnum, sgl, offset, len, 0); in ubi_read_sg()