Lines Matching refs:ret_buf
81 i_promname_to_devname(char *prom_name, char *ret_buf)
83 if (prom_name == NULL || ret_buf == NULL ||
87 if (i_ddi_prompath_to_devfspath(prom_name, ret_buf) != DDI_SUCCESS)
205 * return a 0 on success with the new device string in ret_buf.
210 i_devname_to_promname(char *dev_name, char *ret_buf, size_t len)
223 if ((dev_name == NULL) || (ret_buf == NULL) ||
240 bzero(ret_buf, len);
244 (void) snprintf(ret_buf, len, "%s", dev_name);
263 rptr = ret_buf;
373 /* now add as much of offline to ret_buf as possible */
380 ret_buf[len - 1] = '\0';
381 ret_buf[len - 2] = '\0';