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

/macosx-10.9.5/network_cmds-433/netstat.tproj/
H A Dmbuf.c76 struct mbstat mbstat; variable in typeref:struct:mbstat
100 int nmbtypes = sizeof(mbstat.m_mtypes) / sizeof(short);
154 m_msize = mbstat.m_msize;
159 } else if (cp->mbcl_size == mbstat.m_mclbytes) {
161 } else if (cp->mbcl_size == mbstat.m_bigmclbytes) {
166 } else if (cp->mbcl_size == (m_msize + mbstat.m_mclbytes)) {
168 } else if (cp->mbcl_size == (m_msize + mbstat.m_bigmclbytes)) {
193 cp->mbcl_size > (m_msize + mbstat.m_bigmclbytes))
211 cp->mbcl_size > (m_msize + mbstat
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Dkpi_mbuf.c1036 stats->mbufs = mbstat.m_mbufs;
1037 stats->clusters = mbstat.m_clusters;
1038 stats->clfree = mbstat.m_clfree;
1039 stats->drops = mbstat.m_drops;
1040 stats->wait = mbstat.m_wait;
1041 stats->drain = mbstat.m_drain;
1042 __builtin_memcpy(stats->mtypes, mbstat.m_mtypes, sizeof(stats->mtypes));
1043 stats->mcfail = mbstat.m_mcfail;
1044 stats->mpfail = mbstat.m_mpfail;
1045 stats->msize = mbstat
[all...]
H A Duipc_mbuf.c860 * Similar to mbstat structure, the mb_stat structure is protected by the
876 * They are mirrored in mbstat to support legacy applications (e.g. netstat).
877 * Unlike before, the kernel no longer relies on the contents of mbstat for
880 * With the exception of the mbstat.m_mtypes array (see below), all of the
883 struct mbstat mbstat; variable in typeref:struct:mbstat
886 (sizeof (mbstat.m_mtypes) / sizeof (mbstat.m_mtypes[0]))
891 * done in order to avoid writing to the global mbstat data structure which
892 * would cause false sharing. During sysctl request for kern.ipc.mbstat,
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/
H A Dmbuf.h889 struct mbstat { struct
1057 extern struct mbstat mbstat; /* statistics */

Completed in 134 milliseconds