Searched refs:mem_malloc (Results 1 - 19 of 19) sorted by relevance

/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dmem.h56 #ifndef mem_malloc
57 #define mem_malloc malloc macro
91 void *mem_malloc(mem_size_t size);
H A Dmemp.h50 /* Use a helper type to get the start and end of the user "memory pools" for mem_malloc */
87 #define memp_malloc(type) mem_malloc(memp_sizes[type])
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Dmem.h50 #define mem_malloc(x) malloc(x) macro
55 void *mem_malloc(mem_size_t size);
/vbox/src/VBox/Devices/Network/lwip/src/netif/
H A Dloopif.c77 arg = mem_malloc( sizeof( void *[2]));
H A Dethernetif.c286 ethernetif = mem_malloc(sizeof(struct ethernetif));
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/
H A Dethernetif.c283 ethernetif = mem_malloc(sizeof(struct ethernetif));
H A Dslipif.c359 priv = (struct slipif_priv *)mem_malloc(sizeof(struct slipif_priv));
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dmem.c10 * To let mem_malloc() use pools (prevents fragmentation and is much faster than
79 mem_malloc(mem_size_t size) function
97 LWIP_ASSERT("mem_malloc(): no pool is that big!", 0);
123 * Free memory previously allocated by mem_malloc. Loads the pool number
216 /* mem_malloc is protected using semaphore AND LWIP_MEM_ALLOC_PROTECT */
308 * call to mem_malloc()
359 * Shrink memory returned by mem_malloc().
361 * @param rmem pointer to memory allocated by mem_malloc the is to be shrinked
485 * Adam's mem_malloc() plus solution for bug #17922
494 mem_malloc(mem_size_ function
[all...]
H A Dpbuf.c308 p = (struct pbuf*)mem_malloc(LWIP_MEM_ALIGN_SIZE(SIZEOF_STRUCT_PBUF + offset) + LWIP_MEM_ALIGN_SIZE(length));
H A Ddhcp.c579 * Using this prevents dhcp_start to allocate it using mem_malloc.
654 dhcp = (struct dhcp *)mem_malloc(sizeof(struct dhcp));
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dmem.c249 * Adam's mem_malloc(), suffers from bug #17922
250 * Set if to 0 for alternative mem_malloc().
253 mem_malloc(mem_size_t size) function
305 LWIP_ASSERT("mem_malloc: !lfree->used", !lfree->used);
308 LWIP_ASSERT("mem_malloc: allocated memory not above ram_end.",
310 LWIP_ASSERT("mem_malloc: allocated memory properly aligned.",
315 LWIP_DEBUGF(MEM_DEBUG | 2, ("mem_malloc: could not allocate %"S16_F" bytes\n", (s16_t)size));
324 * Adam's mem_malloc() plus solution for bug #17922
327 mem_malloc(mem_size_t size) function
393 LWIP_ASSERT("mem_malloc
[all...]
H A Ddhcp.c471 dhcp->boot_file_name = mem_malloc(strlen(dhcp->msg_in->file) + 1);
534 dhcp = mem_malloc(sizeof(struct dhcp));
583 dhcp = mem_malloc(sizeof(struct dhcp));
1089 dhcp->options_in = mem_malloc(dhcp->options_in_len);
1096 dhcp->msg_in = mem_malloc(sizeof(struct dhcp_msg) - DHCP_OPTIONS_LEN);
H A Dpbuf.c306 p = mem_malloc(MEM_ALIGN_SIZE(sizeof(struct pbuf) + offset) + MEM_ALIGN_SIZE(length));
/vbox/src/VBox/Devices/Network/lwip/src/core/snmp/
H A Dmsg_in.c181 vb = (struct snmp_varbind *)mem_malloc(sizeof(struct snmp_varbind));
199 vb->value = mem_malloc(vb->value_len);
298 vb = (struct snmp_varbind *)mem_malloc(sizeof(struct snmp_varbind));
316 vb->value = mem_malloc(vb->value_len);
1330 vb = (struct snmp_varbind *)mem_malloc(sizeof(struct snmp_varbind));
1343 vb->ident = (s32_t*)mem_malloc(sizeof(s32_t) * i);
1366 vb->value = mem_malloc(len);
H A Dmib_structs.c172 ln = (struct mib_list_node *)mem_malloc(sizeof(struct mib_list_node));
194 lrn = (struct mib_list_rootnode*)mem_malloc(sizeof(struct mib_list_rootnode));
/vbox/src/VBox/Devices/Network/lwip/vbox/include/
H A Dlwipopts.h194 #define mem_malloc lwip_mem_malloc macro
/vbox/src/VBox/Devices/Network/lwip-new/vbox/include/
H A Dlwip-namespace.h95 #define mem_malloc lwip_mem_malloc macro
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ipv4/
H A Dautoip.c127 * Using this prevents autoip_start to allocate it using mem_malloc.
308 autoip = (struct autoip *)mem_malloc(sizeof(struct autoip));
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/
H A Dppp_oe.c439 sc->sc_hunique = mem_malloc(hunique_len);
477 sc->sc_hunique = mem_malloc(hunique_len);

Completed in 82 milliseconds