Lines Matching defs:rate
191 /* parse committed rate - in kilo bits / sec */
196 " committed rate missing\n"));
202 tokenmt0dbg(("tokenmt_create_action: invalid committed rate, "\
245 tokenmt0dbg(("tokenmt_create_action: peak rate "\
253 "peak rate, %u\n", cfg_parms->peak_rate));
392 uint32_t rate, cbs, pbs;
478 /* parse committed rate, if present */
479 if ((err = nvlist_lookup_uint32(nvlp, TOKENMT_COMMITTED_RATE, &rate))
481 if (rate == 0) {
484 "committed rate %u\n", cfg_parms->committed_rate));
488 cfg_parms->committed_rate = rate;
503 /* If the peak rate is not specified, then it means single rate meter */
504 if (nvlist_lookup_uint32(nvlp, TOKENMT_PEAK_RATE, &rate) == 0) {
505 cfg_parms->peak_rate = rate;
506 if ((rate == 0) || (rate < cfg_parms->committed_rate)) {
509 "committed rate %u\n", cfg_parms->committed_rate));
533 "burst/rate missing\n"));
893 /* add peak rate */