Lines Matching refs:rspath
1274 char *rspath; in ndmpd_tar_restore() local
1290 rspath = nlp->nlp_restore_path; in ndmpd_tar_restore()
1292 rspath = nlp->nlp_restore_bk_path; in ndmpd_tar_restore()
1294 rspath = ""; in ndmpd_tar_restore()
1309 NDMP_LOG(LOG_DEBUG, "Restoring to \"%s\" started.", rspath); in ndmpd_tar_restore()
1378 rspath, err); in ndmpd_tar_restore()
1385 rspath); in ndmpd_tar_restore()
1551 check_restore_paths(ndmpd_module_params_t *params, int n, char *rspath) in check_restore_paths() argument
1557 if (rspath != NULL && *rspath != '\0') { in check_restore_paths()
1558 NDMP_LOG(LOG_DEBUG, "rspath: \"%s\"", rspath); in check_restore_paths()
1559 if (!fs_volexist(rspath)) { in check_restore_paths()
1796 char *bkpath, *rspath; in ndmp_restore_extract_params() local
1816 if ((rspath = get_restore_dest(params)) == NULL) in ndmp_restore_extract_params()
1819 if (fs_is_rdonly(rspath)) { in ndmp_restore_extract_params()
1822 rspath); in ndmp_restore_extract_params()
1825 if (fs_is_chkpntvol(rspath)) { in ndmp_restore_extract_params()
1827 "Error: Can't restore to a checkpoint: \"%s\"\n", rspath); in ndmp_restore_extract_params()
1831 if (same_path(bkpath, rspath)) in ndmp_restore_extract_params()
1832 rspath = ""; in ndmp_restore_extract_params()
1834 if ((nlp->nlp_restore_path = strdup(rspath)) == NULL) in ndmp_restore_extract_params()
1843 if (check_restore_paths(params, nlp->nlp_nfiles, rspath) < 0) { in ndmp_restore_extract_params()