Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
aoecmd.c File Reference
#include <linux/ata.h>
#include <linux/slab.h>
#include <linux/hdreg.h>
#include <linux/blkdev.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/genhd.h>
#include <linux/moduleparam.h>
#include <linux/workqueue.h>
#include <linux/kthread.h>
#include <net/net_namespace.h>
#include <asm/unaligned.h>
#include <linux/uio.h>
#include "aoe.h"

Go to the source code of this file.

Macros

#define MAXIOC   (8192) /* default meant to avoid most soft lockups */
 

Functions

 module_param (aoe_deadsecs, int, 0644)
 
 MODULE_PARM_DESC (aoe_deadsecs,"After aoe_deadsecs seconds, give up and fail dev.")
 
 module_param (aoe_maxout, int, 0644)
 
 MODULE_PARM_DESC (aoe_maxout,"Only aoe_maxout outstanding packets for every MAC on eX.Y.")
 
void aoe_freetframe (struct frame *f)
 
void aoecmd_work (struct aoedev *d)
 
void aoecmd_sleepwork (struct work_struct *work)
 
void aoe_end_request (struct aoedev *d, struct request *rq, int fastfail)
 
void aoe_ktstop (struct ktstate *k)
 
int aoe_ktstart (struct ktstate *k)
 
struct sk_buffaoecmd_ata_rsp (struct sk_buff *skb)
 
void aoecmd_cfg (ushort aoemajor, unsigned char aoeminor)
 
struct sk_buffaoecmd_ata_id (struct aoedev *d)
 
void aoecmd_cfg_rsp (struct sk_buff *skb)
 
void aoecmd_cleanslate (struct aoedev *d)
 
void aoe_failbuf (struct aoedev *d, struct buf *buf)
 
void aoe_flush_iocq (void)
 
int __init aoecmd_init (void)
 
void aoecmd_exit (void)
 

Macro Definition Documentation

#define MAXIOC   (8192) /* default meant to avoid most soft lockups */

Definition at line 22 of file aoecmd.c.

Function Documentation

void aoe_end_request ( struct aoedev d,
struct request rq,
int  fastfail 
)

Definition at line 922 of file aoecmd.c.

void aoe_failbuf ( struct aoedev d,
struct buf 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 f)

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.

struct sk_buff* aoecmd_ata_id ( struct aoedev d)
read

Definition at line 1206 of file aoecmd.c.

struct sk_buff* aoecmd_ata_rsp ( struct sk_buff skb)
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 skb)

Definition at line 1327 of file aoecmd.c.

void aoecmd_cleanslate ( struct aoedev d)

Definition at line 1405 of file aoecmd.c.

void aoecmd_exit ( void  )

Definition at line 1474 of file aoecmd.c.

int __init aoecmd_init ( void  )

Definition at line 1461 of file aoecmd.c.

void aoecmd_sleepwork ( struct work_struct work)

Definition at line 786 of file aoecmd.c.

void aoecmd_work ( struct aoedev d)

Definition at line 775 of file aoecmd.c.

module_param ( aoe_deadsecs  ,
int  ,
0644   
)
module_param ( aoe_maxout  ,
int  ,
0644   
)
MODULE_PARM_DESC ( aoe_deadsecs  ,
"After aoe_deadsecs  seconds,
give up and fail dev."   
)
MODULE_PARM_DESC ( aoe_maxout  ,
"Only aoe_maxout outstanding packets for every MAC on eX.Y."   
)

Variable Documentation

Definition at line 42 of file aoecmd.c.

spinlock_t lock

Definition at line 43 of file aoecmd.c.