Home
last modified time | relevance | path

Searched refs:tbr_depth (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.41.6/bsd/net/classq/
H A Dclassq_subr.c675 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()
H A Dif_classq.h84 int64_t tbr_depth; /* (scaled) token bucket depth */ member