Home
last modified time | relevance | path

Searched refs:_mem_stats (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/external/gpl2/lvm2/dist/libdm/mm/
H A Ddbg_malloc.c53 } _mem_stats = { variable
85 nb->id = ++_mem_stats.block_serialno; in dm_malloc_aux_debug()
110 _mem_stats.blocks_allocated++; in dm_malloc_aux_debug()
111 if (_mem_stats.blocks_allocated > _mem_stats.blocks_max) in dm_malloc_aux_debug()
112 _mem_stats.blocks_max = _mem_stats.blocks_allocated; in dm_malloc_aux_debug()
114 _mem_stats.bytes += s; in dm_malloc_aux_debug()
115 if (_mem_stats.bytes > _mem_stats.mbytes) in dm_malloc_aux_debug()
116 _mem_stats.mbytes = _mem_stats.bytes; in dm_malloc_aux_debug()
164 assert(_mem_stats.blocks_allocated); in dm_free_aux()
165 _mem_stats.blocks_allocated--; in dm_free_aux()
[all …]