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

/freebsd-11-stable/sys/net/altq/
H A Daltq_rmclass.c970 u_int deficit; local
1004 deficit = 0;
1009 * During the second loop at this level, deficit==2.
1018 if ((deficit < 2) && (cl->bytes_alloc_ <= 0))
1023 if (cl->bytes_alloc_ > 0 || deficit > 1)
1027 deficit = 1;
1040 if (deficit == 1) {
1041 /* first loop found an underlimit class with deficit */
1042 /* Loop on same priority level, with new deficit. */
1043 deficit
[all...]
/freebsd-11-stable/sys/netpfil/ipfw/
H A Ddn_sched_fq_codel.c318 si->flows[idx].deficit = param->quantum;
379 /* if there is no flow(sub-queue) deficit, increase deficit
384 if (f->deficit < 0) {
385 f->deficit += param->quantum;
419 * update flow deficit and return the packet*/
420 f->deficit -= mbuf->m_pkthdr.len;
H A Ddn_sched_fq_codel.h64 int deficit; member in struct:fq_codel_flow
H A Ddn_sched_fq_pie.c111 int deficit; member in struct:fq_pie_flow
893 flows[idx].deficit = param->quantum;
951 /* if there is no flow(sub-queue) deficit, increase deficit
956 if (f->deficit < 0) {
957 f->deficit += param->quantum;
992 * update flow deficit and return the packet*/
993 f->deficit -= mbuf->m_pkthdr.len;
/freebsd-11-stable/sys/vm/
H A Dvm_pageout.c148 int vm_pageout_deficit; /* Estimated number of pages deficit */
1077 int act_delta, addl_page_shortage, deficit, inactq_shortage, maxscan; local
1114 deficit = atomic_readandclear_int(&vm_pageout_deficit);
1115 page_shortage = vm_paging_target() + deficit;
1117 page_shortage = deficit = 0;
1341 vm_paging_target() + deficit + addl_page_shortage;

Completed in 150 milliseconds