Home
last modified time | relevance | path

Searched refs:num_blocks (Results 1 – 2 of 2) sorted by relevance

/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/src/
H A Dmem.c28 mem_malloc_mempool_gen(uint16_t num_blocks, uint32_t block_size, in mem_malloc_mempool_gen() argument
33 if (num_blocks > 0) { in mem_malloc_mempool_gen()
34 *out_buf = malloc(OS_MEMPOOL_BYTES(num_blocks, block_size)); in mem_malloc_mempool_gen()
62 mem_malloc_mempool(struct os_mempool *mempool, uint16_t num_blocks, in mem_malloc_mempool() argument
68 rc = mem_malloc_mempool_gen(num_blocks, block_size, &buf); in mem_malloc_mempool()
73 rc = os_mempool_init(mempool, num_blocks, block_size, buf, name); in mem_malloc_mempool()
103 mem_malloc_mempool_ext(struct os_mempool_ext *mpe, uint16_t num_blocks, in mem_malloc_mempool_ext() argument
109 rc = mem_malloc_mempool_gen(num_blocks, block_size, &buf); in mem_malloc_mempool_ext()
114 rc = os_mempool_ext_init(mpe, num_blocks, block_size, buf, name); in mem_malloc_mempool_ext()
147 struct os_mbuf_pool *mbuf_pool, uint16_t num_blocks, in mem_malloc_mbuf_pool() argument
[all …]
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/mem/
H A Dmem.h30 int mem_malloc_mempool(struct os_mempool *mempool, uint16_t num_blocks,
32 int mem_malloc_mempool_ext(struct os_mempool_ext *mempool, uint16_t num_blocks,
36 struct os_mbuf_pool *mbuf_pool, uint16_t num_blocks,
40 struct os_mbuf_pool *mbuf_pool, int num_blocks,
44 struct os_mbuf_pool *mbuf_pool, int num_blocks,