Lines Matching refs:num
222 unsigned int num; in parse_monitor_param() local
238 for (num = 0; num < avail_monitors; num++) { in parse_monitor_param()
239 if (!strcmp(monitors[num]->name, token)) { in parse_monitor_param()
241 tmp_mons[hits] = monitors[num]; in parse_monitor_param()
284 unsigned int num; in fork_it() local
292 for (num = 0; num < avail_monitors; num++) in fork_it()
293 monitors[num]->start(); in fork_it()
313 for (num = 0; num < avail_monitors; num++) in fork_it()
314 monitors[num]->stop(); in fork_it()
326 unsigned int num; in do_interval_measure() local
333 for (num = 0; num < avail_monitors; num++) { in do_interval_measure()
335 monitors[num]->name, monitors[num]->hw_states_num); in do_interval_measure()
336 monitors[num]->start(); in do_interval_measure()
345 for (num = 0; num < avail_monitors; num++) in do_interval_measure()
346 monitors[num]->stop(); in do_interval_measure()
389 unsigned int num; in cmd_monitor() local
409 for (num = 0; all_monitors[num]; num++) { in cmd_monitor()
410 dprint("Try to register: %s\n", all_monitors[num]->name); in cmd_monitor()
411 test_mon = all_monitors[num]->do_register(); in cmd_monitor()
419 dprint("%s registered\n", all_monitors[num]->name); in cmd_monitor()
462 for (num = 0; num < avail_monitors; num++) { in cmd_monitor()
463 if (monitors[num]->unregister) in cmd_monitor()
464 monitors[num]->unregister(); in cmd_monitor()