Lines Matching refs:bkpath
1492 correct_ents(ndmpd_module_params_t *params, int n, char *bkpath) in correct_ents() argument
1518 if (!tlm_cat_path(pathname, bkpath, ent->name)) { in correct_ents()
1590 check_backup_dir_validity(ndmpd_module_params_t *params, char *bkpath) in check_backup_dir_validity() argument
1597 if (stat64(bkpath, &st) < 0) { in check_backup_dir_validity()
1599 MOD_LOG(params, "Error: stat(%s): %s.\n", bkpath, msg); in check_backup_dir_validity()
1602 MOD_LOG(params, "Error: %s is not a directory.\n", bkpath); in check_backup_dir_validity()
1604 } else if (fs_is_rdonly(bkpath) && !fs_is_chkpntvol(bkpath) && in check_backup_dir_validity()
1605 fs_is_chkpnt_enabled(bkpath)) { in check_backup_dir_validity()
1607 bkpath); in check_backup_dir_validity()
1795 char *bkpath, *rspath; in ndmp_restore_extract_params() local
1804 if ((bkpath = get_backup_path_v2(params)) == NULL) in ndmp_restore_extract_params()
1807 nlp->nlp_restore_bk_path = bkpath; in ndmp_restore_extract_params()
1830 if (same_path(bkpath, rspath)) in ndmp_restore_extract_params()
1836 bkpath = trim_name(bkpath); in ndmp_restore_extract_params()
1837 if (correct_ents(params, nlp->nlp_nfiles, bkpath) < 0) { in ndmp_restore_extract_params()