|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/kernel.h>#include <linux/bio.h>#include <linux/bitops.h>#include <linux/blkdev.h>#include <linux/buffer_head.h>#include <linux/device.h>#include <linux/genhd.h>#include <linux/highmem.h>#include <linux/slab.h>#include <linux/lzo.h>#include <linux/string.h>#include <linux/vmalloc.h>#include "zram_drv.h"Go to the source code of this file.
Macros | |
| #define | KMSG_COMPONENT "zram" |
| #define | pr_fmt(fmt) KMSG_COMPONENT ": " fmt |
Functions | |
| void | __zram_reset_device (struct zram *zram) |
| void | zram_reset_device (struct zram *zram) |
| int | zram_init_device (struct zram *zram) |
| unsigned int | zram_get_num_devices (void) |
| module_param (num_devices, uint, 0) | |
| MODULE_PARM_DESC (num_devices,"Number of zram devices") | |
| module_init (zram_init) | |
| module_exit (zram_exit) | |
| MODULE_LICENSE ("Dual BSD/GPL") | |
| MODULE_AUTHOR ("Nitin Gupta <[email protected]>") | |
| MODULE_DESCRIPTION ("Compressed RAM Block Device") | |
Variables | |
| struct zram * | zram_devices |
| #define KMSG_COMPONENT "zram" |
Definition at line 15 of file zram_drv.c.
| #define pr_fmt | ( | fmt | ) | KMSG_COMPONENT ": " fmt |
Definition at line 16 of file zram_drv.c.
Definition at line 513 of file zram_drv.c.
| MODULE_AUTHOR | ( | "Nitin Gupta <[email protected]>" | ) |
| module_exit | ( | zram_exit | ) |
| module_init | ( | zram_init | ) |
| MODULE_LICENSE | ( | "Dual BSD/GPL" | ) |
| module_param | ( | num_devices | , |
| uint | , | ||
| 0 | |||
| ) |
| MODULE_PARM_DESC | ( | num_devices | , |
| "Number of zram devices" | |||
| ) |
Definition at line 712 of file zram_drv.c.
Definition at line 554 of file zram_drv.c.
Definition at line 547 of file zram_drv.c.
Definition at line 40 of file zram_drv.c.
1.8.2