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()
1677 if (!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()
1701 if (bkpath == NULL) { in get_backup_path_v2()
1706 if (*bkpath != '/') { in get_backup_path_v2()
[all …]
H A Dndmpd_tar.c1518 if (!tlm_cat_path(pathname, bkpath, ent->name)) { in correct_ents()
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()
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()
[all …]
H A Dndmpd_tar3.c656 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
3460 if ((rv = realpath(bkpath, pbuf)) == NULL) { in get_absolute_path()
[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()