Searched refs:ubi_io_read (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/mtd/ubi/
H A Dio.c105 * ubi_io_read - read data from a physical eraseblock.
126 int ubi_io_read(const struct ubi_device *ubi, void *buf, int pnum, int offset, ubi_io_read() function
427 err = ubi_io_read(ubi, ubi->peb_buf, pnum, 0, ubi->peb_size); torture_peb()
446 err = ubi_io_read(ubi, ubi->peb_buf, pnum, 0, ubi->peb_size); torture_peb()
741 read_err = ubi_io_read(ubi, ec_hdr, pnum, 0, UBI_EC_HDR_SIZE); ubi_io_read_ec_hdr()
1021 read_err = ubi_io_read(ubi, p, pnum, ubi->vid_hdr_aloffset, ubi_io_read_vid_hdr()
1210 err = ubi_io_read(ubi, ec_hdr, pnum, 0, UBI_EC_HDR_SIZE); self_check_peb_ec_hdr()
1297 err = ubi_io_read(ubi, p, pnum, ubi->vid_hdr_aloffset, self_check_peb_vid_hdr()
H A Dubi.h866 int ubi_io_read(const struct ubi_device *ubi, void *buf, int pnum, int offset,
1042 * This function is equivalent to 'ubi_io_read()', but @offset is relative to
1050 return ubi_io_read(ubi, buf, pnum, offset + ubi->leb_start, len); ubi_io_read_data()
H A Dfastmap.c890 ret = ubi_io_read(ubi, fmsb, fm_anchor, ubi->leb_start, sizeof(*fmsb)); ubi_scan_fastmap()
1001 ret = ubi_io_read(ubi, ubi->fm_buf + (ubi->leb_size * i), pnum, ubi_scan_fastmap()
H A Dattach.c771 err = ubi_io_read(ubi, ubi->peb_buf, pnum, ubi->leb_start, check_corruption()

Completed in 188 milliseconds