Lines Matching defs:counter
466 counter_t counter;
469 counter.cc_count = 0;
474 counter.cc_path = corectl_path_alloc(path);
475 counter.cc_content = NULL;
477 counter.cc_path = NULL;
478 counter.cc_content = corectl_content_alloc(content);
485 error = dotoprocs(&set, set_one_proc_info, (char *)&counter);
486 if (error == 0 && counter.cc_count == 0)
493 (void) set_one_proc_info(p, &counter);
494 if (counter.cc_count == 0)
511 (void) set_one_proc_info(p, &counter);
517 else if (counter.cc_count == 0)
522 corectl_path_rele(counter.cc_path);
524 corectl_content_rele(counter.cc_content);