Searched refs:poolnr (Results 1 – 2 of 2) sorted by relevance
255 memp_t poolnr; in mem_malloc() local258 for (poolnr = MEMP_POOL_FIRST; poolnr <= MEMP_POOL_LAST; poolnr = (memp_t)(poolnr + 1)) { in mem_malloc()261 if (required_size <= memp_pools[poolnr]->size) { in mem_malloc()262 element = (struct memp_malloc_helper *)memp_malloc(poolnr); in mem_malloc()267 if (poolnr < MEMP_POOL_LAST) { in mem_malloc()277 if (poolnr > MEMP_POOL_LAST) { in mem_malloc()284 element->poolnr = poolnr; in mem_malloc()295 memset((u8_t *)ret + size, 0xcd, memp_pools[poolnr]->size - size); in mem_malloc()321 LWIP_ASSERT("hmem->poolnr < MEMP_MAX", (hmem->poolnr < MEMP_MAX)); in mem_free()328 hmem->size <= memp_pools[hmem->poolnr]->size); in mem_free()[all …]
134 memp_t poolnr; member