Atmel Software Framework

malloc_state Struct Reference

Data Fields

mchunkptr dv
 
size_t dvsize
 
size_t footprint
 
char * least_addr
 
size_t magic
 
size_t max_footprint
 
flag_t mflags
 
msegment seg
 
mchunkptr smallbins [(NSMALLBINS+1)*2]
 
binmap_t smallmap
 
mchunkptr top
 
size_t topsize
 
tbinptr treebins [NTREEBINS]
 
binmap_t treemap
 
size_t trim_check
 

mchunkptr malloc_state::dv
size_t malloc_state::dvsize
char* malloc_state::least_addr

Referenced by mmap_alloc(), mmap_resize(), and sys_alloc().

size_t malloc_state::magic

Referenced by sys_alloc().

size_t malloc_state::max_footprint
flag_t malloc_state::mflags
mchunkptr malloc_state::smallbins[(NSMALLBINS+1)*2]
binmap_t malloc_state::smallmap
tbinptr malloc_state::treebins[NTREEBINS]
binmap_t malloc_state::treemap

Referenced by tmalloc_large(), and tmalloc_small().

size_t malloc_state::trim_check

Referenced by init_top(), and sys_trim().