Searched refs:memp_pools (Results 1 – 12 of 12) sorted by relevance
/third_party/lwip/src/core/ |
D | memp.c | 81 const struct memp_desc *const memp_pools[MEMP_MAX] = { variable 157 p = (struct memp *)LWIP_MEM_ALIGN(memp_pools[i]->base); in memp_overflow_check_all() 158 for (j = 0; j < memp_pools[i]->num; ++j) { in memp_overflow_check_all() 159 memp_overflow_check_element(p, memp_pools[i]); in memp_overflow_check_all() 160 …p = LWIP_ALIGNMENT_CAST(struct memp *, ((u8_t *)p + MEMP_SIZE + memp_pools[i]->size + MEM_SANITY_R… in memp_overflow_check_all() 229 for (i = 0; i < LWIP_ARRAYSIZE(memp_pools); i++) { in memp_init() 230 memp_init_pool(memp_pools[i]); in memp_init() 233 lwip_stats.memp[i] = memp_pools[i]->stats; in memp_init() 350 memp = do_memp_malloc_pool(memp_pools[type]); in memp_malloc() 352 memp = do_memp_malloc_pool_fn(memp_pools[type], file, line); in memp_malloc() [all …]
|
D | mem.c | 261 if (required_size <= memp_pools[poolnr]->size) { in mem_malloc() 295 memset((u8_t *)ret + size, 0xcd, memp_pools[poolnr]->size - size); in mem_malloc() 328 hmem->size <= memp_pools[hmem->poolnr]->size); in mem_free() 330 for (i = hmem->size; i < memp_pools[hmem->poolnr]->size; i++) { in mem_free()
|
/third_party/libcoap/src/ |
D | coap_io_lwip.c | 39 memp_pools[i]->stats->name, memp_pools[i]->stats->avail, in coap_lwip_dump_memory_pools() 40 memp_pools[i]->stats->used, memp_pools[i]->stats->max, in coap_lwip_dump_memory_pools() 41 memp_pools[i]->stats->err); in coap_lwip_dump_memory_pools()
|
D | coap_pdu.c | 108 if (memp_pools[MEMP_COAP_PDU]->stats->used + 1 >= in coap_pdu_init() 109 memp_pools[MEMP_COAP_PDU]->stats->avail) { in coap_pdu_init() 110 memp_pools[MEMP_COAP_PDU]->stats->err++; in coap_pdu_init()
|
/third_party/libcoap/include/coap3/ |
D | coap_mem.h | 141 (((asize) <= memp_pools[MEMP_ ## type]->size) ? \ 147 ((p) ? ((asize) <= memp_pools[MEMP_ ## type]->size) ? (p) : NULL : coap_malloc_type(type, asize))
|
/third_party/lwip/ |
D | 0014-fix-some-compile-errors.patch | 17 memp_pools[MEMP_##name] = &memp_ ## name; \ 24 memp_pools[MEMP_##name]->base = memp_memory_##name##_base; \
|
D | 0025-Replace-gettid-with-syscall-SYS_gettid.patch | 19 memp_pools[MEMP_##name] = &memp_ ## name; \ 26 memp_pools[MEMP_##name]->base = memp_memory_##name##_base; \
|
D | 0069-add-error-check-in-hugepage_init-and-sys_mbox_free.patch | 53 + for (i = 0; i < LWIP_ARRAYSIZE(memp_pools); i++) { 54 + if (memp_pools[i]->base == NULL) {
|
D | 0003-fix-the-occasional-coredump-when-the-lwip-exits.patch | 25 - if (memp_pools[MEMP_SYS_MBOX] == NULL) {
|
D | 0053-cleancode-improve-lwipopts.h-readability.patch | 556 PER_THREAD struct memp_desc* memp_pools[MEMP_MAX] = {NULL}; 558 const struct memp_desc *const memp_pools[MEMP_MAX] = { 1411 extern PER_THREAD struct memp_desc* memp_pools[MEMP_MAX]; 1413 extern const struct memp_desc* const memp_pools[MEMP_MAX]; 1419 @@ -96,7 +96,7 @@ extern const struct memp_desc* const memp_pools[MEMP_MAX]; 1428 @@ -106,7 +106,7 @@ extern const struct memp_desc* const memp_pools[MEMP_MAX]; 1437 @@ -124,7 +124,7 @@ extern const struct memp_desc* const memp_pools[MEMP_MAX];
|
D | 0002-adapt-lstack.patch | 1504 + if (memp_pools[MEMP_SYS_MBOX] == NULL) { 2205 +PER_THREAD struct memp_desc* memp_pools[MEMP_MAX] = {NULL}; 2207 const struct memp_desc *const memp_pools[MEMP_MAX] = { 3142 + memp_pools[MEMP_##name] = &memp_ ## name; \ 3148 + memp_pools[MEMP_##name]->base = memp_memory_##name##_base; \ 3981 +extern PER_THREAD struct memp_desc* memp_pools[MEMP_MAX]; 3983 extern const struct memp_desc* const memp_pools[MEMP_MAX]; 3988 @@ -92,6 +96,18 @@ extern const struct memp_desc* const memp_pools[MEMP_MAX]; 4007 @@ -108,6 +124,7 @@ extern const struct memp_desc* const memp_pools[MEMP_MAX];
|
/third_party/lwip/src/include/lwip/ |
D | memp.h | 61 extern const struct memp_desc* const memp_pools[MEMP_MAX];
|