Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
c2_alloc.c File Reference
#include <linux/errno.h>
#include <linux/bitmap.h>
#include "c2.h"

Go to the source code of this file.

Functions

int c2_init_mqsp_pool (struct c2_dev *c2dev, gfp_t gfp_mask, struct sp_chunk **root)
 
void c2_free_mqsp_pool (struct c2_dev *c2dev, struct sp_chunk *root)
 
__be16c2_alloc_mqsp (struct c2_dev *c2dev, struct sp_chunk *head, dma_addr_t *dma_addr, gfp_t gfp_mask)
 
void c2_free_mqsp (__be16 *mqsp)
 

Function Documentation

__be16* c2_alloc_mqsp ( struct c2_dev c2dev,
struct sp_chunk head,
dma_addr_t dma_addr,
gfp_t  gfp_mask 
)

Definition at line 89 of file c2_alloc.c.

void c2_free_mqsp ( __be16 mqsp)

Definition at line 122 of file c2_alloc.c.

void c2_free_mqsp_pool ( struct c2_dev c2dev,
struct sp_chunk root 
)

Definition at line 77 of file c2_alloc.c.

int c2_init_mqsp_pool ( struct c2_dev c2dev,
gfp_t  gfp_mask,
struct sp_chunk **  root 
)

Definition at line 71 of file c2_alloc.c.