Lines Matching defs:hash_entry
159 struct kstat_hashed_records *hash_entry;
176 hash_entry = hash_head[hash_index];
177 while (hash_entry) {
178 if ((!ks_module || (strcmp(hash_entry->module_name,
180 (strcmp(hash_entry->ks_name, ks_name) == 0)) {
181 if (ks_instance < 0 || hash_entry->instance ==
184 return (hash_entry->ksp);
187 hash_entry = hash_entry->next_entry;
260 struct kstat_hashed_records *hash_entry, *prev_entry = NULL;
279 hash_entry = hash_head[hash_index];
281 while (hash_entry) {
282 if (hash_entry->ksp == ksp)
284 prev_entry = hash_entry;
285 hash_entry = hash_entry->next_entry;
288 if (hash_entry) {
293 prev_entry->next_entry = hash_entry->next_entry;
295 if (hash_entry->allocated)
296 free(hash_entry->ks_name);
297 free(hash_entry);