Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
osst.h File Reference
#include <asm/byteorder.h>
#include <linux/completion.h>
#include <linux/mutex.h>

Go to the source code of this file.

Data Structures

struct  idetape_inquiry_result_t
 
struct  idetape_read_position_result_t
 
struct  idetape_request_sense_result_t
 
struct  osst_mode_parameter_header_t
 
struct  osst_parameter_block_descriptor_t
 
struct  osst_data_compression_page_t
 
struct  osst_medium_partition_page_t
 
struct  osst_capabilities_page_t
 
struct  osst_block_size_page_t
 
struct  osst_tape_paramtr_page_t
 
struct  os_partition_s
 
struct  os_dat_entry_s
 
struct  os_dat_s
 
struct  os_aux_s
 
struct  os_fm_tab_s
 
struct  os_ext_trk_ey_s
 
struct  os_ext_trk_tb_s
 
struct  os_header_s
 
struct  osst_buffer
 
struct  osst_tape
 
struct  osst_request
 

Macros

#define COMPRESSION_PAGE   0x0f
 
#define COMPRESSION_PAGE_LENGTH   16
 
#define CAPABILITIES_PAGE   0x2a
 
#define CAPABILITIES_PAGE_LENGTH   20
 
#define TAPE_PARAMTR_PAGE   0x2b
 
#define TAPE_PARAMTR_PAGE_LENGTH   16
 
#define NUMBER_RETRIES_PAGE   0x2f
 
#define NUMBER_RETRIES_PAGE_LENGTH   4
 
#define BLOCK_SIZE_PAGE   0x30
 
#define BLOCK_SIZE_PAGE_LENGTH   4
 
#define BUFFER_FILLING_PAGE   0x33
 
#define BUFFER_FILLING_PAGE_LENGTH   4
 
#define VENDOR_IDENT_PAGE   0x36
 
#define VENDOR_IDENT_PAGE_LENGTH   8
 
#define LOCATE_STATUS_PAGE   0x37
 
#define LOCATE_STATUS_PAGE_LENGTH   0
 
#define MODE_HEADER_LENGTH   4
 
#define OS_CONFIG_PARTITION   (0xff)
 
#define OS_DATA_PARTITION   (0)
 
#define OS_PARTITION_VERSION   (1)
 
#define OS_DAT_FLAGS_DATA   (0xc)
 
#define OS_DAT_FLAGS_MARK   (0x1)
 
#define OS_FRAME_TYPE_FILL   (0)
 
#define OS_FRAME_TYPE_EOD   (1 << 0)
 
#define OS_FRAME_TYPE_MARKER   (1 << 1)
 
#define OS_FRAME_TYPE_HEADER   (1 << 3)
 
#define OS_FRAME_TYPE_DATA   (1 << 7)
 
#define OS_FM_TAB_MAX   1024
 
#define OS_FRAME_SIZE   (32 * 1024 + 512)
 
#define OS_DATA_SIZE   (32 * 1024)
 
#define OS_AUX_SIZE   (512)
 
#define OS_WRITE_DATA   0
 
#define OS_WRITE_EOD   1
 
#define OS_WRITE_NEW_MARK   2
 
#define OS_WRITE_LAST_MARK   3
 
#define OS_WRITE_HEADER   4
 
#define OS_WRITE_FILLER   5
 
#define OS_WRITING_COMPLETE   3
 

Typedefs

typedef struct os_partition_s os_partition_t
 
typedef struct os_dat_entry_s os_dat_entry_t
 
typedef struct os_dat_s os_dat_t
 
typedef struct os_aux_s os_aux_t
 
typedef struct os_fm_tab_s os_fm_tab_t
 
typedef struct os_ext_trk_ey_s os_ext_trk_ey_t
 
typedef struct os_ext_trk_tb_s os_ext_trk_tb_t
 
typedef struct os_header_s os_header_t
 

Macro Definition Documentation

#define BLOCK_SIZE_PAGE   0x30

Definition at line 69 of file osst.h.

#define BLOCK_SIZE_PAGE_LENGTH   4

Definition at line 70 of file osst.h.

#define BUFFER_FILLING_PAGE   0x33

Definition at line 72 of file osst.h.

#define BUFFER_FILLING_PAGE_LENGTH   4

Definition at line 73 of file osst.h.

#define CAPABILITIES_PAGE   0x2a

Definition at line 60 of file osst.h.

#define CAPABILITIES_PAGE_LENGTH   20

Definition at line 61 of file osst.h.

#define COMPRESSION_PAGE   0x0f

Definition at line 57 of file osst.h.

#define COMPRESSION_PAGE_LENGTH   16

Definition at line 58 of file osst.h.

#define LOCATE_STATUS_PAGE   0x37

Definition at line 78 of file osst.h.

#define LOCATE_STATUS_PAGE_LENGTH   0

Definition at line 79 of file osst.h.

#define MODE_HEADER_LENGTH   4

Definition at line 81 of file osst.h.

#define NUMBER_RETRIES_PAGE   0x2f

Definition at line 66 of file osst.h.

#define NUMBER_RETRIES_PAGE_LENGTH   4

Definition at line 67 of file osst.h.

#define OS_AUX_SIZE   (512)

Definition at line 507 of file osst.h.

#define OS_CONFIG_PARTITION   (0xff)

Definition at line 363 of file osst.h.

#define OS_DAT_FLAGS_DATA   (0xc)

Definition at line 392 of file osst.h.

#define OS_DAT_FLAGS_MARK   (0x1)

Definition at line 393 of file osst.h.

#define OS_DATA_PARTITION   (0)

Definition at line 364 of file osst.h.

#define OS_DATA_SIZE   (32 * 1024)

Definition at line 506 of file osst.h.

#define OS_FM_TAB_MAX   1024

Definition at line 447 of file osst.h.

#define OS_FRAME_SIZE   (32 * 1024 + 512)

Definition at line 505 of file osst.h.

#define OS_FRAME_TYPE_DATA   (1 << 7)

Definition at line 410 of file osst.h.

#define OS_FRAME_TYPE_EOD   (1 << 0)

Definition at line 407 of file osst.h.

#define OS_FRAME_TYPE_FILL   (0)

Definition at line 406 of file osst.h.

#define OS_FRAME_TYPE_HEADER   (1 << 3)

Definition at line 409 of file osst.h.

#define OS_FRAME_TYPE_MARKER   (1 << 1)

Definition at line 408 of file osst.h.

#define OS_PARTITION_VERSION   (1)

Definition at line 365 of file osst.h.

#define OS_WRITE_DATA   0

Definition at line 642 of file osst.h.

#define OS_WRITE_EOD   1

Definition at line 643 of file osst.h.

#define OS_WRITE_FILLER   5

Definition at line 647 of file osst.h.

#define OS_WRITE_HEADER   4

Definition at line 646 of file osst.h.

#define OS_WRITE_LAST_MARK   3

Definition at line 645 of file osst.h.

#define OS_WRITE_NEW_MARK   2

Definition at line 644 of file osst.h.

#define OS_WRITING_COMPLETE   3

Definition at line 650 of file osst.h.

#define TAPE_PARAMTR_PAGE   0x2b

Definition at line 63 of file osst.h.

#define TAPE_PARAMTR_PAGE_LENGTH   16

Definition at line 64 of file osst.h.

#define VENDOR_IDENT_PAGE   0x36

Definition at line 75 of file osst.h.

#define VENDOR_IDENT_PAGE_LENGTH   8

Definition at line 76 of file osst.h.

Typedef Documentation