Searched refs:mbstat (Results 1 - 3 of 3) sorted by relevance

/xnu-2782.1.97/bsd/kern/
H A Dkpi_mbuf.c1058 stats->mbufs = mbstat.m_mbufs;
1059 stats->clusters = mbstat.m_clusters;
1060 stats->clfree = mbstat.m_clfree;
1061 stats->drops = mbstat.m_drops;
1062 stats->wait = mbstat.m_wait;
1063 stats->drain = mbstat.m_drain;
1064 __builtin_memcpy(stats->mtypes, mbstat.m_mtypes, sizeof(stats->mtypes));
1065 stats->mcfail = mbstat.m_mcfail;
1066 stats->mpfail = mbstat.m_mpfail;
1067 stats->msize = mbstat
[all...]
H A Duipc_mbuf.c880 * Similar to mbstat structure, the mb_stat structure is protected by the
896 * They are mirrored in mbstat to support legacy applications (e.g. netstat).
897 * Unlike before, the kernel no longer relies on the contents of mbstat for
900 * With the exception of the mbstat.m_mtypes array (see below), all of the
903 struct mbstat mbstat; variable in typeref:struct:mbstat
906 (sizeof (mbstat.m_mtypes) / sizeof (mbstat.m_mtypes[0]))
911 * done in order to avoid writing to the global mbstat data structure which
912 * would cause false sharing. During sysctl request for kern.ipc.mbstat,
[all...]
/xnu-2782.1.97/bsd/sys/
H A Dmbuf.h892 struct mbstat { struct
1063 extern struct mbstat mbstat; /* statistics */

Completed in 35 milliseconds