Groonga 3.0.9 Source Code Document
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Typedefs | Functions
ngx_slab.h File Reference
#include <ngx_config.h>
#include <ngx_core.h>
Include dependency graph for ngx_slab.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ngx_slab_page_s
struct  ngx_slab_pool_t

Typedefs

typedef struct ngx_slab_page_s ngx_slab_page_t

Functions

void ngx_slab_init (ngx_slab_pool_t *pool)
void * ngx_slab_alloc (ngx_slab_pool_t *pool, size_t size)
void * ngx_slab_alloc_locked (ngx_slab_pool_t *pool, size_t size)
void ngx_slab_free (ngx_slab_pool_t *pool, void *p)
void ngx_slab_free_locked (ngx_slab_pool_t *pool, void *p)

Typedef Documentation

Definition at line 16 of file ngx_slab.h.

Function Documentation

void* ngx_slab_alloc ( ngx_slab_pool_t pool,
size_t  size 
)

Definition at line 138 of file ngx_slab.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void* ngx_slab_alloc_locked ( ngx_slab_pool_t pool,
size_t  size 
)

Definition at line 153 of file ngx_slab.c.

Here is the caller graph for this function:

void ngx_slab_free ( ngx_slab_pool_t pool,
void *  p 
)

Definition at line 399 of file ngx_slab.c.

Here is the call graph for this function:

void ngx_slab_free_locked ( ngx_slab_pool_t pool,
void *  p 
)

Definition at line 410 of file ngx_slab.c.

Here is the caller graph for this function:

void ngx_slab_init ( ngx_slab_pool_t pool)

Definition at line 73 of file ngx_slab.c.