Skip to main content

Module sysfs_dir

Module sysfs_dir 

Structsยง

SysfsDir ๐Ÿ”’
Open directory of a UBI device or volume in sysfs, such as /sys/class/ubi/ubi0.

Constantsยง

MAX_ENTRY_LEN ๐Ÿ”’
Longest entry name in the sysfs class directory, ubi<u32>_<u32>.
NAME_LEN ๐Ÿ”’
Buffer length for a volume name and its line break. The extra byte tells a name that is too long from one that fits.
VALUE_LEN ๐Ÿ”’
Buffer length for numbers, flags, dev and type. A u64 has at most 20 digits, plus the line break.