Home
last modified time | relevance | path

Searched refs:mem_malloc (Results 1 – 14 of 14) sorted by relevance

/lib/liblwip/src/include/lwip/
Dmem.h56 #ifndef mem_malloc
57 #define mem_malloc malloc macro
91 void *mem_malloc(mem_size_t size);
Dmemp.h87 #define memp_malloc(type) mem_malloc(memp_sizes[type])
/lib/liblwip/test/unit/core/
Dtest_mem.c44 p1 = mem_malloc(SIZE1); in START_TEST()
49 p2 = mem_malloc(SIZE2); in START_TEST()
/lib/liblwip/src/core/
Dmem.c79 mem_malloc(mem_size_t size) in mem_malloc() function
494 mem_malloc(mem_size_t size) in mem_malloc() function
651 p = mem_malloc(count * size); in mem_calloc()
Dpbuf.c308 …p = (struct pbuf*)mem_malloc(LWIP_MEM_ALIGN_SIZE(SIZEOF_STRUCT_PBUF + offset) + LWIP_MEM_ALIGN_SIZ… in pbuf_alloc()
Ddhcp.c656 dhcp = (struct dhcp *)mem_malloc(sizeof(struct dhcp)); in dhcp_start()
/lib/liblwip/src/netif/
Dethernetif.c281 ethernetif = mem_malloc(sizeof(struct ethernetif));
Dslipif.c326 priv = (struct slipif_priv *)mem_malloc(sizeof(struct slipif_priv)); in slipif_init()
/lib/liblwip/src/arch/
Detherif.c325 ethernetif = mem_malloc(sizeof(struct ethernetif)); in ethernetif_init()
/lib/liblwip/doc/
Dsys_arch.txt212 Be carefull with using mem_malloc() in sys_arch. When malloc() refers to
213 mem_malloc() you can run into a circular function call problem. In mem.c
214 mem_init() tries to allcate a semaphore using mem_malloc, which of course
215 can't be performed when sys_arch uses mem_malloc.
/lib/liblwip/src/core/ipv4/
Dautoip.c308 autoip = (struct autoip *)mem_malloc(sizeof(struct autoip)); in autoip_start()
/lib/liblwip/
DUPGRADING109 with user-allocated structs instead of calling mem_malloc
DCHANGELOG303 * mem.c: fixed bug #33545: With MEM_USE_POOLS==1, mem_malloc can return an
445 and dhcp work with user-allocated structs instead of callin mem_malloc
488 the need for mem_malloc from dhcp_recv and makes it possible to
1175 * opt.h, memp.h/.c: added MEMP_MEM_MALLOC to use mem_malloc/mem_free instead
1195 mem_free to run between mem_malloc iterations. Added illegal counter for
1746 * igmp.h, igmp.c, memp_std.h, memp.c, init.c, opt.h: Replace mem_malloc call by
1808 mempools for mem_malloc.
1969 * mem.h: If MEM_LIBC_MALLOC==1, allow the defines (e.g. mem_malloc() -> malloc())
2100 * pbuf.c, ppp.c: Fix warnings on some systems with mem_malloc.
/lib/liblwip/src/netif/ppp/
Dppp_oe.c439 sc->sc_hunique = mem_malloc(hunique_len); in pppoe_dispatch_disc_pkt()
477 sc->sc_hunique = mem_malloc(hunique_len); in pppoe_dispatch_disc_pkt()