Searched refs:tbr_depth (Results 1 – 2 of 2) sorted by relevance
657 tbr->tbr_token = tbr->tbr_depth; in ifclassq_tbr_dequeue_common()660 if (tbr->tbr_token > tbr->tbr_depth) { in ifclassq_tbr_dequeue_common()661 tbr->tbr_token = tbr->tbr_depth; in ifclassq_tbr_dequeue_common()795 tbr->tbr_depth = TBR_SCALE(profile->depth); in ifclassq_tbr_set()796 if (tbr->tbr_depth == 0) { in ifclassq_tbr_set()799 tbr->tbr_depth = idepth + (idepth >> 3); in ifclassq_tbr_set()801 tbr->tbr_filluptime = tbr->tbr_depth / tbr->tbr_rate; in ifclassq_tbr_set()804 tbr->tbr_depth = TBR_SCALE(profile->depth); in ifclassq_tbr_set()807 tbr->tbr_token = tbr->tbr_depth; in ifclassq_tbr_set()
84 int64_t tbr_depth; /* (scaled) token bucket depth */ member