Searched refs:p_numbytes (Results 1 – 1 of 1) sorted by relevance
906 int64_t p_numbytes = p->numbytes; in ready_event_wfq() local911 p_numbytes += (curr_time - p->sched_time) * p->bandwidth; in ready_event_wfq()925 while (p_numbytes >= 0 && (sch->elements > 0 || neh->elements > 0)) { in ready_event_wfq()934 p_numbytes -= len_scaled; in ready_event_wfq()973 p_numbytes = -1; /* mark not ready for I/O */ in ready_event_wfq()977 if (sch->elements == 0 && neh->elements == 0 && p_numbytes >= 0 in ready_event_wfq()999 if (p->if_name[0] == 0 && p_numbytes < 0) { /* this implies bandwidth >0 */ in ready_event_wfq()1003 t = (p->bandwidth - 1 - p_numbytes) / p->bandwidth; in ready_event_wfq()1014 if (p_numbytes > INT_MAX) { in ready_event_wfq()1016 } else if (p_numbytes < INT_MIN) { in ready_event_wfq()[all …]