Lines Matching refs:ret_buf
114 static int prom_dev_to_alias(char *dev, uint_t options, char ***ret_buf);
115 static int alias_to_prom_dev(char *alias, char *ret_buf);
121 static int prom_srch_node(int fd, char *prop_name, char *ret_buf);
885 char ret_buf[MAXPATHLEN]; in process_bootdev() local
939 if (devfs_prom_to_dev_name(prom_path, ret_buf) < 0) { in process_bootdev()
944 if (process_minor_name(ret_buf, default_root) < 0) { in process_bootdev()
954 bootdev_array[i]->bootdev_trans[0] = strdup(ret_buf); in process_bootdev()
1626 prom_dev_to_alias(char *dev, uint_t options, char ***ret_buf) in prom_dev_to_alias() argument
1656 if (ret_buf == NULL) { in prom_dev_to_alias()
1692 if ((*ret_buf = (char **)malloc((count + 1) * sizeof (char *))) in prom_dev_to_alias()
1699 array = *ret_buf; in prom_dev_to_alias()
2134 alias_to_prom_dev(char *alias, char *ret_buf) in alias_to_prom_dev() argument
2150 if (ret_buf == NULL) { in alias_to_prom_dev()
2210 (void) strlcpy(ret_buf, alias_def, MAXPATHLEN); in alias_to_prom_dev()
2214 if ((options_ptr = strrchr(ret_buf, ':')) == NULL) { in alias_to_prom_dev()
2215 (void) strcat(ret_buf, ":"); in alias_to_prom_dev()
2219 (void) strcat(ret_buf, options); in alias_to_prom_dev()
2228 prom_srch_node(int fd, char *prop_name, char *ret_buf) in prom_srch_node() argument
2256 (void) strlcpy(ret_buf, opp->oprom_array, MAXPATHLEN); in prom_srch_node()