Searched refs:tbf_n_tok (Results 1 – 2 of 2) sorted by relevance
285 uint_t tbf_n_tok; /* no of tokens in bucket */ member
994 vifp->v_tbf->tbf_n_tok = 0; in add_vif()2862 (ptrdiff_t)(vifp - ipst->ips_vifs), t->tbf_n_tok, p_len, in tbf_control()2868 if (p_len <= t->tbf_n_tok) { in tbf_control()2869 t->tbf_n_tok -= p_len; in tbf_control()2993 if (len <= t->tbf_n_tok) { in tbf_process_q()2998 t->tbf_n_tok -= len; in tbf_process_q()3224 t->tbf_n_tok += (tm/1000) * vifp->v_rate_limit / 1024 / 8; in tbf_update_tokens()3227 if (t->tbf_n_tok > MAX_BKT_SIZE) in tbf_update_tokens()3228 t->tbf_n_tok = MAX_BKT_SIZE; in tbf_update_tokens()3232 tm, t->tbf_n_tok, (ptrdiff_t)(vifp - ipst->ips_vifs)); in tbf_update_tokens()