aoe  87
About: AoE (ATA over Ethernet) Protocol Driver (Linux kernel 4.8.x and greater are not supported).
  Fossies Dox: aoe-87.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

aoemain.c File Reference
#include <linux/hdreg.h>
#include <linux/blkdev.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/slab.h>
#include "aoe.h"
Include dependency graph for aoemain.c:

Go to the source code of this file.

Enumerations

enum  { TINIT, TRUN, TKILL }
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Sam Hopkins <sah@coraid.com>")
 
 MODULE_DESCRIPTION ("AoE block/char driver for 2.6.2 and newer 2.6 kernels")
 
 MODULE_VERSION ("87")
 
 module_param_string (version, version, sizeof version, 0400)
 
 MODULE_PARM_DESC (version, "aoe module version " "87" "\n")
 
void * aoe_kcalloc (size_t n, size_t size, int flags)
 
static void discover_timer (ulong vp)
 
static void aoe_exit (void)
 
static int __init aoe_init (void)
 
 module_init (aoe_init)
 
 module_exit (aoe_exit)
 

Variables

static char version [] = "87"
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TINIT 
TRUN 
TKILL 

Definition at line 28 of file aoemain.c.

Function Documentation

◆ aoe_exit()

static void aoe_exit ( void  )
static

◆ aoe_init()

◆ aoe_kcalloc()

void* aoe_kcalloc ( size_t  n,
size_t  size,
int  flags 
)

◆ discover_timer()

static void discover_timer ( ulong  vp)
static

Definition at line 46 of file aoemain.c.

References aoecmd_cfg(), TINIT, TKILL, and TRUN.

Referenced by aoe_exit(), and aoe_init().

◆ MODULE_AUTHOR()

MODULE_AUTHOR ( "Sam Hopkins <sah@coraid.com>"  )

◆ MODULE_DESCRIPTION()

MODULE_DESCRIPTION ( "AoE block/char driver for 2.6.2 and newer 2.6 kernels"  )

◆ module_exit()

module_exit ( aoe_exit  )

◆ module_init()

module_init ( aoe_init  )

◆ MODULE_LICENSE()

MODULE_LICENSE ( "GPL"  )

◆ module_param_string()

module_param_string ( version  ,
version  ,
sizeof  version,
0400   
)

◆ MODULE_PARM_DESC()

MODULE_PARM_DESC ( version  ,
"aoe module version " "87" "\n"   
)

◆ MODULE_VERSION()

MODULE_VERSION ( "87"  )

Variable Documentation

◆ version

char version[] = "87"
static

Definition at line 24 of file aoemain.c.