NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
pooled_alloc.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include "cram/pooled_alloc.h"

Go to the source code of this file.

Macros

#define PSIZE   1024*1024
 

Functions

pool_alloc_tpool_create (size_t dsize)
 
void pool_destroy (pool_alloc_t *p)
 
void * pool_alloc (pool_alloc_t *p)
 
void pool_free (pool_alloc_t *p, void *ptr)
 

Macro Definition Documentation

#define PSIZE   1024*1024

Definition at line 43 of file pooled_alloc.c.

Function Documentation

void* pool_alloc ( pool_alloc_t p)

Definition at line 93 of file pooled_alloc.c.

pool_alloc_t* pool_create ( size_t  dsize)

Definition at line 45 of file pooled_alloc.c.

void pool_destroy ( pool_alloc_t p)

Definition at line 83 of file pooled_alloc.c.

void pool_free ( pool_alloc_t p,
void *  ptr 
)

Definition at line 122 of file pooled_alloc.c.