Lines Matching refs:sbuf
194 char *sbuf, *dsp, *dp, ta; in ddi_devid_str_encode() local
199 if ((sbuf = DEVID_MALLOC(4)) == NULL) in ddi_devid_str_encode()
201 *(sbuf+0) = DEVID_MAGIC_MSB; in ddi_devid_str_encode()
202 *(sbuf+1) = DEVID_MAGIC_LSB; in ddi_devid_str_encode()
203 *(sbuf+2) = '0'; in ddi_devid_str_encode()
204 *(sbuf+3) = 0; in ddi_devid_str_encode()
205 return (sbuf); in ddi_devid_str_encode()
240 if ((sbuf = DEVID_MALLOC(slen)) == NULL) in ddi_devid_str_encode()
244 dsp = sbuf; in ddi_devid_str_encode()
279 DEVID_ASSERT((strlen(sbuf) + 1) == slen); in ddi_devid_str_encode()
280 return (sbuf); in ddi_devid_str_encode()