Skip to main content

Module sys

Module sys 

Expand description

ioctl interface of the MTD driver.

Structsยง

BadBlockQuery ๐Ÿ”’
MEMGETBADBLOCK, which returns the result of the check from the call.
EccStats ๐Ÿ”’
struct mtd_ecc_stats.
EraseInfo ๐Ÿ”’
struct erase_info_user64.
MtdInfo ๐Ÿ”’
struct mtd_info_user.

Constantsยง

ECCGETSTATS ๐Ÿ”’
MEMERASE64 ๐Ÿ”’
MEMGETBADBLOCK ๐Ÿ”’
MEMGETINFO ๐Ÿ”’
MEMSETBADBLOCK ๐Ÿ”’

Functionsยง

ecc_stats ๐Ÿ”’
Returns the ECC statistics of an MTD device.
erase ๐Ÿ”’
Erases length bytes starting at start.
is_bad_block ๐Ÿ”’
Checks whether the block at offset has 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 ๐Ÿ”’