Home
last modified time | relevance | path

Searched refs:m_mtypes (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/usr.bin/netstat/
H A Dmbuf.c79 const int nmbtypes = sizeof(mbstat.m_mtypes) / sizeof(short);
156 totmbufs += mbstat.m_mtypes[mp->mt_type]; in mbpr()
159 if (mbstat.m_mtypes[mp->mt_type]) { in mbpr()
162 mbstat.m_mtypes[mp->mt_type], mp->mt_name); in mbpr()
166 if (!seen[i] && mbstat.m_mtypes[i]) { in mbpr()
168 mbstat.m_mtypes[i], i); in mbpr()
/netbsd-src/usr.bin/systat/
H A Dmbufs.c94 if (mb->m_mtypes[i] > max) { in showmbufs()
95 max = mb->m_mtypes[i]; in showmbufs()
115 mb->m_mtypes[idx] = 0; in showmbufs()
/netbsd-src/sys/sys/
H A Dmbuf.h696 u_short m_mtypes[256]; /* type specific mbuf allocations */ member
700 u_int m_mtypes[256]; /* type specific mbuf allocations */ member
/netbsd-src/tests/net/bpf/
H A Dt_bpf.c74 return mbstat.m_mtypes[MT_DATA]; in getmtdata()
/netbsd-src/sys/kern/
H A Duipc_mbuf.c401 mb->m_mtypes[type] += diff; in mbstat_type_add()
413 for (i = 0; i < __arraycount(mbs->m_mtypes); i++) { in mbstat_convert_to_user_cb()
414 mbs->m_mtypes[i] += mbsc->m_mtypes[i];