Home
last modified time | relevance | path

Searched refs:mbstat (Results 1 – 8 of 8) sorted by relevance

/original-bsd/usr.bin/netstat/
H A Dmbuf.c23 struct mbstat mbstat; variable
46 int nmbtypes = sizeof(mbstat.m_mtypes) / sizeof(short);
69 if (kread(mbaddr, (char *)&mbstat, sizeof (mbstat)))
73 totmbufs += mbstat.m_mtypes[mp->mt_type];
76 if (mbstat.m_mtypes[mp->mt_type]) {
79 mbstat.m_mtypes[mp->mt_type], mp->mt_name);
83 if (!seen[i] && mbstat.m_mtypes[i]) {
85 mbstat.m_mtypes[i], i);
88 mbstat.m_clusters - mbstat.m_clfree, mbstat.m_clusters);
89 totmem = totmbufs * MSIZE + mbstat.m_clusters * MCLBYTES;
[all …]
/original-bsd/sys/sys/
H A Dmbuf.h148 MBUFLOCK(mbstat.m_mtypes[type]++;) \
161 MBUFLOCK(mbstat.m_mtypes[type]++;) \
193 mbstat.m_clfree--; \
212 mbstat.m_clfree++; \
223 { MBUFLOCK(mbstat.m_mtypes[(m)->m_type]--;) \
236 { MBUFLOCK(mbstat.m_mtypes[(m)->m_type]--;) \
304 MBUFLOCK(mbstat.m_mtypes[(m)->m_type]--; mbstat.m_mtypes[t]++;) \
317 struct mbstat { struct
331 struct mbstat mbstat; argument
/original-bsd/usr.bin/systat/
H A Dmbufs.c23 static struct mbstat *mb;
127 mb = (struct mbstat *)calloc(1, sizeof (*mb)); in initmbufs()
/original-bsd/old/adb/common_scripts/
H A Dmbstat1 mbstat/"bufs"8t"hiwat"8t"lowat"8t"clusts"8t"drops"ndddddn
H A DMakefile6 inode inpcb iovec ipreass ipreass.nxt mact mact.nxt mbstat \
/original-bsd/sys/netiso/
H A Dtp_param.h263 mbstat.m_mtypes[(m)->m_type]--; mbstat.m_mtypes[TYPE]++; \
H A Dtp_emit.c171 mbstat.m_mtypes[TPMT_TPHDR]++;
/original-bsd/sys/kern/
H A Duipc_mbuf.c72 mbstat.m_clfree++;
74 mbstat.m_clusters += ncl;
123 mbstat.m_drain++; in m_reclaim()