Lines Matching refs:bkpath
1493 correct_ents(ndmpd_module_params_t *params, int n, char *bkpath) in correct_ents() argument
1519 if (!tlm_cat_path(pathname, bkpath, ent->name)) { in correct_ents()
1591 check_backup_dir_validity(ndmpd_module_params_t *params, char *bkpath) in check_backup_dir_validity() argument
1598 if (stat64(bkpath, &st) < 0) { in check_backup_dir_validity()
1600 MOD_LOG(params, "Error: stat(%s): %s.\n", bkpath, msg); in check_backup_dir_validity()
1603 MOD_LOG(params, "Error: %s is not a directory.\n", bkpath); in check_backup_dir_validity()
1605 } else if (fs_is_rdonly(bkpath) && !fs_is_chkpntvol(bkpath) && in check_backup_dir_validity()
1606 fs_is_chkpnt_enabled(bkpath)) { in check_backup_dir_validity()
1608 bkpath); in check_backup_dir_validity()
1796 char *bkpath, *rspath; in ndmp_restore_extract_params() local
1805 if ((bkpath = get_backup_path_v2(params)) == NULL) in ndmp_restore_extract_params()
1808 nlp->nlp_restore_bk_path = bkpath; in ndmp_restore_extract_params()
1831 if (same_path(bkpath, rspath)) in ndmp_restore_extract_params()
1837 bkpath = trim_name(bkpath); in ndmp_restore_extract_params()
1838 if (correct_ents(params, nlp->nlp_nfiles, bkpath) < 0) { in ndmp_restore_extract_params()