• Home
  • Raw
  • Download

Lines Matching refs:astats

652 				ctl_arena_stats_t	astats;  in arenas_i_impl()  member
661 ret->astats = &cont->astats; in arenas_i_impl()
694 memset(&ctl_arena->astats->astats, 0, sizeof(arena_stats_t)); in ctl_arena_clear()
695 ctl_arena->astats->allocated_small = 0; in ctl_arena_clear()
696 ctl_arena->astats->nmalloc_small = 0; in ctl_arena_clear()
697 ctl_arena->astats->ndalloc_small = 0; in ctl_arena_clear()
698 ctl_arena->astats->nrequests_small = 0; in ctl_arena_clear()
699 memset(ctl_arena->astats->bstats, 0, NBINS * in ctl_arena_clear()
701 memset(ctl_arena->astats->lstats, 0, (NSIZES - NBINS) * in ctl_arena_clear()
715 &ctl_arena->astats->astats, ctl_arena->astats->bstats, in ctl_arena_stats_amerge()
716 ctl_arena->astats->lstats); in ctl_arena_stats_amerge()
719 ctl_arena->astats->allocated_small += in ctl_arena_stats_amerge()
720 ctl_arena->astats->bstats[i].curregs * in ctl_arena_stats_amerge()
722 ctl_arena->astats->nmalloc_small += in ctl_arena_stats_amerge()
723 ctl_arena->astats->bstats[i].nmalloc; in ctl_arena_stats_amerge()
724 ctl_arena->astats->ndalloc_small += in ctl_arena_stats_amerge()
725 ctl_arena->astats->bstats[i].ndalloc; in ctl_arena_stats_amerge()
726 ctl_arena->astats->nrequests_small += in ctl_arena_stats_amerge()
727 ctl_arena->astats->bstats[i].nrequests; in ctl_arena_stats_amerge()
755 ctl_arena_stats_t *sdstats = ctl_sdarena->astats; in ctl_arena_stats_sdmerge()
756 ctl_arena_stats_t *astats = ctl_arena->astats; in ctl_arena_stats_sdmerge() local
759 accum_atomic_zu(&sdstats->astats.mapped, in ctl_arena_stats_sdmerge()
760 &astats->astats.mapped); in ctl_arena_stats_sdmerge()
761 accum_atomic_zu(&sdstats->astats.retained, in ctl_arena_stats_sdmerge()
762 &astats->astats.retained); in ctl_arena_stats_sdmerge()
765 ctl_accum_arena_stats_u64(&sdstats->astats.decay_dirty.npurge, in ctl_arena_stats_sdmerge()
766 &astats->astats.decay_dirty.npurge); in ctl_arena_stats_sdmerge()
767 ctl_accum_arena_stats_u64(&sdstats->astats.decay_dirty.nmadvise, in ctl_arena_stats_sdmerge()
768 &astats->astats.decay_dirty.nmadvise); in ctl_arena_stats_sdmerge()
769 ctl_accum_arena_stats_u64(&sdstats->astats.decay_dirty.purged, in ctl_arena_stats_sdmerge()
770 &astats->astats.decay_dirty.purged); in ctl_arena_stats_sdmerge()
772 ctl_accum_arena_stats_u64(&sdstats->astats.decay_muzzy.npurge, in ctl_arena_stats_sdmerge()
773 &astats->astats.decay_muzzy.npurge); in ctl_arena_stats_sdmerge()
774 ctl_accum_arena_stats_u64(&sdstats->astats.decay_muzzy.nmadvise, in ctl_arena_stats_sdmerge()
775 &astats->astats.decay_muzzy.nmadvise); in ctl_arena_stats_sdmerge()
776 ctl_accum_arena_stats_u64(&sdstats->astats.decay_muzzy.purged, in ctl_arena_stats_sdmerge()
777 &astats->astats.decay_muzzy.purged); in ctl_arena_stats_sdmerge()
780 &(sdstats->astats.mutex_prof_data[ \ in ctl_arena_stats_sdmerge()
782 &(astats->astats.mutex_prof_data[ \ in ctl_arena_stats_sdmerge()
787 accum_atomic_zu(&sdstats->astats.base, in ctl_arena_stats_sdmerge()
788 &astats->astats.base); in ctl_arena_stats_sdmerge()
789 accum_atomic_zu(&sdstats->astats.internal, in ctl_arena_stats_sdmerge()
790 &astats->astats.internal); in ctl_arena_stats_sdmerge()
791 accum_atomic_zu(&sdstats->astats.resident, in ctl_arena_stats_sdmerge()
792 &astats->astats.resident); in ctl_arena_stats_sdmerge()
793 accum_atomic_zu(&sdstats->astats.metadata_thp, in ctl_arena_stats_sdmerge()
794 &astats->astats.metadata_thp); in ctl_arena_stats_sdmerge()
797 &astats->astats.internal, ATOMIC_RELAXED) == 0); in ctl_arena_stats_sdmerge()
801 sdstats->allocated_small += astats->allocated_small; in ctl_arena_stats_sdmerge()
803 assert(astats->allocated_small == 0); in ctl_arena_stats_sdmerge()
805 sdstats->nmalloc_small += astats->nmalloc_small; in ctl_arena_stats_sdmerge()
806 sdstats->ndalloc_small += astats->ndalloc_small; in ctl_arena_stats_sdmerge()
807 sdstats->nrequests_small += astats->nrequests_small; in ctl_arena_stats_sdmerge()
810 accum_atomic_zu(&sdstats->astats.allocated_large, in ctl_arena_stats_sdmerge()
811 &astats->astats.allocated_large); in ctl_arena_stats_sdmerge()
813 assert(atomic_load_zu(&astats->astats.allocated_large, in ctl_arena_stats_sdmerge()
816 ctl_accum_arena_stats_u64(&sdstats->astats.nmalloc_large, in ctl_arena_stats_sdmerge()
817 &astats->astats.nmalloc_large); in ctl_arena_stats_sdmerge()
818 ctl_accum_arena_stats_u64(&sdstats->astats.ndalloc_large, in ctl_arena_stats_sdmerge()
819 &astats->astats.ndalloc_large); in ctl_arena_stats_sdmerge()
820 ctl_accum_arena_stats_u64(&sdstats->astats.nrequests_large, in ctl_arena_stats_sdmerge()
821 &astats->astats.nrequests_large); in ctl_arena_stats_sdmerge()
823 accum_atomic_zu(&sdstats->astats.tcache_bytes, in ctl_arena_stats_sdmerge()
824 &astats->astats.tcache_bytes); in ctl_arena_stats_sdmerge()
827 sdstats->astats.uptime = astats->astats.uptime; in ctl_arena_stats_sdmerge()
831 sdstats->bstats[i].nmalloc += astats->bstats[i].nmalloc; in ctl_arena_stats_sdmerge()
832 sdstats->bstats[i].ndalloc += astats->bstats[i].ndalloc; in ctl_arena_stats_sdmerge()
834 astats->bstats[i].nrequests; in ctl_arena_stats_sdmerge()
837 astats->bstats[i].curregs; in ctl_arena_stats_sdmerge()
839 assert(astats->bstats[i].curregs == 0); in ctl_arena_stats_sdmerge()
841 sdstats->bstats[i].nfills += astats->bstats[i].nfills; in ctl_arena_stats_sdmerge()
843 astats->bstats[i].nflushes; in ctl_arena_stats_sdmerge()
844 sdstats->bstats[i].nslabs += astats->bstats[i].nslabs; in ctl_arena_stats_sdmerge()
845 sdstats->bstats[i].reslabs += astats->bstats[i].reslabs; in ctl_arena_stats_sdmerge()
848 astats->bstats[i].curslabs; in ctl_arena_stats_sdmerge()
850 assert(astats->bstats[i].curslabs == 0); in ctl_arena_stats_sdmerge()
853 &astats->bstats[i].mutex_data); in ctl_arena_stats_sdmerge()
858 &astats->lstats[i].nmalloc); in ctl_arena_stats_sdmerge()
860 &astats->lstats[i].ndalloc); in ctl_arena_stats_sdmerge()
862 &astats->lstats[i].nrequests); in ctl_arena_stats_sdmerge()
865 astats->lstats[i].curlextents; in ctl_arena_stats_sdmerge()
867 assert(astats->lstats[i].curlextents == 0); in ctl_arena_stats_sdmerge()
952 ctl_stats->allocated = ctl_sarena->astats->allocated_small + in ctl_refresh()
953 atomic_load_zu(&ctl_sarena->astats->astats.allocated_large, in ctl_refresh()
957 &ctl_sarena->astats->astats.base, ATOMIC_RELAXED) + in ctl_refresh()
958 atomic_load_zu(&ctl_sarena->astats->astats.internal, in ctl_refresh()
961 &ctl_sarena->astats->astats.metadata_thp, ATOMIC_RELAXED); in ctl_refresh()
963 &ctl_sarena->astats->astats.resident, ATOMIC_RELAXED); in ctl_refresh()
965 &ctl_sarena->astats->astats.mapped, ATOMIC_RELAXED); in ctl_refresh()
967 &ctl_sarena->astats->astats.retained, ATOMIC_RELAXED); in ctl_refresh()
2660 nstime_ns(&arenas_i(mib[2])->astats->astats.uptime), uint64_t) in CTL_RO_NL_CGEN()
2665 atomic_load_zu(&arenas_i(mib[2])->astats->astats.mapped, ATOMIC_RELAXED), in CTL_RO_NL_CGEN()
2668 atomic_load_zu(&arenas_i(mib[2])->astats->astats.retained, ATOMIC_RELAXED), in CTL_RO_NL_CGEN()
2673 &arenas_i(mib[2])->astats->astats.decay_dirty.npurge), uint64_t) in CTL_RO_NL_CGEN()
2676 &arenas_i(mib[2])->astats->astats.decay_dirty.nmadvise), uint64_t) in CTL_RO_NL_CGEN()
2679 &arenas_i(mib[2])->astats->astats.decay_dirty.purged), uint64_t) in CTL_RO_NL_CGEN()
2683 &arenas_i(mib[2])->astats->astats.decay_muzzy.npurge), uint64_t) in CTL_RO_NL_CGEN()
2686 &arenas_i(mib[2])->astats->astats.decay_muzzy.nmadvise), uint64_t) in CTL_RO_NL_CGEN()
2689 &arenas_i(mib[2])->astats->astats.decay_muzzy.purged), uint64_t) in CTL_RO_NL_CGEN()
2692 atomic_load_zu(&arenas_i(mib[2])->astats->astats.base, ATOMIC_RELAXED), in CTL_RO_NL_CGEN()
2695 atomic_load_zu(&arenas_i(mib[2])->astats->astats.internal, ATOMIC_RELAXED), in CTL_RO_NL_CGEN()
2698 atomic_load_zu(&arenas_i(mib[2])->astats->astats.metadata_thp, in CTL_RO_NL_CGEN()
2701 atomic_load_zu(&arenas_i(mib[2])->astats->astats.tcache_bytes, in CTL_RO_NL_CGEN()
2704 atomic_load_zu(&arenas_i(mib[2])->astats->astats.resident, ATOMIC_RELAXED), in CTL_RO_NL_CGEN()
2708 arenas_i(mib[2])->astats->allocated_small, size_t) in CTL_RO_NL_CGEN()
2710 arenas_i(mib[2])->astats->nmalloc_small, uint64_t) in CTL_RO_NL_CGEN()
2712 arenas_i(mib[2])->astats->ndalloc_small, uint64_t) in CTL_RO_NL_CGEN()
2714 arenas_i(mib[2])->astats->nrequests_small, uint64_t) in CTL_RO_NL_CGEN()
2716 atomic_load_zu(&arenas_i(mib[2])->astats->astats.allocated_large, in CTL_RO_NL_CGEN()
2720 &arenas_i(mib[2])->astats->astats.nmalloc_large), uint64_t) in CTL_RO_NL_CGEN()
2723 &arenas_i(mib[2])->astats->astats.ndalloc_large), uint64_t) in CTL_RO_NL_CGEN()
2729 &arenas_i(mib[2])->astats->astats.nmalloc_large), uint64_t) /* Intentional. */ in CTL_RO_NL_CGEN()
2757 arenas_i(mib[2])->astats->astats.mutex_prof_data[arena_prof_mutex_##mtx]) in CTL_RO_NL_CGEN()
2763 arenas_i(mib[2])->astats->bstats[mib[4]].mutex_data) in CTL_RO_NL_CGEN()
2819 arenas_i(mib[2])->astats->bstats[mib[4]].nmalloc, uint64_t)
2821 arenas_i(mib[2])->astats->bstats[mib[4]].ndalloc, uint64_t)
2823 arenas_i(mib[2])->astats->bstats[mib[4]].nrequests, uint64_t)
2825 arenas_i(mib[2])->astats->bstats[mib[4]].curregs, size_t)
2827 arenas_i(mib[2])->astats->bstats[mib[4]].nfills, uint64_t)
2829 arenas_i(mib[2])->astats->bstats[mib[4]].nflushes, uint64_t)
2831 arenas_i(mib[2])->astats->bstats[mib[4]].nslabs, uint64_t)
2833 arenas_i(mib[2])->astats->bstats[mib[4]].reslabs, uint64_t)
2835 arenas_i(mib[2])->astats->bstats[mib[4]].curslabs, size_t)
2848 &arenas_i(mib[2])->astats->lstats[mib[4]].nmalloc), uint64_t)
2851 &arenas_i(mib[2])->astats->lstats[mib[4]].ndalloc), uint64_t)
2854 &arenas_i(mib[2])->astats->lstats[mib[4]].nrequests), uint64_t)
2856 arenas_i(mib[2])->astats->lstats[mib[4]].curlextents, size_t)