Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/kern/
H A Duipc_mbuf_mcache.c907 sp->mbcl_ctotal -= (m_total(MC_MBUF_CL) + in mbuf_stat_sync()
908 m_total(MC_MBUF_BIGCL) - m_total(MC_MBUF_16KCL)); in mbuf_stat_sync()
913 sp->mbcl_ctotal -= m_total(MC_MBUF_CL); in mbuf_stat_sync()
918 sp->mbcl_ctotal -= m_total(MC_MBUF_BIGCL); in mbuf_stat_sync()
923 sp->mbcl_ctotal -= m_total(MC_MBUF_16KCL); in mbuf_stat_sync()
937 …if (m_total(mclass) - m_infree(mclass) >= (m_maxlimit(mclass) * mb_memory_pressure_percentage) / 1… in mbuf_class_under_pressure()
971 …if (m_total(mclass) - m_infree(mclass) - cached >= (m_maxlimit(mclass) * mb_memory_pressure_percen… in mbuf_class_under_pressure()
974 __func__, mclass, m_total(mclass), m_infree(mclass), cached, m_maxlimit(mclass)); in mbuf_class_under_pressure()
1159 VERIFY(m_total(MC_BIGCL) == 0 && m_minlimit(MC_BIGCL) != 0); in mbinit()
1161 VERIFY(m_total(MC_BIGCL) >= m_minlimit(MC_BIGCL)); in mbinit()
[all …]
H A Duipc_mbuf.c601 m_ctotal(MC_MBUF) -= (m_total(MC_MBUF_CL) + in mbuf_stat_sync()
602 m_total(MC_MBUF_BIGCL) - in mbuf_stat_sync()
603 m_total(MC_MBUF_16KCL)); in mbuf_stat_sync()
604 m_ctotal(MC_CL) -= m_total(MC_MBUF_CL); in mbuf_stat_sync()
605 m_ctotal(MC_BIGCL) -= m_total(MC_MBUF_BIGCL); in mbuf_stat_sync()
606 m_ctotal(MC_16KCL) -= m_total(MC_MBUF_16KCL); in mbuf_stat_sync()
609 mbstat.m_mbufs = m_total(MC_MBUF); in mbuf_stat_sync()
610 mbstat.m_clusters = m_total(MC_CL); in mbuf_stat_sync()
613 mbstat.m_bigclusters = m_total(MC_BIGCL); in mbuf_stat_sync()
1454 m_total(MC_BIGCL) = m_minlimit(MC_BIGCL); in mbinit()
[all …]
/xnu-12377.41.6/bsd/sys/
H A Dmbuf.h1932 #define m_total(c) mbuf_table[c].mtbl_stats->mbcl_total macro