Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
scm_blk.c File Reference
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/module.h>
#include <linux/blkdev.h>
#include <linux/genhd.h>
#include <linux/slab.h>
#include <linux/list.h>
#include <asm/eadm.h>
#include "scm_blk.h"

Go to the source code of this file.

Macros

#define KMSG_COMPONENT   "scm_block"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 

Functions

 module_param (nr_requests, uint, S_IRUGO)
 
 MODULE_PARM_DESC (nr_requests,"Number of parallel requests.")
 
 MODULE_DESCRIPTION ("Block driver for s390 storage class memory.")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("scm:scmdev*")
 
void scm_request_requeue (struct scm_request *scmrq)
 
void scm_request_finish (struct scm_request *scmrq)
 
void scm_blk_irq (struct scm_device *scmdev, void *data, int error)
 
int scm_blk_dev_setup (struct scm_blk_dev *bdev, struct scm_device *scmdev)
 
void scm_blk_dev_cleanup (struct scm_blk_dev *bdev)
 
 module_init (scm_blk_init)
 
 module_exit (scm_blk_cleanup)
 

Variables

debug_info_tscm_debug
 

Macro Definition Documentation

#define KMSG_COMPONENT   "scm_block"

Definition at line 8 of file scm_blk.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 9 of file scm_blk.c.

Function Documentation

MODULE_ALIAS ( "scm:scmdev*"  )
MODULE_DESCRIPTION ( "Block driver for s390 storage class memory."  )
module_exit ( scm_blk_cleanup  )
module_init ( scm_blk_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( nr_requests  ,
uint  ,
S_IRUGO   
)
MODULE_PARM_DESC ( nr_requests  ,
"Number of parallel requests."   
)
void scm_blk_dev_cleanup ( struct scm_blk_dev bdev)

Definition at line 391 of file scm_blk.c.

int scm_blk_dev_setup ( struct scm_blk_dev bdev,
struct scm_device scmdev 
)

Definition at line 321 of file scm_blk.c.

void scm_blk_irq ( struct scm_device scmdev,
void data,
int  error 
)

Definition at line 268 of file scm_blk.c.

void scm_request_finish ( struct scm_request scmrq)

Definition at line 202 of file scm_blk.c.

void scm_request_requeue ( struct scm_request scmrq)

Definition at line 192 of file scm_blk.c.

Variable Documentation

debug_info_t* scm_debug

Definition at line 21 of file scm_blk.c.