Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
nftl-user.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  nftl_bci
 
struct  nftl_uci0
 
struct  nftl_uci1
 
struct  nftl_uci2
 
union  nftl_uci
 
struct  nftl_oob
 
struct  NFTLMediaHeader
 

Macros

#define MAX_ERASE_ZONES   (8192 - 512)
 
#define ERASE_MARK   0x3c69
 
#define SECTOR_FREE   0xff
 
#define SECTOR_USED   0x55
 
#define SECTOR_IGNORE   0x11
 
#define SECTOR_DELETED   0x00
 
#define FOLD_MARK_IN_PROGRESS   0x5555
 
#define ZONE_GOOD   0xff
 
#define ZONE_BAD_ORIGINAL   0
 
#define ZONE_BAD_MARKED   7
 

Functions

struct nftl_bci __attribute__ ((packed))
 

Variables

unsigned char ECCSig [6]
 
__u8 Status
 
__u8 Status1
 
__u16 VirtUnitNum
 
__u16 ReplUnitNum
 
__u16 SpareVirtUnitNum
 
__u16 SpareReplUnitNum
 
__u32 WearInfo
 
__u16 EraseMark
 
__u16 EraseMark1
 
__u16 FoldMark
 
__u16 FoldMark1
 
__u32 unused
 
union nftl_uci __attribute__
 
char DataOrgID [6]
 
__u16 NumEraseUnits
 
__u16 FirstPhysicalEUN
 
__u32 FormattedSize
 
unsigned char UnitSizeFactor
 

Macro Definition Documentation

#define ERASE_MARK   0x3c69

Definition at line 77 of file nftl-user.h.

#define FOLD_MARK_IN_PROGRESS   0x5555

Definition at line 83 of file nftl-user.h.

#define MAX_ERASE_ZONES   (8192 - 512)

Definition at line 75 of file nftl-user.h.

#define SECTOR_DELETED   0x00

Definition at line 81 of file nftl-user.h.

#define SECTOR_FREE   0xff

Definition at line 78 of file nftl-user.h.

#define SECTOR_IGNORE   0x11

Definition at line 80 of file nftl-user.h.

#define SECTOR_USED   0x55

Definition at line 79 of file nftl-user.h.

#define ZONE_BAD_MARKED   7

Definition at line 87 of file nftl-user.h.

#define ZONE_BAD_ORIGINAL   0

Definition at line 86 of file nftl-user.h.

#define ZONE_GOOD   0xff

Definition at line 85 of file nftl-user.h.

Function Documentation

struct nftl_bci __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

char DataOrgID[6]

Definition at line 74 of file nftl-user.h.

unsigned char ECCSig[6]

Definition at line 32 of file nftl-user.h.

__u16 EraseMark

Definition at line 48 of file nftl-user.h.

__u16 EraseMark1

Definition at line 49 of file nftl-user.h.

__u16 FirstPhysicalEUN

Definition at line 76 of file nftl-user.h.

__u16 FoldMark

Definition at line 53 of file nftl-user.h.

__u16 FoldMark1

Definition at line 54 of file nftl-user.h.

__u32 FormattedSize

Definition at line 77 of file nftl-user.h.

__u16 NumEraseUnits

Definition at line 75 of file nftl-user.h.

__u16 ReplUnitNum

Definition at line 42 of file nftl-user.h.

__u16 SpareReplUnitNum

Definition at line 44 of file nftl-user.h.

__u16 SpareVirtUnitNum

Definition at line 43 of file nftl-user.h.

__u8 Status

Definition at line 33 of file nftl-user.h.

__u8 Status1

Definition at line 34 of file nftl-user.h.

unsigned char UnitSizeFactor

Definition at line 78 of file nftl-user.h.

Definition at line 55 of file nftl-user.h.

__u16 VirtUnitNum

Definition at line 41 of file nftl-user.h.

__u32 WearInfo

Definition at line 47 of file nftl-user.h.