Linux Kernel
3.7.1
|
#include <linux/hdreg.h>
#include <linux/init.h>
#include <linux/mtd/blktrans.h>
#include <linux/mtd/mtd.h>
#include <linux/vmalloc.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/module.h>
#include <asm/types.h>
Go to the source code of this file.
Data Structures | |
struct | block |
struct | partition |
Macros | |
#define | PREFIX "rfd_ftl: " |
#define | RFD_FTL_MAJOR 256 |
#define | PART_BITS 4 |
#define | RFD_MAGIC 0x9193 |
#define | HEADER_MAP_OFFSET 3 |
#define | SECTOR_DELETED 0x0000 |
#define | SECTOR_ZERO 0xfffe |
#define | SECTOR_FREE 0xffff |
#define | SECTOR_SIZE 512 |
#define | SECTORS_PER_TRACK 63 |
Functions | |
module_param (block_size, int, 0) | |
MODULE_PARM_DESC (block_size,"Block size to use by RFD, defaults to erase unit size") | |
module_init (init_rfd_ftl) | |
module_exit (cleanup_rfd_ftl) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Sean Young <[email protected]>") | |
MODULE_DESCRIPTION ("Support code for RFD Flash Translation Layer, ""used by General Software's Embedded BIOS") | |
MODULE_AUTHOR | ( | "Sean Young <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Support code for RFD Flash Translation | Layer, |
""used by General Software's Embedded BIOS" | |||
) |
module_exit | ( | cleanup_rfd_ftl | ) |
module_init | ( | init_rfd_ftl | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | block_size | , |
int | , | ||
0 | |||
) |
MODULE_PARM_DESC | ( | block_size | , |
"Block size to use by | RFD, | ||
defaults to erase unit size" | |||
) |