Lines Matching refs:p_numbytes
900 int64_t p_numbytes = p->numbytes; in ready_event_wfq() local
905 p_numbytes += (curr_time - p->sched_time) * p->bandwidth; in ready_event_wfq()
919 while (p_numbytes >= 0 && (sch->elements > 0 || neh->elements > 0)) { in ready_event_wfq()
928 p_numbytes -= len_scaled; in ready_event_wfq()
967 p_numbytes = -1; /* mark not ready for I/O */ in ready_event_wfq()
971 if (sch->elements == 0 && neh->elements == 0 && p_numbytes >= 0 in ready_event_wfq()
993 if (p->if_name[0] == 0 && p_numbytes < 0) { /* this implies bandwidth >0 */ in ready_event_wfq()
997 t = (p->bandwidth - 1 - p_numbytes) / p->bandwidth; in ready_event_wfq()
1008 if (p_numbytes > INT_MAX) { in ready_event_wfq()
1010 } else if (p_numbytes < INT_MIN) { in ready_event_wfq()
1013 p->numbytes = (int)p_numbytes; in ready_event_wfq()