Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | NFTLrecord |
Macros | |
#define | BLOCK_NIL 0xffff /* last block of a chain */ |
#define | BLOCK_FREE 0xfffe /* free block */ |
#define | BLOCK_NOTEXPLORED 0xfffd /* non explored block, only used during mounting */ |
#define | BLOCK_RESERVED 0xfffc /* bios block or bad block */ |
#define | NFTL_MAJOR 93 |
#define | MAX_NFTLS 16 |
#define | MAX_SECTORS_PER_UNIT 64 |
#define | NFTL_PARTN_BITS 4 |
Functions | |
int | NFTL_mount (struct NFTLrecord *s) |
int | NFTL_formatblock (struct NFTLrecord *s, int block) |
int | nftl_read_oob (struct mtd_info *mtd, loff_t offs, size_t len, size_t *retlen, uint8_t *buf) |
int | nftl_write_oob (struct mtd_info *mtd, loff_t offs, size_t len, size_t *retlen, uint8_t *buf) |
#define BLOCK_NOTEXPLORED 0xfffd /* non explored block, only used during mounting */ |
int NFTL_formatblock | ( | struct NFTLrecord * | s, |
int | block | ||
) |
Definition at line 303 of file nftlmount.c.
int NFTL_mount | ( | struct NFTLrecord * | s | ) |
Definition at line 565 of file nftlmount.c.
int nftl_read_oob | ( | struct mtd_info * | mtd, |
loff_t | offs, | ||
size_t | len, | ||
size_t * | retlen, | ||
uint8_t * | buf | ||
) |
Definition at line 136 of file nftlcore.c.