Searched refs:tbr_depth (Results 1 – 2 of 2) sorted by relevance
675 tbr->tbr_token = tbr->tbr_depth; in ifclassq_tbr_dequeue_common()678 if (tbr->tbr_token > tbr->tbr_depth) { in ifclassq_tbr_dequeue_common()679 tbr->tbr_token = tbr->tbr_depth; in ifclassq_tbr_dequeue_common()814 tbr->tbr_depth = TBR_SCALE(profile->depth); in ifclassq_tbr_set_locked()815 if (tbr->tbr_depth == 0) { in ifclassq_tbr_set_locked()818 tbr->tbr_depth = idepth + (idepth >> 3); in ifclassq_tbr_set_locked()820 tbr->tbr_filluptime = tbr->tbr_depth / tbr->tbr_rate; in ifclassq_tbr_set_locked()823 tbr->tbr_depth = TBR_SCALE(profile->depth); in ifclassq_tbr_set_locked()826 tbr->tbr_token = tbr->tbr_depth; in ifclassq_tbr_set_locked()
84 int64_t tbr_depth; /* (scaled) token bucket depth */ member