Searched refs:bytes_alloc_ (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/bsd/net/pktsched/
H A Dpktsched_rmclass.h196 int bytes_alloc_; /* Allocation for round of WRR */ member in struct:rm_class
H A Dpktsched_rmclass.c1078 if ((deficit < 2) && (cl->bytes_alloc_ <= 0))
1079 cl->bytes_alloc_ += cl->w_allotment_;
1083 if (cl->bytes_alloc_ > 0 || deficit > 1)
1095 cl->bytes_alloc_ = 0;
1155 if (cl->bytes_alloc_ > 0)
1156 cl->bytes_alloc_ -= m_pktlen(m);
1158 if ((cl->bytes_alloc_ <= 0) || first == cl)

Completed in 16 milliseconds