Home
last modified time | relevance | path

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

/xnu-8020.101.4/tools/lldbmacros/
H A Dnet.py1718 def CalcMbufInList(mpkt, pkt_cnt, buf_byte_cnt, mbuf_cnt, mbuf_cluster_cnt): argument
1725 buf_byte_cnt[int(mp.m_hdr.mh_type)] += 256
1726 buf_byte_cnt[Mbuf_Type.MT_LAST] += 256
1729 buf_byte_cnt[int(mp.m_hdr.mh_type)] += mp.M_dat.MH.MH_dat.MH_ext.ext_size
1730 buf_byte_cnt[Mbuf_Type.MT_LAST] += mp.M_dat.MH.MH_dat.MH_ext.ext_size
1916 buf_byte_cnt = [0] * (Mbuf_Type.MT_LAST + 1)
1921 CalcMbufInList(mpkt, pkt_cnt, buf_byte_cnt, mbuf_cnt, mbuf_cluster_cnt)
1925 if (buf_byte_cnt[x] != 0):
1926 …Total buf bytes of type " + Mbuf_Type.reverse_mapping[x] + " : " + str(int(buf_byte_cnt[x])) + "\n"