Microchip® Advanced 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
 

size_t malloc_state::dvsize
char* malloc_state::least_addr
size_t malloc_state::magic

Referenced by init_user_mstate(), and sys_alloc().

flag_t malloc_state::mflags

Referenced by init_user_mstate().

mchunkptr malloc_state::smallbins[(NSMALLBINS+1)*2]
binmap_t malloc_state::smallmap

Referenced by mspace_malloc().

tbinptr malloc_state::treebins[NTREEBINS]
binmap_t malloc_state::treemap
size_t malloc_state::trim_check

Referenced by init_top(), and sys_trim().