Lines Matching refs:lnum
237 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset,
239 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl,
241 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf,
243 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf,
245 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum);
246 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum);
247 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum);
248 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum);
250 int ubi_flush(int ubi_num, int vol_id, int lnum);
256 static inline int ubi_read(struct ubi_volume_desc *desc, int lnum, char *buf, in ubi_read() argument
259 return ubi_leb_read(desc, lnum, buf, offset, len, 0); in ubi_read()
266 static inline int ubi_read_sg(struct ubi_volume_desc *desc, int lnum, in ubi_read_sg() argument
269 return ubi_leb_read_sg(desc, lnum, sgl, offset, len, 0); in ubi_read_sg()