34 #define CSP_BUFFER_SIZE 60 35 #define CSP_BUFFER_COUNT 10 39 void *
_csp_realloc(
void * buff,
size_t old_size,
size_t new_size);
44 #define K_BUFFER_NEW_CSP(n, d, s) \ 45 k_buffer_alloc(n, d, s, &csp_alloc) 47 #define K_BUFFER_FREE_CSP(b) \ 48 k_buffer_free_new(b, &csp_alloc) 50 #define K_BUFFER_REALLOC_CSP(b, s) \ 51 k_buffer_realloc_new(b, s, &csp_alloc) void * _csp_new(size_t size)
void _csp_free(void *ptr)
Buffer Allocator Wrapper.
k_alloc_t csp_alloc
Definition: k_alloc_csp.h:42
void * _csp_realloc(void *buff, size_t old_size, size_t new_size)