Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/backing-dev.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/concat.h>
#include <asm/div64.h>
Go to the source code of this file.
Data Structures | |
struct | mtd_concat |
Macros | |
#define | SIZEOF_STRUCT_MTD_CONCAT(num_subdev) ((sizeof(struct mtd_concat) + (num_subdev) * sizeof(struct mtd_info *))) |
#define | CONCAT(x) ((struct mtd_concat *)(x)) |
Functions | |
struct mtd_info * | mtd_concat_create (struct mtd_info *subdev[], int num_devs, const char *name) |
void | mtd_concat_destroy (struct mtd_info *mtd) |
EXPORT_SYMBOL (mtd_concat_create) | |
EXPORT_SYMBOL (mtd_concat_destroy) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Robert Kaiser <[email protected]>") | |
MODULE_DESCRIPTION ("Generic support for concatenating of MTD devices") | |
#define CONCAT | ( | x | ) | ((struct mtd_concat *)(x)) |
Definition at line 60 of file mtdconcat.c.
#define SIZEOF_STRUCT_MTD_CONCAT | ( | num_subdev | ) | ((sizeof(struct mtd_concat) + (num_subdev) * sizeof(struct mtd_info *))) |
Definition at line 53 of file mtdconcat.c.
EXPORT_SYMBOL | ( | mtd_concat_create | ) |
EXPORT_SYMBOL | ( | mtd_concat_destroy | ) |
MODULE_AUTHOR | ( | "Robert Kaiser <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
|
read |
Definition at line 677 of file mtdconcat.c.
Definition at line 938 of file mtdconcat.c.