Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
msgpool.c File Reference
#include <linux/ceph/ceph_debug.h>
#include <linux/err.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/vmalloc.h>
#include <linux/ceph/msgpool.h>

Go to the source code of this file.


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 *pool, int front_len)
void ceph_msgpool_put (struct ceph_msgpool *pool, struct ceph_msg *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 pool,
int  front_len 

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 pool,
struct ceph_msg msg 

Definition at line 73 of file msgpool.c.