Lines Matching defs:entry
325 * Find/create a disk_list entry for given a kstat name.
350 disk_list_t *entry;
363 /* parse ks_name to create new entry */
396 /* hash by instunit and search for existing entry */
398 for (entry = *dlhp; entry; entry = entry->next) {
399 if (strcmp(entry->ks_name, ks_name) == 0) {
400 return (entry);
404 /* not found, translate kstat_name components and create new entry */
433 /* make a new entry ... */
434 entry = safe_alloc(sizeof (disk_list_t));
435 entry->ks_name = safe_strdup(ks_name);
436 entry->dname = devpath;
437 entry->dsk = adevpath;
438 entry->devidstr = devid;
442 ks_name, entry->dsk ? entry->dsk : "NULL");
445 /* add new entry to head of hashed list */
446 entry->next = *dlhp;
447 *dlhp = entry;
448 return (entry);
490 /* doing a readlink of entry (fails for non-symlinks) */