![]() |
#include <stdlib.h>
#include <citrusleaf/cf_atomic.h>
Go to the source code of this file.
Data Structures | |
struct | cf_rc_hdr |
Typedefs | |
typedef cf_atomic32 | cf_rc_counter |
Functions | |
void * | cf_calloc (size_t nmemb, size_t sz) |
void | cf_free (void *p) |
void * | cf_malloc (size_t sz) |
void * | cf_rc_alloc (size_t sz) |
cf_atomic_int_t | cf_rc_count (void *addr) |
void | cf_rc_free (void *addr) |
int | cf_rc_release (void *addr) |
int | cf_rc_releaseandfree (void *addr) |
int | cf_rc_reserve (void *addr) |
void * | cf_realloc (void *ptr, size_t sz) |
void * | cf_strdup (const char *s) |
void * | cf_strndup (const char *s, size_t n) |
void * | cf_valloc (size_t sz) |
static uint32_t | ptr_hash_fn (void *key) |
typedef cf_atomic32 cf_rc_counter |
Definition at line 77 of file target/Linux-x86_64/include/citrusleaf/alloc.h.
void* cf_calloc | ( | size_t | nmemb, |
size_t | sz | ||
) |
void cf_free | ( | void * | p | ) |
void* cf_malloc | ( | size_t | sz | ) |
void* cf_rc_alloc | ( | size_t | sz | ) |
cf_atomic_int_t cf_rc_count | ( | void * | addr | ) |
void cf_rc_free | ( | void * | addr | ) |
int cf_rc_release | ( | void * | addr | ) |
int cf_rc_releaseandfree | ( | void * | addr | ) |
int cf_rc_reserve | ( | void * | addr | ) |
void* cf_realloc | ( | void * | ptr, |
size_t | sz | ||
) |
void* cf_strdup | ( | const char * | s | ) |
void* cf_strndup | ( | const char * | s, |
size_t | n | ||
) |
void* cf_valloc | ( | size_t | sz | ) |
|
inlinestatic |
Definition at line 36 of file target/Linux-x86_64/include/citrusleaf/alloc.h.