Lines Matching defs:src
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
83 di_devtype_get(topo_mod_t *mp, di_node_t src, char **devtype)
94 if (di_bytes_get(mp, src, DI_DEVTYPPROP, &sz, &buf) == 0) {
129 di_physlotinfo_get(topo_mod_t *mp, di_node_t src, int *slotnum, char **slotname)
139 (void) di_uintprop_get(mp, src, DI_PHYSPROP, (uint_t *)slotnum);
146 if (di_bytes_get(mp, src, DI_SLOTPROP, &sz, &buf) == 0 &&
185 __func__, src);
189 __func__, src, DI_SLOTPROP);
198 __func__, src);
204 __func__, src, *slotname);
210 di_slotinfo_get(topo_mod_t *mp, di_node_t src, int *nslots,
223 if (di_bytes_get(mp, src, DI_SLOTPROP, &sz, &slotbuf) < 0)
269 did_create(topo_mod_t *mp, di_node_t src,
277 if ((pd = did_hash_lookup(mp, src)) != NULL) {
286 np->dp_src = src;
294 if (di_uintprop_get(mp, src, DI_REGPROP, ®) < 0) {
313 if (di_uintprop_get(mp, src, DI_CCPROP, &code) == 0) {
322 (void) di_devtype_get(mp, src, &np->dp_devtype);
328 if (di_physlotinfo_get(mp, src, &np->dp_physlot,
340 if (di_slotinfo_get(mp, src, &np->dp_nslots,
348 did_hash_insert(mp, src, np);