Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tape_char.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/proc_fs.h>
#include <linux/mtio.h>
#include <linux/compat.h>
#include <asm/uaccess.h>
#include "tape.h"
#include "tape_std.h"
#include "tape_class.h"

Go to the source code of this file.

Macros

#define KMSG_COMPONENT   "tape"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 
#define TAPE_DBF_AREA   tape_core_dbf
 
#define TAPECHAR_MAJOR   0 /* get dynamic major */
 

Functions

int tapechar_setup_device (struct tape_device *device)
 
void tapechar_cleanup_device (struct tape_device *device)
 
int tapechar_init (void)
 
void tapechar_exit (void)
 

Macro Definition Documentation

#define KMSG_COMPONENT   "tape"

Definition at line 12 of file tape_char.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 13 of file tape_char.c.

#define TAPE_DBF_AREA   tape_core_dbf

Definition at line 23 of file tape_char.c.

#define TAPECHAR_MAJOR   0 /* get dynamic major */

Definition at line 29 of file tape_char.c.

Function Documentation

void tapechar_cleanup_device ( struct tape_device device)

Definition at line 88 of file tape_char.c.

void tapechar_exit ( void  )

Definition at line 495 of file tape_char.c.

int tapechar_init ( void  )

Definition at line 479 of file tape_char.c.

int tapechar_setup_device ( struct tape_device device)

Definition at line 63 of file tape_char.c.