Lines Matching defs:tofile

137 static int autosync_is_on(char *tohost, char *tofile);
218 char *tohost, *tofile;
289 tofile = urdc->secondary.file;
304 if (strcmp(tmptofile, tofile) != 0)
333 tohost, tofile, tobitmap,
502 char *tofile, char *tobitmap, char *ctag, char *diskq)
531 fromhost, fromfile, tohost, tofile);
541 localfile = is_primary ? fromfile : tofile;
1712 char tofile[NSC_MAXPATH];
2284 * tohost:tofile
2288 * fromhost fromfile frombitmap tohost tofile tobitmap ip sync
2317 /* Now look up tohost:tofile via libcfg */
2350 (void) cfg_get_cstring(cfg, key, tofile,
2351 sizeof (tofile));
2352 if (strncmp(tofile, tofile_arg, NSC_MAXPATH))
2413 "nor async"), tohost, tofile);
2431 (void) strncpy(tofile, argv[optind+4], NSC_MAXPATH);
2451 (tofile[NSC_MAXPATH - 1] != '\0') ||
2511 tofile)) < 0) {
2517 tohost, tofile);
2528 tohost, tofile);
2684 tohost, tofile, tobitmap, ctag, diskqueue) < 0)
2711 (void) strncpy(tofile, pair_list[pairs].tfile,
2754 group_arg, ctag_arg, tohost, tofile, cfg);
2766 ret = rdc_bitmapset(tohost, tofile, bitfile, oflag,
2785 (void) strncpy(parms.rdc_set->secondary.file, tofile,
2817 (strcmp(tofile, tobitmap) == 0))
2835 check_rdcsecondary(tofile);
2836 if (stat(tofile, &stb) != 0) {
2839 tofile, strerror(errno));
2844 tofile);
2896 fromhost, fromfile, frombitmap, tohost, tofile,
2907 ctag : NULL, tohost, tofile);
2959 if (strcmp(buf, tofile) != 0)
3036 tohost, tofile);
3040 frombitmap, tohost, tofile, tobitmap, ctag,
3067 if (strcmp(buf, tofile) != 0)
3131 tohost, tofile, tobitmap,
3171 different_devs(tofile, tobitmap);
3172 validate_name(cfg, tofile);
3189 if (autosync_is_on(tohost, tofile) ==
3192 tohost, tofile);
3197 frombitmap, tohost, tofile,
3211 frombitmap, tohost, tofile, tobitmap,
3227 tohost, tofile, tobitmap, flag, iflag, directfile,
3259 (void) strncpy(fromfile, tofile,
3266 (void) strncpy(tofile, tmpfile,
3279 tohost, tofile, tobitmap,
3450 * tohost:tofile.
3459 * tofile - secondary volume
3466 set_autosync(int autosync_val, char *tohost, char *tofile, char *ctag)
3501 tohost, tofile)) < 0) {
3504 "in config"), tohost, tofile);
3529 "for Remote Mirror set %s:%s"), tohost, tofile);
3555 tofile);
3567 tofile);
3703 * Check to see if autosync is on for set specified by tohost:tofile.
3710 * tofile - secondary volume
3718 autosync_is_on(char *tohost, char *tofile)
3734 if ((setnumber = find_setnumber_in_libcfg(cfg, NULL, tohost, tofile)) <
3738 "config"), tohost, tofile);
3795 char *tohost, char *tofile, char *tobitmap,
3837 (void) strncpy(parms.rdc_set->secondary.file, tofile,
3952 fromhost, fromfile, tohost, tofile);
3963 (void) strncpy(parms.rdc_set->secondary.file, tofile, NSC_MAXPATH);
3995 "for %s:%s"), tohost, tofile);
3998 tohost, tofile)) < 0) {
4000 " for %s:%s"), tohost, tofile);
4009 "id for %s:%s: %s"), tohost, tofile,
4013 parms.rdc_set->setid = get_cfg_setid(cfg, ctag, tohost, tofile);
4016 "for %s:%s"), tohost, tofile);
4080 tohost, tofile);
4086 tohost, tofile, tobitmap);
4091 (autosync_is_on(tohost, tofile) == AUTOSYNC_ON)) {
4096 (autosync_is_on(tohost, tofile) == AUTOSYNC_ON)) {
4116 set_autosync(autosync, tohost, tofile, ctag);
4127 tohost, tofile);
4156 tofile);
4158 "Remote Mirror set %s:%s"), tohost, tofile);
4171 frombitmap, tohost, tofile, tobitmap);
4178 tohost, tofile, tobitmap,
4189 tohost, tofile, tobitmap);
4244 if (strncmp(svolbuf, tofile, NSC_MAXPATH))
4388 tohost, tofile, tobitmap,
4401 frombitmap, tohost, tofile, tobitmap);
4415 tohost, tofile, tobitmap,
4427 frombitmap, tohost, tofile, tobitmap);
4435 tohost, tofile, tobitmap);
4437 spcslog_tunable(tohost, tofile);
4452 vol1 = tofile;
4480 vol1, tohost, tofile);
4490 vol1, tohost, tofile);
4500 frombitmap, tohost, tofile,
4509 tohost, tofile, tobitmap);
4526 vol1, tohost, tofile);
4536 vol2, tohost, tofile);
4546 frombitmap, tohost, tofile,
4555 tohost, tofile, tobitmap);
4573 diskqueue, tohost, tofile);
4594 diskqueue, tohost, tofile);
4604 frombitmap, tohost, tofile,
4613 tohost, tofile, tobitmap);
4694 frombitmap, tohost, tofile);
4698 frombitmap, tohost, tofile);
4707 frombitmap, tohost, tofile,
4716 tohost, tofile, tobitmap);
4742 diskqueue, tohost, tofile);
4746 diskqueue, tohost, tofile);
4755 frombitmap, tohost, tofile,
4764 tohost, tofile, tobitmap);
4791 tobitmap, tohost, tofile);
4795 tobitmap, tohost, tofile);
4804 frombitmap, tohost, tofile,
4812 tohost, tofile, tobitmap);
4836 * fromhost fromfile frombitmap tohost tofile tobitmap
4839 * fromhost subsystem, tofile is the secondary device which is
4864 char tofile[NSC_MAXPATH];
4939 (void) strncpy(tofile, tmp, (NSC_MAXPATH - 1));
4940 tofile[(NSC_MAXPATH - 1)] = '\0';
5021 (void) strncpy(pair_list[i].tfile, tofile, NSC_MAXPATH);
5043 tohost, tofile, tobitmap, pair_list[i].ctag,
5607 rdc_bitmapset(char *tohost, char *tofile, char *bitmap, int op,
5662 (void) strncpy(bmop.secfile, tofile, NSC_MAXPATH);
5669 "%s:%s"), tohost, tofile);