Searched refs:deficit (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/sys/netpfil/ipfw/
H A Ddn_sched_fq_codel.h67 int deficit; member in struct:fq_codel_flow
H A Ddn_sched_fq_codel.c317 si->flows[idx].deficit = param->quantum;
378 /* if there is no flow(sub-queue) deficit, increase deficit
383 if (f->deficit < 0) {
384 f->deficit += param->quantum;
418 * update flow deficit and return the packet*/
419 f->deficit -= mbuf->m_pkthdr.len;
H A Ddn_sched_fq_pie.c113 int deficit; member in struct:fq_pie_flow
894 flows[idx].deficit = param->quantum;
952 /* if there is no flow(sub-queue) deficit, increase deficit
957 if (f->deficit < 0) {
958 f->deficit += param->quantum;
993 * update flow deficit and return the packet*/
994 f->deficit -= mbuf->m_pkthdr.len;
/freebsd-13-stable/sys/net/altq/
H A Daltq_rmclass.c960 u_int deficit; local
994 deficit = 0;
999 * During the second loop at this level, deficit==2.
1008 if ((deficit < 2) && (cl->bytes_alloc_ <= 0))
1013 if (cl->bytes_alloc_ > 0 || deficit > 1)
1017 deficit = 1;
1030 if (deficit == 1) {
1031 /* first loop found an underlimit class with deficit */
1032 /* Loop on same priority level, with new deficit. */
1033 deficit
[all...]
/freebsd-13-stable/sys/vm/
H A Dvm_pageout.c1713 u_int addl_page_shortage, deficit, page_shortage; local
1719 * that the allocations will be reattempted and thus include the deficit
1722 deficit = atomic_readandclear_int(&vmd->vmd_pageout_deficit);
1723 starting_page_shortage = shortage + deficit;
1782 *addl_shortage = addl_page_shortage + deficit;

Completed in 115 milliseconds