Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
msgqueue.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/stddef.h>
#include <linux/init.h>
#include "msgqueue.h"

Go to the source code of this file.

Functions

void msgqueue_initialise (MsgQueue_t *msgq)
 
void msgqueue_free (MsgQueue_t *msgq)
 
int msgqueue_msglength (MsgQueue_t *msgq)
 
struct messagemsgqueue_getmsg (MsgQueue_t *msgq, int msgno)
 
int msgqueue_addmsg (MsgQueue_t *msgq, int length,...)
 
void msgqueue_flush (MsgQueue_t *msgq)
 
 EXPORT_SYMBOL (msgqueue_initialise)
 
 EXPORT_SYMBOL (msgqueue_free)
 
 EXPORT_SYMBOL (msgqueue_msglength)
 
 EXPORT_SYMBOL (msgqueue_getmsg)
 
 EXPORT_SYMBOL (msgqueue_addmsg)
 
 EXPORT_SYMBOL (msgqueue_flush)
 
 MODULE_AUTHOR ("Russell King")
 
 MODULE_DESCRIPTION ("SCSI message queue handling")
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

EXPORT_SYMBOL ( msgqueue_initialise  )
EXPORT_SYMBOL ( msgqueue_free  )
EXPORT_SYMBOL ( msgqueue_msglength  )
EXPORT_SYMBOL ( msgqueue_getmsg  )
EXPORT_SYMBOL ( msgqueue_addmsg  )
EXPORT_SYMBOL ( msgqueue_flush  )
MODULE_AUTHOR ( "Russell King"  )
MODULE_DESCRIPTION ( "SCSI message queue handling"  )
MODULE_LICENSE ( "GPL"  )
int msgqueue_addmsg ( MsgQueue_t msgq,
int  length,
  ... 
)

Definition at line 118 of file msgqueue.c.

void msgqueue_flush ( MsgQueue_t msgq)

Definition at line 151 of file msgqueue.c.

void msgqueue_free ( MsgQueue_t msgq)

Definition at line 73 of file msgqueue.c.

struct message* msgqueue_getmsg ( MsgQueue_t msgq,
int  msgno 
)
read

Definition at line 101 of file msgqueue.c.

void msgqueue_initialise ( MsgQueue_t msgq)

Definition at line 54 of file msgqueue.c.

int msgqueue_msglength ( MsgQueue_t msgq)

Definition at line 83 of file msgqueue.c.