Lines Matching defs:default_root
129 static int process_minor_name(char *dev_path, const char *default_root);
132 const int array_size, const char *default_root);
833 * default_root. if set, is used to locate logical device entries in
837 devfs_bootdev_get_list(const char *default_root,
845 if (default_root == NULL) {
846 default_root = "";
847 } else if (*default_root != '/') {
865 i = process_bootdev(opp->oprom_array, default_root, &tmp_list);
879 process_bootdev(const char *bootdevice, const char *default_root,
944 if (process_minor_name(ret_buf, default_root) < 0) {
964 default_root) < 0) {
1058 const char *default_root)
1076 if (default_root == NULL) {
1079 default_root_len = strlen(default_root);
1080 if ((default_root_len != 0) && (*default_root != '/')) {
1101 (default_root[default_root_len - 1] == '/')) {
1102 (void) snprintf(full_path, len, "%s%s", default_root,
1105 (void) snprintf(full_path, len, "%s%s", default_root, dev_dir);