Lines Matching refs:ks_name
50 char *ks_name;
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,
179 ks_module)) == 0) && ks_name &&
180 (strcmp(hash_entry->ks_name, ks_name) == 0)) {
199 (ks_name && strcmp(ksp->ks_name, ks_name) == 0)) {
235 hash_index = kstat_record_hash(ksp->ks_name, ksp->ks_module,
245 if (ksp->ks_name[0] != NULL) {
246 ks_entry->ks_name = ksp->ks_name;
248 ks_entry->ks_name = tmp_name;
268 hash_index = kstat_record_hash(ksp->ks_name, ksp->ks_module,
296 free(hash_entry->ks_name);
505 (void) strcpy(k0.ks_name, "kstat_headers");
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));
577 (ks_name == NULL || strcmp(ksp->ks_name, ks_name) == 0)) {