Home
last modified time | relevance | path

Searched refs:bkpath (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_comm.c1670 char *bkpath; in get_backup_path_v3() local
1672 bkpath = MOD_GETENV(params, "PREFIX"); in get_backup_path_v3()
1673 if (!bkpath) in get_backup_path_v3()
1674 bkpath = MOD_GETENV(params, "FILESYSTEM"); in get_backup_path_v3()
1677 if (!bkpath) { in get_backup_path_v3()
1681 NDMP_LOG(LOG_DEBUG, "bkpath: \"%s\"", bkpath); in get_backup_path_v3()
1684 return (bkpath); in get_backup_path_v3()
1695 char *bkpath; in get_backup_path_v2() local
1697 bkpath = MOD_GETENV(params, "PREFIX"); in get_backup_path_v2()
1698 if (bkpath == NULL) in get_backup_path_v2()
[all …]
H A Dndmpd_tar.c1492 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
[all …]
H A Dndmpd_tar3.c651 is_valid_backup_dir_v3(ndmpd_module_params_t *params, char *bkpath) in is_valid_backup_dir_v3() argument
656 if (*bkpath != '/') { in is_valid_backup_dir_v3()
658 "Relative backup path not allowed \"%s\".\n", bkpath); in is_valid_backup_dir_v3()
661 if (stat64(bkpath, &st) < 0) { in is_valid_backup_dir_v3()
664 bkpath, msg); in is_valid_backup_dir_v3()
670 "\"%s\" is not a directory.\n", bkpath); in is_valid_backup_dir_v3()
673 if (fs_is_rdonly(bkpath) && !fs_is_chkpntvol(bkpath) && in is_valid_backup_dir_v3()
674 fs_is_chkpnt_enabled(bkpath)) { in is_valid_backup_dir_v3()
677 "\"%s\" is not a checkpointed path.\n", bkpath); in is_valid_backup_dir_v3()
3452 get_absolute_path(const char *bkpath) in get_absolute_path() argument
[all …]
H A Dndmpd_zfs.c1079 char bkpath[ZFS_MAX_DATASET_NAME_LEN]; in ndmpd_zfs_pre_restore() local
1085 err = ndmpd_zfs_backup_getpath(ndmpd_zfs_args, bkpath, in ndmpd_zfs_pre_restore()
1104 err = ndmp_pl->np_pre_restore(ndmp_pl, nctxp, bkpath, in ndmpd_zfs_pre_restore()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c289 char *bkpath; in tar_getdir() local
737 while (nmp && ((bkpath = dtree_peek(stp)) != NULL)) { in tar_getdir()
740 if (strstr(nmp, bkpath)) in tar_getdir()
858 while ((bkpath = dtree_peek(stp)) in tar_getdir()
862 if (strstr(nmp, bkpath)) in tar_getdir()