lfree is only used within LwIP.
 
Symbols
loading...
Files
loading...

lfree variable

pointer to the lowest free block, this is used for faster search

Syntax

static struct mem * LWIP_MEM_LFREE_VOLATILE lfree;

References

LocationReferrerText
mem.c:421
static struct mem * LWIP_MEM_LFREE_VOLATILE lfree;
mem.c:489plug_holes()
if (lfree == nmem) {
mem.c:490plug_holes()
lfree = mem;
mem.c:502plug_holes()
if (lfree == mem) {
mem.c:503plug_holes()
lfree = pmem;
mem.c:538mem_init()
lfree = (struct mem *)(void *)ram;
mem.c:672mem_free()
if (mem < lfree) {
mem.c:674mem_free()
lfree = mem;
mem.c:762mem_trim()
if (lfree == mem2) {
mem.c:763mem_trim()
lfree = ptr_to_mem(ptr2);
mem.c:792mem_trim()
if (mem2 < lfree) {
mem.c:793mem_trim()
lfree = mem2;
mem.c:870mem_malloc()
for (ptr = mem_to_ptr(lfree); ptr < MEM_SIZE_ALIGNED - size;
mem.c:931mem_malloc()
if (mem == lfree) {
mem.c:932mem_malloc()
struct mem *cur = lfree;
mem.c:948mem_malloc()
lfree = cur;
mem.c:949mem_malloc()
LWIP_ASSERT("mem_malloc: !lfree->used", ((lfree == ram_end) || (!lfree->used)));

Data Use

Functions writing lfree
Functions reading lfree
lfree
Type of lfree
lfree
all items filtered out