Lines Matching refs:lookup_instance
663 int lookup_instance;
674 lookup_instance = 0;
675 while ((ksp = kstat_lookup(kc, (char*) "cpu_info", lookup_instance, NULL))) {
676 lookup_instance++;
679 *cpu_infos = uv__malloc(lookup_instance * sizeof(**cpu_infos));
685 *count = lookup_instance;
688 lookup_instance = 0;
689 while ((ksp = kstat_lookup(kc, (char*) "cpu_info", lookup_instance, NULL))) {
705 lookup_instance++;
710 lookup_instance = 0;
712 ksp = kstat_lookup(kc, (char*) "cpu", lookup_instance, (char*) "sys");
742 lookup_instance++;