Lines Matching refs:ks_module
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,
178 if ((!ks_module || (strcmp(hash_entry->module_name,
179 ks_module)) == 0) && ks_name &&
198 (ks_module && strcmp(ksp->ks_module, ks_module) == 0) &&
219 if (!ksp->ks_module || !ksp->ks_instance)
235 hash_index = kstat_record_hash(ksp->ks_name, ksp->ks_module,
244 ks_entry->module_name = ksp->ks_module;
268 hash_index = kstat_record_hash(ksp->ks_name, ksp->ks_module,
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));
575 (ks_module == NULL ||
576 strcmp(ksp->ks_module, ks_module) == 0) &&