Lines Matching defs:profile
299 tbr_set(struct ifaltq *ifq, struct tb_profile *profile)
310 if (profile->rate == 0) {
323 tbr->tbr_rate = TBR_SCALE(profile->rate / 8) / machclk_freq;
324 tbr->tbr_depth = TBR_SCALE(profile->depth);
385 * get token bucket regulator profile
388 tbr_get(struct ifaltq *ifq, struct tb_profile *profile)
393 profile->rate = 0;
394 profile->depth = 0;
396 profile->rate =
398 profile->depth = (u_int)TBR_UNSCALE(tbr->tbr_depth);