Lines Matching refs:svn_path
617 if (svn[cnt].svn_path[0] == '\0') { in enable_sv()
647 (void) strncpy(svn.svn_path, path, sizeof (svn.svn_path)); in enable_one_sv()
651 svn.svn_path[sizeof (svn.svn_path) - 1] = '\0'; in enable_one_sv()
672 sv_check_cluster(svn->svn_path); in enable_dev()
677 if (stat(svn->svn_path, &stb) != 0) { in enable_dev()
679 svn->svn_path, strerror(errno)); in enable_dev()
685 svn->svn_path); in enable_dev()
691 (void) strncpy(svc.svc_path, svn->svn_path, sizeof (svc.svc_path)); in enable_dev()
696 svn->svn_path, strerror(errno)); in enable_dev()
704 rc = cfg_get_canonical_name(cfg, svn->svn_path, &altname); in enable_dev()
714 svn->svn_path, altname); in enable_dev()
725 rc = cfg_add_user(cfg, svn->svn_path, lcltag, "sv"); in enable_dev()
729 program, svn->svn_path); in enable_dev()
731 svn->svn_path); in enable_dev()
752 program, svn->svn_path); in enable_dev()
755 svn->svn_path); in enable_dev()
759 (void) cfg_rem_user(cfg, svn->svn_path, lcltag, "sv"); in enable_dev()
766 program, svn->svn_path); in enable_dev()
867 if (strlen(rdev) >= sizeof (cur_svn->svn_path)) { in read_config_file()
871 (sizeof (cur_svn->svn_path) - 1)); in read_config_file()
876 (void) strcpy(cur_svn->svn_path, rdev); in read_config_file()
883 svn[index].svn_path[0] = '\0'; in read_config_file()
1021 if (*svn_system[i].svn_path == '\0') { in print_sv()
1029 svn->svn_path); in print_sv()
1034 if ((setnumber = find_in_hash(svn->svn_path)) != -1) { in print_sv()
1035 (void) printf("%-*s", STATWIDTH, svn->svn_path); in print_sv()
1052 "config storage"), svn->svn_path); in print_sv()
1101 if (*svn_system[i].svn_path == '\0') in disable_sv()
1106 sv_check_cluster(svn->svn_path); in disable_sv()
1110 if ((setnumber = find_in_hash(svn->svn_path)) != -1) { in disable_sv()
1111 if ((rc = disable_dev(svn->svn_path)) != -1) { in disable_sv()
1112 remove_from_cfgfile(svn->svn_path, setnumber); in disable_sv()
1114 remove_from_cfgfile(svn->svn_path, setnumber); in disable_sv()
1120 svn->svn_path); in disable_sv()
1122 (void) disable_dev(svn->svn_path); in disable_sv()
1308 if (svn_system[j].svn_path[0] != '\0') { in compare_sv()
1321 if (svn_system[j].svn_path[0] == '\0' || in compare_sv()
1326 if (strcmp(svn_system[j].svn_path, in compare_sv()
1327 svn_config[i].svn_path) == 0) { in compare_sv()
1329 svn_system[j].svn_path[0] = '\0'; in compare_sv()
1338 (void) strcpy(enable[index].svn_path, in compare_sv()
1339 svn_config[i].svn_path); in compare_sv()
1349 if (svn_system[j].svn_path[0] != '\0' && in compare_sv()
1352 program, svn_system[j].svn_path); in compare_sv()
1353 if (disable_dev(svn_system[j].svn_path) == 0) { in compare_sv()
1355 find_in_hash(svn_system[j].svn_path); in compare_sv()
1359 svn_system[j].svn_path, setnumber); in compare_sv()
1374 program, enable[index].svn_path); in compare_sv()
1385 if (svn_config[i].svn_path[0] == '\0') in compare_sv()
1388 compare_tag(svn_config[i].svn_path); in compare_sv()