Lines Matching refs:first
1015 * class next gets to send a packet. Highest priority first, then
1023 * then the first class found that had a nonzero queue and is allowed to
1030 struct rm_class *cl = NULL, *first = NULL;
1049 first = cl;
1067 * was unable to send a packet the first round because
1091 } else if (first == NULL && cl->borrow_ != NULL)
1092 first = cl; /* borrowing candidate */
1100 /* first loop found an underlimit class with deficit */
1112 if (first != NULL && ifd->cutoff_ < ifd->root_->depth_) {
1119 * If LINK_EFFICIENCY is turned on, then the first overlimit
1126 if (!ifd->efficient_ || first == NULL)
1129 cl = first;
1158 if ((cl->bytes_alloc_ <= 0) || first == cl)
1187 struct rm_class *cl, *first = NULL;
1219 if (first == NULL && cl->borrow_ != NULL)
1220 first = cl;
1231 if (first != NULL && ifd->cutoff_ < ifd->root_->depth_) {
1237 * If LINK_EFFICIENCY is turned on, then the first overlimit
1242 if (!ifd->efficient_ || first == NULL)
1245 cl = first;