Searched defs:devhash (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_utils.c41 struct devhash { struct
44 struct devhash *dev_nxt;
47 static struct devhash *dev_hash[N_DEVS];
48 static struct devhash *dev_chain;
50 static struct devhash *hashtab;
191 hashtab = malloc(NDEVS * sizeof (struct devhash));
219 struct devhash *hp, *nhp;
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_vols.c93 static hash_node_t **devhash; variable
1015 if (devhash)
1016 statinfo = nsc_lookup(devhash, path);
1151 * Add an entry into the devlist and the devhash for future lookups.
1165 if (!devhash) {
1166 devhash = nsc_create_hash();
1167 if (!devhash) {
1171 data = nsc_lookup(devhash, path);
1199 if (nsc_insert_node(devhash, &devlist[devcount], path) < 0) {
1212 if (!devhash)
[all...]

Completed in 52 milliseconds