Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
aoe.h File Reference

Go to the source code of this file.

Data Structures

struct  aoe_hdr
 
struct  aoe_atahdr
 
struct  aoe_cfghdr
 
struct  buf
 
struct  frame
 
struct  aoeif
 
struct  aoetgt
 
struct  aoedev
 
struct  ktstate
 

Macros

#define VERSION   "50"
 
#define AOE_MAJOR   152
 
#define DEVICE_NAME   "aoe"
 
#define AOE_PARTITIONS   (16)
 
#define WHITESPACE   " \t\v\f\n"
 

Enumerations

enum  {
  AOECMD_ATA, AOECMD_CFG, AOECMD_VEND_MIN = 0xf0, AOEFL_RSP = (1<<3),
  AOEFL_ERR = (1<<2), AOEAFL_EXT = (1<<6), AOEAFL_DEV = (1<<4), AOEAFL_ASYNC = (1<<1),
  AOEAFL_WRITE = (1<<0), AOECCMD_READ = 0, AOECCMD_TEST, AOECCMD_PTEST,
  AOECCMD_SET, AOECCMD_FSET, AOE_HVER = 0x10
}
 
enum  {
  DEVFL_UP = 1, DEVFL_TKILL = (1<<1), DEVFL_EXT = (1<<2), DEVFL_GDALLOC = (1<<3),
  DEVFL_KICKME = (1<<4), DEVFL_NEWSIZE = (1<<5)
}
 
enum  {
  DEFAULTBCNT = 2 * 512, MIN_BUFS = 16, NTARGETS = 8, NAOEIFS = 8,
  NSKBPOOLMAX = 256, NFACTIVE = 61, TIMERTICK = HZ / 10, MINTIMER = HZ >> 2,
  MAXTIMER = HZ << 1
}
 

Functions

int aoeblk_init (void)
 
void aoeblk_exit (void)
 
void aoeblk_gdalloc (void *)
 
void aoedisk_rm_sysfs (struct aoedev *d)
 
int aoechr_init (void)
 
void aoechr_exit (void)
 
void aoechr_error (char *)
 
void aoecmd_work (struct aoedev *d)
 
void aoecmd_cfg (ushort aoemajor, unsigned char aoeminor)
 
struct sk_buffaoecmd_ata_rsp (struct sk_buff *)
 
void aoecmd_cfg_rsp (struct sk_buff *)
 
void aoecmd_sleepwork (struct work_struct *)
 
void aoecmd_cleanslate (struct aoedev *)
 
void aoecmd_exit (void)
 
int aoecmd_init (void)
 
struct sk_buffaoecmd_ata_id (struct aoedev *)
 
void aoe_freetframe (struct frame *)
 
void aoe_flush_iocq (void)
 
void aoe_end_request (struct aoedev *, struct request *, int)
 
int aoe_ktstart (struct ktstate *k)
 
void aoe_ktstop (struct ktstate *k)
 
int aoedev_init (void)
 
void aoedev_exit (void)
 
struct aoedevaoedev_by_aoeaddr (ulong maj, int min, int do_alloc)
 
void aoedev_downdev (struct aoedev *d)
 
int aoedev_flush (const char __user *str, size_t size)
 
void aoe_failbuf (struct aoedev *, struct buf *)
 
void aoedev_put (struct aoedev *)
 
int aoenet_init (void)
 
void aoenet_exit (void)
 
void aoenet_xmit (struct sk_buff_head *)
 
int is_aoe_netif (struct net_device *ifp)
 
int set_aoe_iflist (const char __user *str, size_t size)
 

Macro Definition Documentation

#define AOE_MAJOR   152

Definition at line 3 of file aoe.h.

#define AOE_PARTITIONS   (16)

Definition at line 10 of file aoe.h.

#define DEVICE_NAME   "aoe"

Definition at line 4 of file aoe.h.

#define VERSION   "50"

Definition at line 2 of file aoe.h.

#define WHITESPACE   " \t\v\f\n"

Definition at line 13 of file aoe.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
AOECMD_ATA 
AOECMD_CFG 
AOECMD_VEND_MIN 
AOEFL_RSP 
AOEFL_ERR 
AOEAFL_EXT 
AOEAFL_DEV 
AOEAFL_ASYNC 
AOEAFL_WRITE 
AOECCMD_READ 
AOECCMD_TEST 
AOECCMD_PTEST 
AOECCMD_SET 
AOECCMD_FSET 
AOE_HVER 

Definition at line 15 of file aoe.h.

anonymous enum
Enumerator:
DEVFL_UP 
DEVFL_TKILL 
DEVFL_EXT 
DEVFL_GDALLOC 
DEVFL_KICKME 
DEVFL_NEWSIZE 

Definition at line 71 of file aoe.h.

anonymous enum
Enumerator:
DEFAULTBCNT 
MIN_BUFS 
NTARGETS 
NAOEIFS 
NSKBPOOLMAX 
NFACTIVE 
TIMERTICK 
MINTIMER 
MAXTIMER 

Definition at line 80 of file aoe.h.

Function Documentation

void aoe_end_request ( struct aoedev ,
struct request ,
int   
)

Definition at line 922 of file aoecmd.c.

void aoe_failbuf ( struct aoedev ,
struct buf  
)

Definition at line 1419 of file aoecmd.c.

void aoe_flush_iocq ( void  )

Definition at line 1430 of file aoecmd.c.

void aoe_freetframe ( struct frame )

Definition at line 159 of file aoecmd.c.

int aoe_ktstart ( struct ktstate k)

Definition at line 1111 of file aoecmd.c.

void aoe_ktstop ( struct ktstate k)

Definition at line 1104 of file aoecmd.c.

void aoeblk_exit ( void  )

Definition at line 282 of file aoeblk.c.

void aoeblk_gdalloc ( void )

Definition at line 207 of file aoeblk.c.

int aoeblk_init ( void  )

Definition at line 288 of file aoeblk.c.

void aoechr_error ( char )

Definition at line 121 of file aoechr.c.

void aoechr_exit ( void  )

Definition at line 307 of file aoechr.c.

int aoechr_init ( void  )

Definition at line 280 of file aoechr.c.

struct sk_buff* aoecmd_ata_id ( struct aoedev )
read

Definition at line 1206 of file aoecmd.c.

struct sk_buff* aoecmd_ata_rsp ( struct sk_buff )
read

Definition at line 1139 of file aoecmd.c.

void aoecmd_cfg ( ushort  aoemajor,
unsigned char  aoeminor 
)

Definition at line 1196 of file aoecmd.c.

void aoecmd_cfg_rsp ( struct sk_buff )

Definition at line 1327 of file aoecmd.c.

void aoecmd_cleanslate ( struct aoedev )

Definition at line 1405 of file aoecmd.c.

void aoecmd_exit ( void  )

Definition at line 1474 of file aoecmd.c.

int aoecmd_init ( void  )

Definition at line 1461 of file aoecmd.c.

void aoecmd_sleepwork ( struct work_struct )

Definition at line 786 of file aoecmd.c.

void aoecmd_work ( struct aoedev d)

Definition at line 775 of file aoecmd.c.

struct aoedev* aoedev_by_aoeaddr ( ulong  maj,
int  min,
int  do_alloc 
)
read

Definition at line 330 of file aoedev.c.

void aoedev_downdev ( struct aoedev d)

Definition at line 174 of file aoedev.c.

void aoedev_exit ( void  )

Definition at line 397 of file aoedev.c.

int aoedev_flush ( const char __user str,
size_t  size 
)

Definition at line 245 of file aoedev.c.

int aoedev_init ( void  )

Definition at line 417 of file aoedev.c.

void aoedev_put ( struct aoedev )

Definition at line 130 of file aoedev.c.

void aoedisk_rm_sysfs ( struct aoedev d)

Definition at line 121 of file aoeblk.c.

void aoenet_exit ( void  )

Definition at line 211 of file aoenet.c.

int aoenet_init ( void  )

Definition at line 195 of file aoenet.c.

void aoenet_xmit ( struct sk_buff_head )

Definition at line 108 of file aoenet.c.

int is_aoe_netif ( struct net_device ifp)

Definition at line 68 of file aoenet.c.

int set_aoe_iflist ( const char __user str,
size_t  size 
)

Definition at line 94 of file aoenet.c.