Module sys
Expand description
ioctl interface of the MTD driver.
Structsยง
- BadBlock
Query ๐ MEMGETBADBLOCK, which returns the result of the check from the call.- EccStats ๐
struct mtd_ecc_stats.- Erase
Info ๐ struct erase_info_user64.- MtdInfo ๐
struct mtd_info_user.
Constantsยง
- ECCGETSTATS ๐
- MEMERAS
E64 ๐ - MEMGETBADBLOCK ๐
- MEMGETINFO ๐
- MEMSETBADBLOCK ๐
Functionsยง
- ecc_
stats ๐ - Returns the ECC statistics of an MTD device.
- erase ๐
- Erases
lengthbytes starting atstart. - is_
bad_ ๐block - Checks whether the block at
offsethas a bad block marker. - mark_
bad_ ๐block - Writes a bad block marker to the block at
offset. - mtd_
info ๐ - Returns the geometry of an MTD device.
- to_loff ๐