Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
msgpool.h File Reference
#include <linux/mempool.h>
#include <linux/ceph/messenger.h>

Go to the source code of this file.

Data Structures

struct  ceph_msgpool
 

Functions

int ceph_msgpool_init (struct ceph_msgpool *pool, int type, int front_len, int size, bool blocking, const char *name)
 
void ceph_msgpool_destroy (struct ceph_msgpool *pool)
 
struct ceph_msgceph_msgpool_get (struct ceph_msgpool *, int front_len)
 
void ceph_msgpool_put (struct ceph_msgpool *, struct ceph_msg *)
 

Function Documentation

void ceph_msgpool_destroy ( struct ceph_msgpool pool)

Definition at line 48 of file msgpool.c.

struct ceph_msg* ceph_msgpool_get ( struct ceph_msgpool ,
int  front_len 
)
read

Definition at line 54 of file msgpool.c.

int ceph_msgpool_init ( struct ceph_msgpool pool,
int  type,
int  front_len,
int  size,
bool  blocking,
const char name 
)

Definition at line 35 of file msgpool.c.

void ceph_msgpool_put ( struct ceph_msgpool ,
struct ceph_msg  
)

Definition at line 73 of file msgpool.c.