Searched refs:p_numbytes (Results 1 – 1 of 1) sorted by relevance
1030 int64_t p_numbytes = p->numbytes; in ready_event_wfq() local1035 p_numbytes += (curr_time - p->sched_time) * p->bandwidth; in ready_event_wfq()1049 while (p_numbytes >= 0 && (sch->elements > 0 || neh->elements > 0)) { in ready_event_wfq()1058 p_numbytes -= len_scaled; in ready_event_wfq()1097 p_numbytes = -1; /* mark not ready for I/O */ in ready_event_wfq()1101 if (sch->elements == 0 && neh->elements == 0 && p_numbytes >= 0 in ready_event_wfq()1123 if (p->if_name[0] == 0 && p_numbytes < 0) { /* this implies bandwidth >0 */ in ready_event_wfq()1127 t = (p->bandwidth - 1 - p_numbytes) / p->bandwidth; in ready_event_wfq()1138 if (p_numbytes > INT_MAX) { in ready_event_wfq()1140 } else if (p_numbytes < INT_MIN) { in ready_event_wfq()[all …]