Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dasd_devmap.c File Reference
#include <linux/ctype.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <asm/debug.h>
#include <asm/uaccess.h>
#include <asm/ipl.h>
#include "dasd_int.h"

Go to the source code of this file.

Data Structures

struct  dasd_devmap
 

Macros

#define KMSG_COMPONENT   "dasd"
 
#define PRINTK_HEADER   "dasd_devmap:"
 
#define DASD_BUS_ID_SIZE   20
 
#define DASD_IPLDEV   "ipldev"
 
#define UID_STRLEN
 

Functions

 EXPORT_SYMBOL_GPL (dasd_page_cache)
 
 EXPORT_SYMBOL_GPL (dasd_nopav)
 
 EXPORT_SYMBOL_GPL (dasd_nofcx)
 
 module_param_array (dasd, charp, NULL, 0)
 
 __setup ("dasd=", dasd_call_setup)
 
int dasd_parse (void)
 
int dasd_busid_known (const char *bus_id)
 
struct dasd_devicedasd_device_from_devindex (int devindex)
 
struct dasd_devicedasd_create_device (struct ccw_device *cdev)
 
void dasd_delete_device (struct dasd_device *device)
 
void dasd_put_device_wake (struct dasd_device *device)
 
 EXPORT_SYMBOL_GPL (dasd_put_device_wake)
 
struct dasd_devicedasd_device_from_cdev_locked (struct ccw_device *cdev)
 
struct dasd_devicedasd_device_from_cdev (struct ccw_device *cdev)
 
void dasd_add_link_to_gendisk (struct gendisk *gdp, struct dasd_device *device)
 
struct dasd_devicedasd_device_from_gendisk (struct gendisk *gdp)
 
int dasd_get_feature (struct ccw_device *cdev, int feature)
 
int dasd_set_feature (struct ccw_device *cdev, int feature, int flag)
 
int dasd_add_sysfs_files (struct ccw_device *cdev)
 
void dasd_remove_sysfs_files (struct ccw_device *cdev)
 
int dasd_devmap_init (void)
 
void dasd_devmap_exit (void)
 

Variables

struct kmem_cachedasd_page_cache
 
struct dasd_devmap __attribute__
 
int dasd_probeonly = 0
 
int dasd_autodetect = 0
 
int dasd_nopav = 0
 
int dasd_nofcx
 
int dasd_max_devindex
 

Macro Definition Documentation

#define DASD_BUS_ID_SIZE   20

Definition at line 28 of file dasd_devmap.c.

#define DASD_IPLDEV   "ipldev"

Definition at line 125 of file dasd_devmap.c.

#define KMSG_COMPONENT   "dasd"

Definition at line 15 of file dasd_devmap.c.

#define PRINTK_HEADER   "dasd_devmap:"

Definition at line 27 of file dasd_devmap.c.

#define UID_STRLEN
Value:
( /* vendor */ 3 + 1 + /* serial */ 14 + 1 +\
/* SSID */ 4 + 1 + /* unit addr */ 2 + 1 +\
/* vduit */ 32 + 1)

Definition at line 1068 of file dasd_devmap.c.

Function Documentation

__setup ( )
void dasd_add_link_to_gendisk ( struct gendisk *  gdp,
struct dasd_device device 
)

Definition at line 676 of file dasd_devmap.c.

int dasd_add_sysfs_files ( struct ccw_device cdev)

Definition at line 1371 of file dasd_devmap.c.

int dasd_busid_known ( const char bus_id)

Definition at line 466 of file dasd_devmap.c.

struct dasd_device* dasd_create_device ( struct ccw_device cdev)
read

Definition at line 540 of file dasd_devmap.c.

void dasd_delete_device ( struct dasd_device device)

Definition at line 591 of file dasd_devmap.c.

struct dasd_device* dasd_device_from_cdev ( struct ccw_device cdev)
read

Definition at line 665 of file dasd_devmap.c.

struct dasd_device* dasd_device_from_cdev_locked ( struct ccw_device cdev)
read

Definition at line 651 of file dasd_devmap.c.

struct dasd_device* dasd_device_from_devindex ( int  devindex)
read

Definition at line 496 of file dasd_devmap.c.

struct dasd_device* dasd_device_from_gendisk ( struct gendisk *  gdp)
read

Definition at line 688 of file dasd_devmap.c.

void dasd_devmap_exit ( void  )

Definition at line 1396 of file dasd_devmap.c.

int dasd_devmap_init ( void  )

Definition at line 1384 of file dasd_devmap.c.

int dasd_get_feature ( struct ccw_device cdev,
int  feature 
)

Definition at line 1334 of file dasd_devmap.c.

int dasd_parse ( void  )

Definition at line 375 of file dasd_devmap.c.

void dasd_put_device_wake ( struct dasd_device device)

Definition at line 639 of file dasd_devmap.c.

void dasd_remove_sysfs_files ( struct ccw_device cdev)

Definition at line 1377 of file dasd_devmap.c.

int dasd_set_feature ( struct ccw_device cdev,
int  feature,
int  flag 
)

Definition at line 1350 of file dasd_devmap.c.

EXPORT_SYMBOL_GPL ( dasd_page_cache  )
EXPORT_SYMBOL_GPL ( dasd_nopav  )
EXPORT_SYMBOL_GPL ( dasd_nofcx  )
EXPORT_SYMBOL_GPL ( dasd_put_device_wake  )
module_param_array ( dasd  ,
charp  ,
NULL  ,
 
)

Variable Documentation

int dasd_autodetect = 0

Definition at line 68 of file dasd_devmap.c.

int dasd_max_devindex

Definition at line 91 of file dasd_devmap.c.

int dasd_nofcx

Definition at line 71 of file dasd_devmap.c.

int dasd_nopav = 0

Definition at line 69 of file dasd_devmap.c.

struct kmem_cache* dasd_page_cache

Definition at line 32 of file dasd_devmap.c.

int dasd_probeonly = 0

Definition at line 67 of file dasd_devmap.c.