hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/uapi/mtd/ubi-user.h
....@@ -171,6 +171,11 @@
171171 /* Re-name volumes */
172172 #define UBI_IOCRNVOL _IOW(UBI_IOC_MAGIC, 3, struct ubi_rnvol_req)
173173
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
+
174179 /* ioctl commands of the UBI control character device */
175180
176181 #define UBI_CTRL_IOC_MAGIC 'o'