Lines Matching refs:volume

142 static int	check_resource_group(char *volume);
799 find_next_cf_line(char *volume, int next) in find_next_cf_line() argument
805 if (strncmp(volume, cf_line.master_vol, DSW_NAMELEN) == 0 || in find_next_cf_line()
806 strncmp(volume, cf_line.shadow_vol, DSW_NAMELEN) == 0 || in find_next_cf_line()
807 strncmp(volume, cf_line.bitmap_vol, DSW_NAMELEN) == 0) in find_next_cf_line()
813 find_any_cf_line(char *volume) in find_any_cf_line() argument
815 return (find_next_cf_line(volume, 1)); in find_any_cf_line()
819 find_next_shadow_line(char *volume, int next) in find_next_shadow_line() argument
825 if (strncmp(volume, cf_line.shadow_vol, DSW_NAMELEN) == 0) in find_next_shadow_line()
831 find_shadow_line(char *volume) in find_shadow_line() argument
833 return (find_next_shadow_line(volume, 1)); in find_shadow_line()
908 char *volume, dsw_config_t *conf, dsw_ioctl_t *io, int next) in find_next_matching_cf_line() argument
912 if (!find_next_cf_line(volume, next)) { in find_next_matching_cf_line()
926 find_matching_cf_line(char *volume, dsw_config_t *conf, dsw_ioctl_t *io) in find_matching_cf_line() argument
928 return (find_next_matching_cf_line(volume, conf, io, 1)); in find_matching_cf_line()
932 find_shadow_config(char *volume, dsw_config_t *conf, dsw_ioctl_t *io) in find_shadow_config() argument
946 if (strncmp(volume, c->shadow_vol, DSW_NAMELEN) == 0) { in find_shadow_config()
1154 check_resource_group(char *volume) argument
1167 if (check_diskgroup(volume, diskgroup)) {
1186 cfg_cluster_tag, diskgroup, volume);
1738 child_wait(pid_t child, enum child_event event, char *volume) argument
1743 (void) strlcpy(args.shadow_vol, volume, DSW_NAMELEN);
2158 reset(char *volume) argument
2182 if (!find_shadow_config(volume, &parms, &args))
2190 spcs_log("ii", NULL, gettext("Start reset %s"), volume);
2191 (void) strlcpy(prev_stat.shadow_vol, volume, DSW_NAMELEN);
2245 spcs_log("ii", stat, gettext("Fail reset %s"), volume);
2256 spcs_log("ii", stat, gettext("Finish reset %s"), volume);
2281 if (!find_shadow_config(volume, &parms, &args)) {
2300 overflow(char *volume) argument
2307 if (find_matching_cf_line(volume, NULL, &args))
2311 (void) strncpy(args.shadow_vol, volume, DSW_NAMELEN);
2315 gettext("Create overflow failed %s"), volume);
2322 spcs_log("ii", stat, gettext("Create overflow succeeded %s"), volume);
2590 char *volume; local
2597 volume = vol_list[0];
2598 if (!find_shadow_config(volume, &parms, &copy_args))
2651 volume,
2671 volume,
2679 volume,
2838 abort_copy(char *volume) argument
2842 if (!find_shadow_config(volume, NULL, &args))
2962 wait_for_copy(char *volume) argument
2974 if (!find_shadow_config(volume, NULL, &parms))
3005 export(char *volume) argument
3012 if (!find_shadow_config(volume, &conf, &parms))
3015 if (mounted(volume))
3020 (cfg_dgname(volume, dgname, sizeof (dgname)))) {
3029 conform_name(&volume);
3031 spcs_log("ii", NULL, gettext("Export %s"), volume);
3037 if (cfg_vol_disable(cfg, volume, cfg_cluster_tag, "ii") < 0) {
3052 detach(char *volume) argument
3057 if (!find_shadow_config(volume, NULL, &parms))