#include <linux/crc32.h>
#include "ubi.h"
Go to the source code of this file.
ubi_calc_fm_size - calculates the fastmap size in bytes for an UBI device. : UBI device description object
Definition at line 23 of file fastmap.c.
ubi_scan_fastmap - scan the fastmap. : UBI device object : UBI attach info to be filled : The fastmap starts at this PEB
Returns 0 on success, UBI_NO_FASTMAP if no fastmap was found, UBI_BAD_FASTMAP if one was found but is not usable. < 0 indicates an internal error.
Definition at line 850 of file fastmap.c.
ubi_update_fastmap - will be called by UBI if a volume changes or a fastmap pool becomes full. : UBI device object
Returns 0 on success, < 0 indicates an internal error.
Definition at line 1376 of file fastmap.c.