Lines Matching refs:sbuf
197 char *sbuf, *dsp, *dp, ta; in ddi_devid_str_encode() local
202 if ((sbuf = DEVID_MALLOC(4)) == NULL) in ddi_devid_str_encode()
204 *(sbuf+0) = DEVID_MAGIC_MSB; in ddi_devid_str_encode()
205 *(sbuf+1) = DEVID_MAGIC_LSB; in ddi_devid_str_encode()
206 *(sbuf+2) = '0'; in ddi_devid_str_encode()
207 *(sbuf+3) = 0; in ddi_devid_str_encode()
208 return (sbuf); in ddi_devid_str_encode()
243 if ((sbuf = DEVID_MALLOC(slen)) == NULL) in ddi_devid_str_encode()
247 dsp = sbuf; in ddi_devid_str_encode()
282 DEVID_ASSERT((strlen(sbuf) + 1) == slen); in ddi_devid_str_encode()
283 return (sbuf); in ddi_devid_str_encode()