Searched defs:ram (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dmem.c71 static u8_t ram[MEM_SIZE + sizeof(struct mem) + MEM_ALIGNMENT]; variable
74 static u8_t *ram; variable
97 LWIP_ASSERT("plug_holes: mem >= ram", (u8_t *)mem >= ram);
104 nmem = (struct mem *)&ram[mem->next];
110 ((struct mem *)&ram[nmem->next])->prev = (u8_t *)mem - ram;
114 pmem = (struct mem *)&ram[mem->prev];
120 ((struct mem *)&ram[mem->next])->prev = (u8_t *)pmem - ram;
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dmem.c157 /** index (-> ram[next]) of the next struct */
159 /** index (-> ram[prev]) of the previous struct */
186 /** pointer to the heap (ram_heap): for alignment, ram is now a pointer instead of an array */
187 static u8_t *ram; variable
241 LWIP_ASSERT("plug_holes: mem >= ram", (u8_t *)mem >= ram);
248 nmem = (struct mem *)(void *)&ram[mem->next];
250 /* if mem->next is unused and not end of ram, combine mem and mem->next */
255 ((struct mem *)(void *)&ram[nmem->next])->prev = (mem_size_t)((u8_t *)mem - ram);
[all...]

Completed in 54 milliseconds