plug_holes() is only used within LwIP.
 
Symbols
loading...
Files
loading...

plug_holes() function

"Plug holes" by combining adjacent empty struct mems. After this function is through, there should not exist one empty struct mem pointing to another empty struct mem. This assumes access to the heap is protected by the calling function already.

Syntax

static void plug_holes(struct mem *mem);

Arguments

mem

this points to a struct mem which just has been freed @internal this function is only called by mem_free() and mem_trim()

References

LocationReferrerText
mem.c:474
plug_holes(struct mem *mem)
mem.c:680mem_free()
plug_holes(mem);

Call Tree

Functions calling plug_holes()
Functions called by plug_holes()
all items filtered out
plug_holes()
printf()
all items filtered out
Data read by plug_holes()
Data written by plug_holes()
plug_holes()::nmem
plug_holes()::pmem
all items filtered out
plug_holes()
plug_holes()::nmem
plug_holes()::pmem
all items filtered out
Type of plug_holes()
plug_holes()
all items filtered out