kernel/include/uapi/mtd/ubi-user.h
.. .. @@ -171,6 +171,11 @@ 171 171 /* Re-name volumes */ 172 172 #define UBI_IOCRNVOL _IOW(UBI_IOC_MAGIC, 3, struct ubi_rnvol_req) 173 173 174 +/* Read the specified PEB and scrub it if there are bitflips */175 +#define UBI_IOCRPEB _IOW(UBI_IOC_MAGIC, 4, __s32)176 +/* Force scrubbing on the specified PEB */177 +#define UBI_IOCSPEB _IOW(UBI_IOC_MAGIC, 5, __s32)178 +174 179 /* ioctl commands of the UBI control character device */ 175 180 176 181 #define UBI_CTRL_IOC_MAGIC 'o'