Lines Matching refs:pnum
178 int pnum; member
648 int pnum; member
785 int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum,
868 int pnum, int torture);
870 int ubi_wl_scrub_peb(struct ubi_device *ubi, int pnum);
882 int ubi_io_read(const struct ubi_device *ubi, void *buf, int pnum, int offset,
884 int ubi_io_write(struct ubi_device *ubi, const void *buf, int pnum, int offset,
886 int ubi_io_sync_erase(struct ubi_device *ubi, int pnum, int torture);
887 int ubi_io_is_bad(const struct ubi_device *ubi, int pnum);
888 int ubi_io_mark_bad(const struct ubi_device *ubi, int pnum);
889 int ubi_io_read_ec_hdr(struct ubi_device *ubi, int pnum,
891 int ubi_io_write_ec_hdr(struct ubi_device *ubi, int pnum,
893 int ubi_io_read_vid_hdr(struct ubi_device *ubi, int pnum,
895 int ubi_io_write_vid_hdr(struct ubi_device *ubi, int pnum,
919 int pnum, const struct ubi_vid_hdr *vid_hdr);
1063 int pnum, int offset, int len) in ubi_io_read_data() argument
1066 return ubi_io_read(ubi, buf, pnum, offset + ubi->leb_start, len); in ubi_io_read_data()
1075 int pnum, int offset, int len) in ubi_io_write_data() argument
1078 return ubi_io_write(ubi, buf, pnum, offset + ubi->leb_start, len); in ubi_io_write_data()