Skip to main content

Module leb

Module leb 

Structs§

IsMappedQuery 🔒
UBI_IOCEBISMAP, which returns the result of the check from the call.
UbiMapReq
struct ubi_map_req: a logical eraseblock to map.

Constants§

UBI_IOCEBER
Opcode of ubi_eber.
UBI_IOCEBISMAP
Opcode of ubi_ebismap. The header declares it as a read, but the kernel reads the logical eraseblock number from userspace.
UBI_IOCEBMAP
Opcode of ubi_ebmap.
UBI_IOCEBUNMAP
Opcode of ubi_ebunmap.

Functions§

ubi_eber
UBI_IOCEBER: unmaps logical eraseblock lnum of the volume of the file, /dev/ubi<n>_<m>, and waits until its physical eraseblock is erased.
ubi_ebismap
UBI_IOCEBISMAP: returns whether logical eraseblock lnum of the volume of the file, /dev/ubi<n>_<m>, is mapped.
ubi_ebmap
UBI_IOCEBMAP: maps an unmapped logical eraseblock of the volume of the file, /dev/ubi<n>_<m>, to an erased physical eraseblock.
ubi_ebunmap
UBI_IOCEBUNMAP: unmaps logical eraseblock lnum of the volume of the file, /dev/ubi<n>_<m>.