Lines Matching refs:depth_
235 cl->depth_ = 0; in rmc_newclass()
472 if (p && (t->depth_ >= p->depth_)) { in rmc_depth_compute()
473 p->depth_ = t->depth_ + 1; in rmc_depth_compute()
497 p->depth_ = 0; in rmc_depth_recompute()
502 if (t->depth_ > cdepth) in rmc_depth_recompute()
503 cdepth = t->depth_; in rmc_depth_recompute()
507 if (p->depth_ == cdepth + 1) in rmc_depth_recompute()
511 p->depth_ = cdepth + 1; in rmc_depth_recompute()
519 if (cl->depth_ >= 1) { in rmc_depth_recompute()
521 cl->depth_ = 0; in rmc_depth_recompute()
731 ifd->root_->depth_ = 0; in rmc_init()
756 if (ifd->cutoff_ > cl->depth_) in rmc_queue_packet()
757 ifd->cutoff_ = cl->depth_; in rmc_queue_packet()
758 CBQTRACE(rmc_queue_packet, 'ffoc', cl->depth_); in rmc_queue_packet()
770 borrow->depth_ < ifd->cutoff_) { in rmc_queue_packet()
772 ifd->cutoff_ = borrow->depth_; in rmc_queue_packet()
782 ifd->cutoff_ = cl->borrow_->depth_; in rmc_queue_packet()
784 cl->borrow_->depth_); in rmc_queue_packet()
824 ifd->cutoff_ = p->depth_; in rmc_tl_satisfied()
848 if (cl->depth_ == 0) { in rmc_satisfied()
900 (cl->depth_ > ifd->cutoff_)) { in rmc_under_limit()
1041 if (first != NULL && ifd->cutoff_ < ifd->root_->depth_) { in _rmc_wrr_dequeue_next()
1067 ifd->cutoff_ = cl->borrow_->depth_; in _rmc_wrr_dequeue_next()
1159 if (first != NULL && ifd->cutoff_ < ifd->root_->depth_) { in _rmc_prr_dequeue_next()
1182 ifd->cutoff_ = cl->borrow_->depth_; in _rmc_prr_dequeue_next()
1385 if (borrowed && (ifd->cutoff_ >= borrowed->depth_)) { in rmc_update_class_util()
1391 ifd->cutoff_ = borrowed->depth_; in rmc_update_class_util()
1392 CBQTRACE(rmc_update_class_util, 'ffob', borrowed->depth_); in rmc_update_class_util()
1402 ifd->cutoff_ = borrowed->depth_; in rmc_update_class_util()
1403 CBQTRACE(rmc_update_class_util, 'ffob', borrowed->depth_); in rmc_update_class_util()