Lines Matching defs:entry
113 /* Lookup table entry for matching IO devices to RCM resource usage */
275 * cfgadm_list_data entry, which is the static system board
1467 /* Add an entry to the lookup table for this physical device */
1523 /* Add lookup entry for this minor node */
1561 /* Add lookup entry for this devlink */
1916 * Indices are assigned to each array entry in-order so that
1921 * the devinfo tree via di_walk_node(), lookup entry name is
1924 * each minor associated with a node via di_walk_minor(), lookup entry
1927 * path via di_devlink_walk(), lookup entry name is di_devlink_path()
1970 * lookup table entry names are full pathname strings, all start with /
1999 * Given a RCM resource name, find the matching entry in the IO device table
2004 lookup_entry_t *entry;
2009 entry = bsearch(&lookup_arg, table->table, table->n_entries,
2013 if (entry != NULL) {
2014 dprintf((stderr, " found entry:%d\n", entry->index));
2017 return (entry);
2021 * Add RCM usage to the given device table entry.
2025 add_usage(lookup_entry_t *entry, const char *rcm_rsrc, rcm_info_tuple_t *tuple)
2031 if ((entry == NULL) ||
2038 size = (entry->n_usage + 1) * sizeof (usage_t);
2039 new_usage = (usage_t *)realloc(entry->usage, size);
2045 dprintf((stderr, "add_usage: entry %d rsrc: %s info: %s\n",
2046 entry->index, rcm_rsrc, info));
2048 entry->usage = new_usage;
2049 entry->usage[entry->n_usage].rsrc = rcm_rsrc;
2050 entry->usage[entry->n_usage].info = info;
2051 entry->n_usage += 1;