Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tape_std.c File Reference
#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/bio.h>
#include <linux/timer.h>
#include <asm/types.h>
#include <asm/idals.h>
#include <asm/ebcdic.h>
#include <asm/tape390.h>
#include "tape.h"
#include "tape_std.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
 

Functions

int tape_std_assign (struct tape_device *device)
 
int tape_std_unassign (struct tape_device *device)
 
int tape_std_display (struct tape_device *device, struct display_struct *disp)
 
int tape_std_read_block_id (struct tape_device *device, __u64 *id)
 
int tape_std_terminate_write (struct tape_device *device)
 
int tape_std_mtload (struct tape_device *device, int count)
 
int tape_std_mtsetblk (struct tape_device *device, int count)
 
int tape_std_mtreset (struct tape_device *device, int count)
 
int tape_std_mtfsf (struct tape_device *device, int mt_count)
 
int tape_std_mtfsr (struct tape_device *device, int mt_count)
 
int tape_std_mtbsr (struct tape_device *device, int mt_count)
 
int tape_std_mtweof (struct tape_device *device, int mt_count)
 
int tape_std_mtbsfm (struct tape_device *device, int mt_count)
 
int tape_std_mtbsf (struct tape_device *device, int mt_count)
 
int tape_std_mtfsfm (struct tape_device *device, int mt_count)
 
int tape_std_mtrew (struct tape_device *device, int mt_count)
 
int tape_std_mtoffl (struct tape_device *device, int mt_count)
 
int tape_std_mtnop (struct tape_device *device, int mt_count)
 
int tape_std_mteom (struct tape_device *device, int mt_count)
 
int tape_std_mtreten (struct tape_device *device, int mt_count)
 
int tape_std_mterase (struct tape_device *device, int mt_count)
 
int tape_std_mtunload (struct tape_device *device, int mt_count)
 
int tape_std_mtcompression (struct tape_device *device, int mt_count)
 
struct tape_requesttape_std_read_block (struct tape_device *device, size_t count)
 
void tape_std_read_backward (struct tape_device *device, struct tape_request *request)
 
struct tape_requesttape_std_write_block (struct tape_device *device, size_t count)
 
void tape_std_process_eov (struct tape_device *device)
 
 EXPORT_SYMBOL (tape_std_assign)
 
 EXPORT_SYMBOL (tape_std_unassign)
 
 EXPORT_SYMBOL (tape_std_display)
 
 EXPORT_SYMBOL (tape_std_read_block_id)
 
 EXPORT_SYMBOL (tape_std_mtload)
 
 EXPORT_SYMBOL (tape_std_mtsetblk)
 
 EXPORT_SYMBOL (tape_std_mtreset)
 
 EXPORT_SYMBOL (tape_std_mtfsf)
 
 EXPORT_SYMBOL (tape_std_mtfsr)
 
 EXPORT_SYMBOL (tape_std_mtbsr)
 
 EXPORT_SYMBOL (tape_std_mtweof)
 
 EXPORT_SYMBOL (tape_std_mtbsfm)
 
 EXPORT_SYMBOL (tape_std_mtbsf)
 
 EXPORT_SYMBOL (tape_std_mtfsfm)
 
 EXPORT_SYMBOL (tape_std_mtrew)
 
 EXPORT_SYMBOL (tape_std_mtoffl)
 
 EXPORT_SYMBOL (tape_std_mtnop)
 
 EXPORT_SYMBOL (tape_std_mteom)
 
 EXPORT_SYMBOL (tape_std_mtreten)
 
 EXPORT_SYMBOL (tape_std_mterase)
 
 EXPORT_SYMBOL (tape_std_mtunload)
 
 EXPORT_SYMBOL (tape_std_mtcompression)
 
 EXPORT_SYMBOL (tape_std_read_block)
 
 EXPORT_SYMBOL (tape_std_read_backward)
 
 EXPORT_SYMBOL (tape_std_write_block)
 
 EXPORT_SYMBOL (tape_std_process_eov)
 

Macro Definition Documentation

#define KMSG_COMPONENT   "tape"

Definition at line 13 of file tape_std.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 14 of file tape_std.c.

#define TAPE_DBF_AREA   tape_core_dbf

Definition at line 26 of file tape_std.c.

Function Documentation

EXPORT_SYMBOL ( tape_std_assign  )
EXPORT_SYMBOL ( tape_std_unassign  )
EXPORT_SYMBOL ( tape_std_display  )
EXPORT_SYMBOL ( tape_std_read_block_id  )
EXPORT_SYMBOL ( tape_std_mtload  )
EXPORT_SYMBOL ( tape_std_mtsetblk  )
EXPORT_SYMBOL ( tape_std_mtreset  )
EXPORT_SYMBOL ( tape_std_mtfsf  )
EXPORT_SYMBOL ( tape_std_mtfsr  )
EXPORT_SYMBOL ( tape_std_mtbsr  )
EXPORT_SYMBOL ( tape_std_mtweof  )
EXPORT_SYMBOL ( tape_std_mtbsfm  )
EXPORT_SYMBOL ( tape_std_mtbsf  )
EXPORT_SYMBOL ( tape_std_mtfsfm  )
EXPORT_SYMBOL ( tape_std_mtrew  )
EXPORT_SYMBOL ( tape_std_mtoffl  )
EXPORT_SYMBOL ( tape_std_mtnop  )
EXPORT_SYMBOL ( tape_std_mteom  )
EXPORT_SYMBOL ( tape_std_mtreten  )
EXPORT_SYMBOL ( tape_std_mterase  )
EXPORT_SYMBOL ( tape_std_mtunload  )
EXPORT_SYMBOL ( tape_std_mtcompression  )
EXPORT_SYMBOL ( tape_std_read_block  )
EXPORT_SYMBOL ( tape_std_read_backward  )
EXPORT_SYMBOL ( tape_std_write_block  )
EXPORT_SYMBOL ( tape_std_process_eov  )
int tape_std_assign ( struct tape_device device)

Definition at line 54 of file tape_std.c.

int tape_std_display ( struct tape_device device,
struct display_struct disp 
)

Definition at line 129 of file tape_std.c.

int tape_std_mtbsf ( struct tape_device device,
int  mt_count 
)

Definition at line 407 of file tape_std.c.

int tape_std_mtbsfm ( struct tape_device device,
int  mt_count 
)

Definition at line 383 of file tape_std.c.

int tape_std_mtbsr ( struct tape_device device,
int  mt_count 
)

Definition at line 327 of file tape_std.c.

int tape_std_mtcompression ( struct tape_device device,
int  mt_count 
)

Definition at line 620 of file tape_std.c.

int tape_std_mteom ( struct tape_device device,
int  mt_count 
)

Definition at line 533 of file tape_std.c.

int tape_std_mterase ( struct tape_device device,
int  mt_count 
)

Definition at line 586 of file tape_std.c.

int tape_std_mtfsf ( struct tape_device device,
int  mt_count 
)

Definition at line 271 of file tape_std.c.

int tape_std_mtfsfm ( struct tape_device device,
int  mt_count 
)

Definition at line 438 of file tape_std.c.

int tape_std_mtfsr ( struct tape_device device,
int  mt_count 
)

Definition at line 295 of file tape_std.c.

int tape_std_mtload ( struct tape_device device,
int  count 
)

Definition at line 206 of file tape_std.c.

int tape_std_mtnop ( struct tape_device device,
int  mt_count 
)

Definition at line 512 of file tape_std.c.

int tape_std_mtoffl ( struct tape_device device,
int  mt_count 
)

Definition at line 491 of file tape_std.c.

int tape_std_mtreset ( struct tape_device device,
int  count 
)

Definition at line 259 of file tape_std.c.

int tape_std_mtreten ( struct tape_device device,
int  mt_count 
)

Definition at line 563 of file tape_std.c.

int tape_std_mtrew ( struct tape_device device,
int  mt_count 
)

Definition at line 468 of file tape_std.c.

int tape_std_mtsetblk ( struct tape_device device,
int  count 
)

Definition at line 216 of file tape_std.c.

int tape_std_mtunload ( struct tape_device device,
int  mt_count 
)

Definition at line 610 of file tape_std.c.

int tape_std_mtweof ( struct tape_device device,
int  mt_count 
)

Definition at line 358 of file tape_std.c.

void tape_std_process_eov ( struct tape_device device)

Definition at line 712 of file tape_std.c.

void tape_std_read_backward ( struct tape_device device,
struct tape_request request 
)

Definition at line 672 of file tape_std.c.

struct tape_request* tape_std_read_block ( struct tape_device device,
size_t  count 
)
read

Definition at line 647 of file tape_std.c.

int tape_std_read_block_id ( struct tape_device device,
__u64 id 
)

Definition at line 159 of file tape_std.c.

int tape_std_terminate_write ( struct tape_device device)

Definition at line 182 of file tape_std.c.

int tape_std_unassign ( struct tape_device device)

Definition at line 97 of file tape_std.c.

struct tape_request* tape_std_write_block ( struct tape_device device,
size_t  count 
)
read

Definition at line 691 of file tape_std.c.