Home
last modified time | relevance | path

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

/freebsd/lib/libmemstat/
H A Dmemstat_uma.c200 mtp->mt_numallocs = uthp->uth_allocs; in memstat_sysctl_uma()
213 mtp->mt_numallocs += upsp->ups_allocs; in memstat_sysctl_uma()
223 if (mtp->mt_numallocs < mtp->mt_numfrees) in memstat_sysctl_uma()
224 mtp->mt_numallocs = mtp->mt_numfrees; in memstat_sysctl_uma()
228 mtp->mt_memalloced = mtp->mt_numallocs * uthp->uth_size; in memstat_sysctl_uma()
234 mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; in memstat_sysctl_uma()
422 mtp->mt_numallocs = kvm_counter_u64_fetch(kvm, in memstat_kvm_uma()
432 if (mtp->mt_numallocs < mtp->mt_numfrees) in memstat_kvm_uma()
433 mtp->mt_numallocs = mtp->mt_numfrees; in memstat_kvm_uma()
441 mtp->mt_numallocs += ucp->uc_allocs; in memstat_kvm_uma()
[all …]
H A Dmemstat_malloc.c215 mtp->mt_numallocs += mtsp->mts_numallocs; in memstat_sysctl_malloc()
238 mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; in memstat_sysctl_malloc()
412 mtp->mt_numallocs += mts.mts_numallocs; in memstat_kvm_malloc()
433 mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; in memstat_kvm_malloc()
H A Dmemstat_internal.h63 uint64_t mt_numallocs; /* Allocations over life time. */ member
H A Dmemstat.c190 mtp->mt_numallocs = 0; in _memstat_mt_reset_stats()
282 return (mtp->mt_numallocs); in memstat_get_numallocs()