Lines Matching defs:devidstr
36 static int devid_str_decode_id(char *devidstr, ddi_devid_t *devidp,
286 ddi_devid_str_free(char *devidstr)
288 devid_str_free(char *devidstr)
291 DEVID_FREE(devidstr, strlen(devidstr) + 1);
296 * devid_str_encode (passed in as devidstr), return pointers to the
310 char *devidstr, ddi_devid_t *devidp, char **minor_namep)
312 return (devid_str_decode_id(devidstr, devidp, minor_namep, NULL));
317 devid_str_decode_id(char *devidstr, ddi_devid_t *devidp,
331 if (devidstr == NULL)
335 slen = strlen(devidstr);
336 if ((slen < 3) || (devidstr[0] != DEVID_MAGIC_MSB) ||
337 (devidstr[1] != DEVID_MAGIC_LSB))
341 if ((devidstr[2] == '0') && (slen == 3))
349 if ((msp = strchr(&devidstr[4], '/')) != NULL)
355 if ((str = strchr(devidstr, '@')) == NULL)
394 dsp = devidstr;