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

Go to the source code of this file.

Macros

#define ngx_free   free
#define ngx_memalign(alignment, size, log)   ngx_alloc(size, log)

Functions

void * ngx_alloc (size_t size, ngx_log_t *log)
void * ngx_calloc (size_t size, ngx_log_t *log)

Variables

ngx_uint_t ngx_pagesize
ngx_uint_t ngx_pagesize_shift
ngx_uint_t ngx_cacheline_size

Macro Definition Documentation

#define ngx_free   free

Definition at line 19 of file ngx_alloc.h.

#define ngx_memalign (   alignment,
  size,
  log 
)    ngx_alloc(size, log)

Definition at line 35 of file ngx_alloc.h.

Function Documentation

void* ngx_alloc ( size_t  size,
ngx_log_t log 
)

Definition at line 18 of file ngx_alloc.c.

Here is the call graph for this function:

void* ngx_calloc ( size_t  size,
ngx_log_t log 
)

Definition at line 35 of file ngx_alloc.c.

Here is the call graph for this function:

Variable Documentation

ngx_uint_t ngx_cacheline_size

Definition at line 14 of file ngx_alloc.c.

ngx_uint_t ngx_pagesize

Definition at line 12 of file ngx_alloc.c.

ngx_uint_t ngx_pagesize_shift

Definition at line 13 of file ngx_alloc.c.