Lines Matching refs:lookup_instance
670 int lookup_instance;
681 lookup_instance = 0;
682 while ((ksp = kstat_lookup(kc, (char*) "cpu_info", lookup_instance, NULL))) {
683 lookup_instance++;
686 *cpu_infos = uv__malloc(lookup_instance * sizeof(**cpu_infos));
692 *count = lookup_instance;
695 lookup_instance = 0;
696 while ((ksp = kstat_lookup(kc, (char*) "cpu_info", lookup_instance, NULL))) {
712 lookup_instance++;
717 lookup_instance = 0;
719 ksp = kstat_lookup(kc, (char*) "cpu", lookup_instance, (char*) "sys");
749 lookup_instance++;