#include <config.h>
#include <stdlib.h>
#include "bsp_abort.h"
Include dependency graph for bsp_alloc.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | bsp_malloc(n, sz) |
wrapper macro for bsp_mallocx() | |
#define | bsp_calloc(n, sz) |
wrapper macro bsp_callocx() | |
Functions | |
static void * | bsp_mallocx (const size_t n, const size_t sz, const char *func, const char *file, int line) |
allocates memory. | |
static void * | bsp_callocx (const size_t n, const size_t sz, const char *func, const char *file, int line) |
allocates cleared (zeroed) memory. | |
static void | bsp_free (void *ptr) |
frees memory. |
Definition in file bsp_alloc.h.
|
Value: bsp_callocx((n), (sz), \ __func__, __FILE__, __LINE__ )
Definition at line 44 of file bsp_alloc.h. Referenced by expandableTable_initialize(), memoryRegister_expand(), memoryRegister_initialize(), newMemRegInfoAtPush(), and requestTable_initialize(). |
|
Value: bsp_mallocx((n), (sz), \ __func__, __FILE__, __LINE__ )
Definition at line 40 of file bsp_alloc.h. Referenced by bsp_begin(), deliveryTable_initialize(), expandableTable_expand(), and expandableTable_initialize(). |
|
allocates cleared (zeroed) memory.
Definition at line 83 of file bsp_alloc.h. References bsp_intern_abort(), and ERR_NOT_ENOUGH_MEMORY. Here is the call graph for this function: |
|
frees memory.
Definition at line 102 of file bsp_alloc.h. Referenced by bsp_begin(), deliveryTable_destruct(), expandableTable_destruct(), expandableTable_expand(), memoryRegister_destruct(), memoryRegister_expand(), newMemRegInfoAtPush(), and requestTable_destruct(). |
|
allocates memory.
Definition at line 58 of file bsp_alloc.h. References bsp_intern_abort(), and ERR_NOT_ENOUGH_MEMORY. Here is the call graph for this function: |