Searched refs:mem_malloc (Results 1 – 12 of 12) sorted by relevance
55 #ifndef mem_malloc56 #define mem_malloc malloc macro90 void *mem_malloc(mem_size_t size);
87 #define memp_malloc(type) mem_malloc(memp_sizes[type])
79 mem_malloc(mem_size_t size) in mem_malloc() function491 mem_malloc(mem_size_t size) in mem_malloc() function634 p = mem_malloc(count * size); in mem_calloc()
286 …p = (struct pbuf*)mem_malloc(LWIP_MEM_ALIGN_SIZE(SIZEOF_STRUCT_PBUF + offset) + LWIP_MEM_ALIGN_SIZ… in pbuf_alloc()
652 dhcp = (struct dhcp *)mem_malloc(sizeof(struct dhcp)); in dhcp_start()
161 Be carefull with using mem_malloc() in sys_arch. When malloc() refers to162 mem_malloc() you can run into a circular function call problem. In mem.c163 lwip_mem_init() tries to allcate a semaphore using mem_malloc, which of course164 can't be performed when sys_arch uses mem_malloc.
282 ethernetif = mem_malloc(sizeof(struct ethernetif));
304 priv = mem_malloc(sizeof(struct slipif_priv)); in slipif_init()
316 autoip = (struct autoip *)mem_malloc(sizeof(struct autoip)); in autoip_start()
439 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()
109 with user-allocated structs instead of calling mem_malloc
146 and dhcp work with user-allocated structs instead of callin mem_malloc189 the need for mem_malloc from dhcp_recv and makes it possible to876 * opt.h, memp.h/.c: added MEMP_MEM_MALLOC to use mem_malloc/mem_free instead896 mem_free to run between mem_malloc iterations. Added illegal counter for1447 * igmp.h, igmp.c, memp_std.h, memp.c, init.c, opt.h: Replace mem_malloc call by1509 mempools for mem_malloc.1670 * mem.h: If MEM_LIBC_MALLOC==1, allow the defines (e.g. mem_malloc() -> malloc())1801 * pbuf.c, ppp.c: Fix warnings on some systems with mem_malloc.