Lines Matching defs:cfg_cluster_tag

89 static char *cfg_cluster_tag = NULL;
383 cfg_cluster_tag = optarg;
384 if (cfg_cluster_tag && *cfg_cluster_tag == '-') {
385 CLflg = (strcmp("-L", cfg_cluster_tag) == 0);
534 cfg_resource(cfg, cfg_cluster_tag);
538 if (cfg_cluster_tag != NULL)
956 if ((cfg_cluster_tag) &&
957 (strcmp(cfg_cluster_tag, c->cluster_tag)))
1035 cfg_cluster_tag, "ii") < 0)
1051 } else if (cfg_cluster_tag &&
1052 strcmp(cfg_cluster_tag, "") &&
1055 strcmp(sn, cfg_cluster_tag)) {
1069 cfg_resource(cfg, cfg_cluster_tag);
1072 cfg_cluster_tag, "ii") < 0)
1121 if ((cfg_cluster_tag == NULL) ||
1122 (strcmp(cfg_cluster_tag, II_LOCAL_TAG))) {
1132 cfg_cluster_tag = "";
1168 if (cfg_cluster_tag == NULL) {
1169 cfg_cluster_tag = strdup(diskgroup);
1170 if (cfg_cluster_tag == NULL)
1173 cfg_resource(cfg, cfg_cluster_tag);
1180 if (strcmp(diskgroup, cfg_cluster_tag) != 0) {
1186 cfg_cluster_tag, diskgroup, volume);
1191 } else if (cfg_cluster_tag == NULL)
1885 if (rc == 0 && cfg_cluster_tag == NULL)
1949 (void) strncpy(parms.cluster_tag, cfg_cluster_tag, DSW_NAMELEN);
2064 if (cfg_vol_enable(cfg, master_volume, cfg_cluster_tag,
2079 cfg_resource(cfg, cfg_cluster_tag);
2082 cfg_cluster_tag, "ii");
2087 master_volume, cfg_cluster_tag,
2943 if ((cfg_cluster_tag) &&
2944 strcmp(cfg_cluster_tag, parms.cluster_tag))
3021 old_ctag = cfg_cluster_tag;
3022 cfg_resource(cfg, cfg_cluster_tag = strdup(dgname));
3037 if (cfg_vol_disable(cfg, volume, cfg_cluster_tag, "ii") < 0) {
3045 cfg_resource(cfg, cfg_cluster_tag = old_ctag);
3430 if ((cfg_cluster_tag) &&
3431 (strcmp(cfg_cluster_tag,
3545 if (cfg_cluster_tag) { /* check all volumes are in same dg */
3590 if (cfg_vol_enable(cfg, shadow_volume, cfg_cluster_tag, "ii")
3630 cfg_resource(cfg, cfg_cluster_tag = strdup(dgname));
3700 rc = cfg_vol_enable(cfg, shadow_volume, cfg_cluster_tag, "ii");
3796 if (cfg_cluster_tag) { /* check all volumes are in same dg */
4157 if ((cfg_cluster_tag && strcmp(ctag, cfg_cluster_tag)) ||
4158 (!cfg_cluster_tag && strlen(ctag))) {