Home
last modified time | relevance | path

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

/xnu-8796.121.2/tools/lldbmacros/
H A Dnet.py1720 def CalcMbufInList(mpkt, pkt_cnt, buf_byte_cnt, mbuf_cnt, mbuf_cluster_cnt): argument
1727 buf_byte_cnt[int(mp.m_hdr.mh_type)] += 256
1728 buf_byte_cnt[Mbuf_Type.MT_LAST] += 256
1731 buf_byte_cnt[int(mp.m_hdr.mh_type)] += mp.M_dat.MH.MH_dat.MH_ext.ext_size
1732 buf_byte_cnt[Mbuf_Type.MT_LAST] += mp.M_dat.MH.MH_dat.MH_ext.ext_size
1918 buf_byte_cnt = [0] * (Mbuf_Type.MT_LAST + 1)
1923 CalcMbufInList(mpkt, pkt_cnt, buf_byte_cnt, mbuf_cnt, mbuf_cluster_cnt)
1927 if (buf_byte_cnt[x] != 0):
1928 …Total buf bytes of type " + Mbuf_Type.reverse_mapping[x] + " : " + str(int(buf_byte_cnt[x])) + "\n"