Lines Matching defs:rates
1146 }, rates[] = {
1157 for (i = 0; rates[i].name != NULL; i++) {
1158 if (dtrace_getopt(g_dtp, rates[i].optname, &rates[i].val) == -1)
1159 fatal("couldn't get option %s", rates[i].optname);
1192 for (i = 0; rates[i].name != NULL; i++) {
1196 if (rates[i].val == DTRACEOPT_UNSET)
1199 (void) dtrace_getopt(g_dtp, rates[i].optname, &nval);
1204 if (rates[i].val == nval)
1207 dir = nval > rates[i].val ? "reduced" : "increased";
1210 error("%s %s to %lld hz\n", rates[i].name, dir,
1217 rates[i].name, dir,
1223 rates[i].name, dir, (long long)nval);