Lines Matching refs:ks_instance
155 kstat_hash_search(char *ks_module, int ks_instance, char *ks_name,
165 hash_index = kstat_record_hash(ks_name, ks_module, ks_instance,
181 if (ks_instance < 0 || hash_entry->instance ==
182 ks_instance) {
197 if ((ksp->ks_instance == ks_instance) &&
219 if (!ksp->ks_module || !ksp->ks_instance)
236 ksp->ks_instance, &tmp_name, &allocated);
243 ks_entry->instance = ksp->ks_instance;
269 ksp->ks_instance, &tmp_name, &allocated);
566 kstat_lookup(kstat_ctl_t *kc, char *ks_module, int ks_instance, char *ks_name)
570 if (ks_instance != -1 && ks_module && ks_name) {
571 return (kstat_hash_search(ks_module, ks_instance, ks_name, kc));
574 if ((ks_instance == -1 || ksp->ks_instance == ks_instance) &&