| /components/drivers/dma/ |
| A D | dma_pool.c | 319 struct rt_dma_pool *pool; in dma_alloc() local 390 struct rt_dma_pool *pool; in dma_free() local 513 if (!(pool = rt_calloc(1, sizeof(*pool)))) in dma_pool_install() 530 pool->start = RT_ALIGN(pool->region.start, ARCH_PAGE_SIZE); in dma_pool_install() 531 pool->bits = (pool->region.end - pool->start) / ARCH_PAGE_SIZE; in dma_pool_install() 533 if (!pool->bits) in dma_pool_install() 539 pool->map = rt_calloc(RT_BITMAP_LEN(pool->bits), sizeof(*pool->map)); in dma_pool_install() 541 if (!pool->map) in dma_pool_install() 553 return pool; in dma_pool_install() 556 rt_free(pool); in dma_pool_install() [all …]
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/priv/ |
| A D | tcpip_priv.h | 58 #define API_VAR_ALLOC_EXT(type, pool, name, errorblock) do { \ argument 59 name = (type *)memp_malloc(pool); \ 64 #define API_VAR_ALLOC(type, pool, name, errorval) API_VAR_ALLOC_EXT(type, pool, name, return errorv… argument 65 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) do { \ argument 71 #define API_VAR_FREE(pool, name) memp_free(pool, name) argument 72 #define API_VAR_FREE_POOL(pool, name) LWIP_MEMPOOL_FREE(pool, name) argument 85 #define API_VAR_ALLOC_EXT(type, pool, name, errorblock) argument 86 #define API_VAR_ALLOC(type, pool, name, errorval) argument 87 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) argument 88 #define API_VAR_FREE(pool, name) argument [all …]
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/priv/ |
| A D | tcpip_priv.h | 58 #define API_VAR_ALLOC(type, pool, name, errorval) do { \ argument 59 name = (type *)memp_malloc(pool); \ 64 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) do { \ argument 65 name = (type *)LWIP_MEMPOOL_ALLOC(pool); \ 70 #define API_VAR_FREE(pool, name) memp_free(pool, name) argument 71 #define API_VAR_FREE_POOL(pool, name) LWIP_MEMPOOL_FREE(pool, name) argument 84 #define API_VAR_ALLOC(type, pool, name, errorval) argument 85 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) argument 86 #define API_VAR_FREE(pool, name) argument 87 #define API_VAR_FREE_POOL(pool, name) argument
|
| /components/utilities/resource/ |
| A D | resource_id.h | 18 #define RESOURCE_ID_INIT(size, pool) {size, pool, 0, RT_NULL, RT_SPINLOCK_INIT} argument
|
| /components/drivers/audio/ |
| A D | Kconfig | 7 int "Replay memory pool block size" 11 int "Replay memory pool block count"
|
| /components/drivers/ipc/ |
| A D | ringbuffer.c | 38 rt_uint8_t *pool, in rt_ringbuffer_init() argument 49 rb->buffer_ptr = pool; in rt_ringbuffer_init() 428 rt_uint8_t *pool; in rt_ringbuffer_create() local 438 pool = (rt_uint8_t *)rt_malloc(size); in rt_ringbuffer_create() 439 if (pool == RT_NULL) in rt_ringbuffer_create() 445 rt_ringbuffer_init(rb, pool, size); in rt_ringbuffer_create()
|
| /components/vbus/ |
| A D | prio_queue.c | 72 rt_mp_init(&que->pool, name, buf, bufsz, in rt_prio_queue_init() 101 rt_mp_detach(&que->pool); in rt_prio_queue_detach() 147 item = rt_mp_alloc(&que->pool, timeout); in rt_prio_queue_push()
|
| A D | prio_queue.h | 28 struct rt_mempool pool; member
|
| /components/dfs/dfs_v1/filesystems/ramfs/ |
| A D | dfs_ramfs.h | 44 struct dfs_ramfs *dfs_ramfs_create(rt_uint8_t *pool, rt_size_t size);
|
| A D | dfs_ramfs.c | 447 struct dfs_ramfs *dfs_ramfs_create(rt_uint8_t *pool, rt_size_t size) in dfs_ramfs_create() argument 454 ramfs = (struct dfs_ramfs *)pool; in dfs_ramfs_create()
|
| /components/dfs/dfs_v2/filesystems/ramfs/ |
| A D | dfs_ramfs.h | 44 struct dfs_ramfs *dfs_ramfs_create(rt_uint8_t *pool, rt_size_t size);
|
| A D | dfs_ramfs.c | 447 struct dfs_ramfs *dfs_ramfs_create(rt_uint8_t *pool, rt_size_t size) in dfs_ramfs_create() argument 454 ramfs = (struct dfs_ramfs *)pool; in dfs_ramfs_create()
|
| /components/drivers/include/ipc/ |
| A D | ringbuffer.h | 67 void rt_ringbuffer_init(struct rt_ringbuffer *rb, rt_uint8_t *pool, rt_int32_t size);
|
| /components/net/lwip/lwip-1.4.1/ |
| A D | UPGRADING | 85 * Netdb uses a memp pool for allocating memory when getaddrinfo() is called, 88 * DNS_LOCAL_HOSTLIST_IS_DYNAMIC uses a memp pool instead of the heap, so 94 * PPPoE uses a MEMP pool instead of the heap, so MEMP_NUM_PPPOE_INTERFACES
|
| A D | CHANGELOG | 335 * opt.h, memp_std.h, memp.c, ppp_oe.h/.c: PPPoE now uses its own MEMP pool 340 MEMP pool instead of the heap 472 * opt.h, memp_std.h, dns.h, netdb.c, memp.c: Let netdb use a memp pool 1002 queueing a call into tcpip_thread to free ooseq-bufs if the pool is empty 1138 bigger malloc pool if one is empty (only usable with MEM_USE_POOLS). 1405 out of pool pbufs. 1935 * opt.h, memp.h, memp.c, pbuf.c (see task #6831): use a new memp pool for 2298 assumptions clash with the possibility of converting to fully pool-based 2980 * Fixed pool pbuf memory leak in pbuf_alloc(). 3011 pbuf_refresh(). This has sped up pbuf pool operations considerably. [all …]
|
| /components/net/lwip/lwip-2.1.2/ |
| A D | UPGRADING | 23 source heap/pool/etc.). As a consequence, applications can't test pbuf->type any more. 114 * added hook LWIP_HOOK_MEMP_AVAILABLE() to get informed when a memp pool was empty and an item 219 * Netdb uses a memp pool for allocating memory when getaddrinfo() is called, 222 * DNS_LOCAL_HOSTLIST_IS_DYNAMIC uses a memp pool instead of the heap, so 228 * PPPoE uses a MEMP pool instead of the heap, so MEMP_NUM_PPPOE_INTERFACES
|
| A D | CHANGELOG | 582 a memp pool was empty and an item is now available 1112 * memp_std.h: patch #7928 Fixed size calculation in MALLOC memory pool 1544 * opt.h, memp_std.h, memp.c, ppp_oe.h/.c: PPPoE now uses its own MEMP pool 1549 MEMP pool instead of the heap 1681 * opt.h, memp_std.h, dns.h, netdb.c, memp.c: Let netdb use a memp pool 2347 bigger malloc pool if one is empty (only usable with MEM_USE_POOLS). 2614 out of pool pbufs. 3144 * opt.h, memp.h, memp.c, pbuf.c (see task #6831): use a new memp pool for 4189 * Fixed pool pbuf memory leak in pbuf_alloc(). 4220 pbuf_refresh(). This has sped up pbuf pool operations considerably. [all …]
|
| /components/net/lwip/lwip-2.0.3/ |
| A D | UPGRADING | 79 * added hook LWIP_HOOK_MEMP_AVAILABLE() to get informed when a memp pool was empty and an item 184 * Netdb uses a memp pool for allocating memory when getaddrinfo() is called, 187 * DNS_LOCAL_HOSTLIST_IS_DYNAMIC uses a memp pool instead of the heap, so 193 * PPPoE uses a MEMP pool instead of the heap, so MEMP_NUM_PPPOE_INTERFACES
|
| A D | CHANGELOG | 329 a memp pool was empty and an item is now available 859 * memp_std.h: patch #7928 Fixed size calculation in MALLOC memory pool 1291 * opt.h, memp_std.h, memp.c, ppp_oe.h/.c: PPPoE now uses its own MEMP pool 1296 MEMP pool instead of the heap 1428 * opt.h, memp_std.h, dns.h, netdb.c, memp.c: Let netdb use a memp pool 2094 bigger malloc pool if one is empty (only usable with MEM_USE_POOLS). 2361 out of pool pbufs. 2891 * opt.h, memp.h, memp.c, pbuf.c (see task #6831): use a new memp pool for 3936 * Fixed pool pbuf memory leak in pbuf_alloc(). 3967 pbuf_refresh(). This has sped up pbuf pool operations considerably. [all …]
|
| /components/drivers/usb/cherryusb/ |
| A D | Kconfig.rtt | 435 int "The size of each pbuf in the pbuf pool"
|
| A D | Kconfig.rttpkg | 434 int "The size of each pbuf in the pbuf pool"
|
| /components/net/lwip/lwip-1.4.1/doc/ |
| A D | rawapi.txt | 395 Initializes the pbuf memory pool defined by PBUF_POOL_SIZE.
|