Skip to main content

Module peb

Module peb 

Constants§

EUCLEAN 🔒 Android or Linux
Reports a scheduled scrub. Only Linux defines it.
UBI_IOCRPEB
Opcode of ubi_rpeb.
UBI_IOCSPEB
Opcode of ubi_speb.

Functions§

ubi_rpeb
UBI_IOCRPEB: reads physical eraseblock pnum of the UBI device of the file, /dev/ubi<n>, and scrubs it if it has bit flips.
ubi_speb
UBI_IOCSPEB: scrubs physical eraseblock pnum of the UBI device of the file, /dev/ubi<n>.