Lines Matching +full:128 +full:m

270 	struct mbuf *m;  in ng_car_rcvdata()  local
282 m = NGI_M(item); in ng_car_rcvdata()
296 m_tag_prepend(m, &colp->tag); \ in ng_car_rcvdata()
310 /* Packet is counted as 128 tokens for better resolution */ in ng_car_rcvdata()
312 len = 128; in ng_car_rcvdata()
314 len = m->m_pkthdr.len; in ng_car_rcvdata()
318 colp = (void *)m_tag_locate(m, M_QOS_COOKIE, M_QOS_COLOR, NULL); in ng_car_rcvdata()
469 /* Convert internal 1/(8*128) of pps into pps */ in ng_car_rcvmsg()
473 bconf->downstream.cbs /= 128; in ng_car_rcvmsg()
474 bconf->downstream.ebs /= 128; in ng_car_rcvmsg()
479 bconf->upstream.cbs /= 128; in ng_car_rcvmsg()
480 bconf->upstream.ebs /= 128; in ng_car_rcvmsg()
494 /* Convert pps into internal 1/(8*128) of pps */ in ng_car_rcvmsg()
498 bconf->downstream.cbs *= 128; in ng_car_rcvmsg()
499 bconf->downstream.ebs *= 128; in ng_car_rcvmsg()
504 bconf->upstream.cbs *= 128; in ng_car_rcvmsg()
505 bconf->upstream.ebs *= 128; in ng_car_rcvmsg()
705 struct mbuf *m; in ng_car_q_event() local
714 m = hinfo->q[hinfo->q_first]; in ng_car_q_event()
715 NG_SEND_DATA_ONLY(error, hinfo->dest, m); in ng_car_q_event()
730 m = hinfo->q[hinfo->q_first]; in ng_car_q_event()
732 hinfo->tc -= 128; in ng_car_q_event()
734 hinfo->tc -= m->m_pkthdr.len; in ng_car_q_event()
750 struct mbuf *m; in ng_car_enqueue() local
755 NGI_GET_M(item, m); in ng_car_enqueue()
759 colp = (void *)m_tag_locate(m, M_QOS_COOKIE, M_QOS_COLOR, NULL); in ng_car_enqueue()
780 NG_FREE_M(m); in ng_car_enqueue()
788 hinfo->q[hinfo->q_last] = m; in ng_car_enqueue()
800 hinfo->tc -= 128; in ng_car_enqueue()
802 hinfo->tc -= m->m_pkthdr.len; in ng_car_enqueue()