31#if SOC_ESP_NIMBLE_CONTROLLER && CONFIG_BT_CONTROLLER_ENABLED
32int r_mem_malloc_mempool(
struct os_mempool *mempool, uint16_t num_blocks,
33 uint32_t block_size,
char *name,
void **out_buf);
34#define mem_malloc_mempool r_mem_malloc_mempool
36int r_mem_malloc_mempool_ext(
struct os_mempool_ext *mempool, uint16_t num_blocks,
37 uint32_t block_size,
char *name,
void **out_buf);
38#define mem_malloc_mempool_ext r_mem_malloc_mempool_ext
41int r_mem_malloc_mbuf_pool(
struct os_mempool *mempool,
43 uint32_t block_size,
char *name,
45#define mem_malloc_mbuf_pool r_mem_malloc_mbuf_pool
47int r_mem_malloc_mbufpkt_pool(
struct os_mempool *mempool,
49 int block_size,
char *name,
51#define mem_malloc_mbufpkt_pool r_mem_malloc_mbufpkt_pool
53int r_mem_init_mbuf_pool(
void *mem,
struct os_mempool *mempool,
55 int block_size,
const char *name);
56#define mem_init_mbuf_pool r_mem_init_mbuf_pool
58int mem_malloc_mempool(
struct os_mempool *mempool, uint16_t num_blocks,
59 uint32_t block_size,
char *name,
void **out_buf);
60int mem_malloc_mempool_ext(
struct os_mempool_ext *mempool, uint16_t num_blocks,
61 uint32_t block_size,
char *name,
void **out_buf);
63int mem_malloc_mbuf_pool(
struct os_mempool *mempool,
65 uint32_t block_size,
char *name,
67int mem_malloc_mbufpkt_pool(
struct os_mempool *mempool,
69 int block_size,
char *name,
71int mem_init_mbuf_pool(
void *mem,
struct os_mempool *mempool,
73 int block_size,
const char *name);
88typedef struct os_mbuf *mem_frag_alloc_fn(uint16_t frag_size,
void *arg);
91#if SOC_ESP_NIMBLE_CONTROLLER && CONFIG_BT_CONTROLLER_ENABLED
92struct os_mbuf *r_mem_split_frag(
struct os_mbuf **om, uint16_t max_frag_sz,
93 mem_frag_alloc_fn *alloc_cb,
void *cb_arg);
94#define mem_split_frag r_mem_split_frag
95void *r_mem_pullup_obj(
struct os_mbuf **om, uint16_t len);
96#define mem_pullup_obj r_mem_pullup_obj
98struct os_mbuf *mem_split_frag(
struct os_mbuf **om, uint16_t max_frag_sz,
99 mem_frag_alloc_fn *alloc_cb,
void *cb_arg);
101void *mem_pullup_obj(
struct os_mbuf **om, uint16_t len);
Definition os_mempool.h:57