Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
c2_vq.h File Reference
#include <linux/sched.h>
#include "c2.h"
#include "c2_wr.h"
#include "c2_provider.h"

Go to the source code of this file.

Data Structures

struct  c2_vq_req
 

Functions

int vq_init (struct c2_dev *c2dev)
 
void vq_term (struct c2_dev *c2dev)
 
struct c2_vq_reqvq_req_alloc (struct c2_dev *c2dev)
 
void vq_req_free (struct c2_dev *c2dev, struct c2_vq_req *req)
 
void vq_req_get (struct c2_dev *c2dev, struct c2_vq_req *req)
 
void vq_req_put (struct c2_dev *c2dev, struct c2_vq_req *req)
 
int vq_send_wr (struct c2_dev *c2dev, union c2wr *wr)
 
voidvq_repbuf_alloc (struct c2_dev *c2dev)
 
void vq_repbuf_free (struct c2_dev *c2dev, void *reply)
 
int vq_wait_for_reply (struct c2_dev *c2dev, struct c2_vq_req *req)
 

Function Documentation

int vq_init ( struct c2_dev c2dev)

Definition at line 82 of file c2_vq.c.

void* vq_repbuf_alloc ( struct c2_dev c2dev)

Definition at line 165 of file c2_vq.c.

void vq_repbuf_free ( struct c2_dev c2dev,
void reply 
)

Definition at line 257 of file c2_vq.c.

struct c2_vq_req* vq_req_alloc ( struct c2_dev c2dev)
read

Definition at line 103 of file c2_vq.c.

void vq_req_free ( struct c2_dev c2dev,
struct c2_vq_req req 
)

Definition at line 124 of file c2_vq.c.

void vq_req_get ( struct c2_dev c2dev,
struct c2_vq_req req 
)

Definition at line 135 of file c2_vq.c.

void vq_req_put ( struct c2_dev c2dev,
struct c2_vq_req req 
)

Definition at line 151 of file c2_vq.c.

int vq_send_wr ( struct c2_dev c2dev,
union c2wr wr 
)

Definition at line 178 of file c2_vq.c.

void vq_term ( struct c2_dev c2dev)

Definition at line 95 of file c2_vq.c.

int vq_wait_for_reply ( struct c2_dev c2dev,
struct c2_vq_req req 
)

Definition at line 244 of file c2_vq.c.