Lines Matching defs:path

101 static int find_in_hash(char *path);
103 static void remove_from_cfgfile(char *path, int setnumber);
300 sv_check_cluster(char *path)
318 if (!sv_iscluster || sv_islocal || path == NULL) {
326 if (cfg_dgname(path, dgname, sizeof (dgname)) == NULL) {
328 "disk group name for %s"), path);
334 * Do dgislocal check now in case path did not contain
373 dgname, path);
639 enable_one_sv(caddr_t path)
647 (void) strncpy(svn.svn_path, path, sizeof (svn.svn_path));
882 /* Set the last path to NULL */
901 disable_dev(const caddr_t path)
907 sv_check_cluster(path);
909 if (stat(path, &stb) < 0) {
923 (void) strcpy(svc.svc_path, path);
934 program, path);
937 gettext("unable to disable %s"), path);
943 spcs_log("sv", NULL, gettext("%s: disabled %s"), program, path);
1139 disable_one_sv(char *path)
1145 sv_check_cluster(path);
1149 if ((setnumber = find_in_hash(path)) != -1) {
1151 if ((rc = disable_dev(path)) == 0) {
1153 remove_from_cfgfile(path, setnumber);
1155 remove_from_cfgfile(path, setnumber);
1160 gettext("%s was not found in the config storage"), path);
1162 (void) disable_dev(path);
1173 compare_tag(char *path)
1180 sv_check_cluster(path);
1210 if (strcmp(path, vol) == 0) {
1218 path);
1234 gettext("unable to change cluster tag for %s"), path);
1250 program, path, cnode, tag);
1254 program, path, cnode, tag);
1305 * The last entry in the array has '\0' for a path name.
1325 /* Check to see if path matches */
1401 compare_one_sv(char *path)
1407 compare_tag(path);
1457 find_in_hash(char *path)
1462 item.key = path;
1490 remove_from_cfgfile(char *path, int setnumber)
1500 "config storage: %s"), path, cfg_error(&sev));
1509 if (cfg_rem_user(cfg, path, lcltag, "sv") != CFG_USER_LAST) {
1511 path);