Lines Matching defs:default_root
149 static int process_minor_name(char *dev_path, const char *default_root);
152 const int array_size, const char *default_root);
706 devfs_uefi_get_boot(const char *default_root,
717 if (default_root == NULL) {
718 default_root = "";
719 } else if (*default_root != '/') {
722 (void) snprintf(devroot, sizeof (devroot), "%s/dev/dsk", default_root);
1256 * default_root. if set, is used to locate logical device entries in
1260 devfs_bootdev_get_list(const char *default_root,
1270 return (devfs_uefi_get_boot(default_root, bootdev_list));
1273 if (default_root == NULL) {
1274 default_root = "";
1275 } else if (*default_root != '/') {
1293 i = process_bootdev(opp->oprom_array, default_root, &tmp_list);
1307 process_bootdev(const char *bootdevice, const char *default_root,
1373 if (process_minor_name(ret_buf, default_root) < 0) {
1393 default_root) < 0) {
1487 const char *default_root)
1505 if (default_root == NULL) {
1508 default_root_len = strlen(default_root);
1509 if ((default_root_len != 0) && (*default_root != '/')) {
1530 (default_root[default_root_len - 1] == '/')) {
1531 (void) snprintf(full_path, len, "%s%s", default_root,
1534 (void) snprintf(full_path, len, "%s%s", default_root, dev_dir);