1#ifndef __VSF_LINUX_SLAB_H__
2#define __VSF_LINUX_SLAB_H__
11static inline void * kmalloc(
size_t size,
gfp_t flags)
22static inline void * krealloc(
const void *
buff,
size_t new_size,
gfp_t flags)
27static inline void * kzalloc(
size_t size,
gfp_t flags)
32static inline void kfree(
const void *
buff)
37static inline size_t ksize(
const void *
buff)
#define __GFP_ZERO
Definition gfp.h:12
unsigned int gfp_t
Definition gfp.h:10
#define NULL
Definition lvgl.h:26
unsigned char uint8_t
Definition lvgl.h:40
void * memset(void *s, int ch, size_t n)
uint_fast32_t vsf_heap_size(uint8_t *buffer)
Definition vsf_heap.c:668
#define vsf_heap_free(__ptr)
Definition vsf_heap.h:88
#define vsf_heap_realloc(...)
Definition vsf_heap.h:82
#define vsf_heap_malloc(...)
Definition vsf_heap.h:70
uint8_t * buff
Definition vsf_memfs.h:51
uint32_t size
Definition vsf_memfs.h:50