Searched refs:origin (Results 1 - 25 of 56) sorted by relevance

123

/illumos-gate/usr/src/test/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_copies.ksh26 # 1. Create a clone with copies set higher than the origin fs
32 origin="$TESTPOOL/$TESTFS"
37 datasetexists $origin && log_must zfs destroy -R $origin
38 log_must zfs create -o mountpoint=$TESTDIR $origin
44 log_must zfs set compress=on $origin
45 log_must zfs set checksum=sha256 $origin
48 zfs snapshot $origin@a || log_fail "zfs snap failed"
49 log_must zfs clone $origin@a $origin/clon
[all...]
H A Dnopwrite_negative.ksh27 # 1. The file in the origin ds is written without compression or sha256.
28 # 2. The file in the origin ds is written before sha256 checksum is turned on.
34 origin="$TESTPOOL/$TESTFS"
39 datasetexists $origin && log_must zfs destroy -R $origin
40 log_must zfs create -o mountpoint=$TESTDIR $origin
45 # Data written into origin fs without compression or sha256
48 zfs snapshot $origin@a || log_fail "zfs snap failed"
49 log_must zfs clone -o compress=on $origin@a $origin/clon
[all...]
H A Dnopwrite_recsize.ksh26 # 1. Create an origin fs that's suitable to make nopwrite clones.
28 # checksum, and verify overwriting the origin file consumes no new space.
32 origin="$TESTPOOL/$TESTFS"
37 datasetexists $origin && log_must zfs destroy -R $origin
38 log_must zfs create -o mountpoint=$TESTDIR $origin
43 log_must zfs set compress=on $origin
44 log_must zfs set checksum=sha256 $origin
47 zfs snapshot $origin@a || log_fail "zfs snap failed"
48 log_must zfs clone $origin
[all...]
H A Dnopwrite_varying_compression.ksh24 # Verify that if the checksum on the origin and clone is sha256, any compression
28 # 1. Create an origin dataset with compression and sha256 checksum.
29 # 2. Write a 64M file into the origin dataset.
31 # 3a. Create a snap and clone (inheriting the checksum property) of the origin.
38 origin="$TESTPOOL/$TESTFS"
43 datasetexists $origin && log_must zfs destroy -R $origin
44 log_must zfs create -o mountpoint=$TESTDIR $origin
49 log_must zfs set compress=on $origin
50 log_must zfs set checksum=sha256 $origin
[all...]
H A Dnopwrite_sync.ksh26 # 1. Create an origin fs with compression and sha256.
27 # 2. Clone origin such that it inherits the properies.
32 origin="$TESTPOOL/$TESTFS"
37 datasetexists $origin && log_must zfs destroy -R $origin
38 log_must zfs create -o mountpoint=$TESTDIR $origin
43 log_must zfs set compress=on $origin
44 log_must zfs set checksum=sha256 $origin
47 zfs snapshot $origin@a || log_fail "zfs snap failed"
48 log_must zfs clone $origin
[all...]
H A Dnopwrite_volume.ksh27 # 2. Overwrite the same blocks from the origin vol and verify that
32 origin="$TESTPOOL/$TESTVOL"
34 vol="/dev/zvol/rdsk/$origin"
40 datasetexists $origin && log_must zfs destroy -R $origin
46 log_must zfs set compress=on $origin
47 log_must zfs set checksum=sha256 $origin
50 zfs snapshot $origin@a || log_fail "zfs snap failed"
51 log_must zfs clone $origin@a $clone
56 log_must verify_nopwrite $origin
[all...]
H A Dnopwrite_mtime.ksh32 origin="$TESTPOOL/$TESTFS"
37 datasetexists $origin && log_must zfs destroy -R $origin
38 log_must zfs create -o mountpoint=$TESTDIR $origin
43 log_must zfs set compress=on $origin
44 log_must zfs set checksum=sha256 $origin
47 zfs snapshot $origin@a || log_fail "zfs snap failed"
48 log_must zfs clone $origin@a $origin/clone
63 log_must verify_nopwrite $origin
[all...]
H A Dnopwrite_promoted_clone.ksh29 # 3. Overwrite the file in the clone (former origin fs) and verify it
34 origin="$TESTPOOL/$TESTFS"
39 datasetexists $origin && log_must zfs destroy -R $TESTPOOL/clone
40 log_must zfs create -o mountpoint=$TESTDIR $origin
45 log_must zfs set compress=on $origin
46 log_must zfs set checksum=sha256 $origin
49 zfs snapshot $origin@a || log_fail "zfs snap failed"
50 log_must zfs clone $origin@a $TESTPOOL/clone
56 log_must verify_nopwrite $TESTPOOL/clone $TESTPOOL/clone@a $origin
/illumos-gate/usr/src/cmd/acct/lib/
H A Dsubstr.c28 Place the `len' length substring of `as' starting at `as[origin]'
38 char *substr(as, aresult, origin, len)
40 int origin;
45 s = as + origin;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend_008_pos.ksh57 typeset origin
60 origin=$(get_prop origin ${dtst[$i]})
62 if [[ $origin != "-" ]]; then
69 origin=$(get_prop origin $POOL2)
70 if [[ $origin != "-" ]]; then
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_promote/
H A Dzfs_promote_008_pos.ksh76 origin_prop=$(get_prop origin $vol)
79 origin_prop=$(get_prop origin $clone)
H A Dzfs_promote_004_pos.ksh73 # Array which stores the origin snapshots created in the origin filesystem
79 # The data will inject into the origin filesystem
129 origin_prop=$(get_prop origin $fs)
132 origin_prop=$(get_prop origin $clone)
135 origin_prop=$(get_prop origin $clone1)
H A Dzfs_promote_002_pos.ksh37 # 'zfs promote' can deal with multiple snapshots in the origin filesystem.
94 origin_prop=$(get_prop origin $fs)
97 origin_prop=$(get_prop origin $clone)
H A Dzfs_promote_001_pos.ksh38 # on its "origin" snapshot.
78 origin_prop=$(get_prop origin $ds)
81 origin_prop=$(get_prop origin $c_ds)
H A Dzfs_promote_003_pos.ksh42 # 3. Verify the origin filesystem and promoted filesystem include
74 # Array which stores the origin snapshots created in the origin filesystem
79 # The data will inject into the origin filesystem
126 origin_prop=$(get_prop origin $fs)
129 origin_prop=$(get_prop origin $clone)
/illumos-gate/usr/src/lib/libcommputil/common/
H A Dsdp_parse_helper.c46 sdp_free_origin(sdp_origin_t *origin) argument
48 if (origin != NULL) {
49 if (origin->o_username != NULL)
50 free(origin->o_username);
51 if (origin->o_nettype != NULL)
52 free(origin->o_nettype);
53 if (origin->o_addrtype != NULL)
54 free(origin->o_addrtype);
55 if (origin->o_address != NULL)
56 free(origin
[all...]
H A Dsdp.c294 * Adds origin field to the session.
302 sdp_origin_t *origin; local
311 origin = calloc(1, sizeof (sdp_origin_t));
312 if (origin == NULL)
314 origin->o_id = id;
315 origin->o_version = ver;
316 if ((ret = commp_add_str(&origin->o_username, name, strlen(name))) != 0)
318 if ((ret = commp_add_str(&origin->o_nettype, nettype,
322 if ((ret = commp_add_str(&origin->o_addrtype, addrtype,
326 if ((ret = commp_add_str(&origin
830 sdp_origin_t *origin; local
965 sdp_origin_t *origin; local
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_print.c50 static size_t prune_origin(const char *name, const char *origin);
54 const u_char **p, const char *origin,
83 const char *name_ctx, const char *origin,
91 name_ctx, origin, buf, buflen);
105 const char *name_ctx, const char *origin,
122 len = prune_origin(name, origin);
130 if (((origin == NULL || origin[0] == '\0') ||
131 (origin[0] != '.' && origin[
82 ns_sprintrr(const ns_msg *handle, const ns_rr *rr, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument
102 ns_sprintrrf(const u_char *msg, size_t msglen, const char *name, ns_class class, ns_type type, u_long ttl, const u_char *rdata, size_t rdlen, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument
1091 prune_origin(const char *name, const char *origin) argument
1159 addname(const u_char *msg, size_t msglen, const u_char **pp, const char *origin, char **buf, size_t *buflen) argument
[all...]
/illumos-gate/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c187 lzc_clone(const char *fsname, const char *origin, argument
192 fnvlist_add_string(args, "origin", origin);
454 * or it can be the origin of "snapname"'s filesystem, or an earlier
455 * snapshot in the origin, etc.
561 recv_impl(const char *snapname, nvlist_t *props, const char *origin, argument
603 /* zc_string is name of clone origin (if DRR_FLAG_CLONE) */
604 if (origin != NULL)
605 (void) strlcpy(zc.zc_string, origin, sizeof (zc.zc_string));
643 * clone, its origin snapsho
653 lzc_receive(const char *snapname, nvlist_t *props, const char *origin, boolean_t force, int fd) argument
666 lzc_receive_resumable(const char *snapname, nvlist_t *props, const char *origin, boolean_t force, int fd) argument
684 lzc_receive_with_header(const char *snapname, nvlist_t *props, const char *origin, boolean_t force, boolean_t resumable, int fd, const dmu_replay_record_t *begin_record) argument
[all...]
/illumos-gate/usr/src/cmd/sort/common/
H A Dstreams_mmap.c193 caddr_t origin = str->s_type.SF.s_release_origin; local
197 (origin + release) >= DEFAULT_RELEASE_SIZE)
203 if (madvise(origin, release, MADV_DONTNEED) == -1)
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_010_pos.ksh156 cat /tmp/zr010p | log_must zfs receive -o origin=$fs@s1 $rfs
166 cat /tmp/zr010p | log_must zfs receive -o origin=$fs2@s1 $rfs
172 cat /tmp/zr010p2 | log_must zfs receive -o origin=$fs@s1 $rfs
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_002_pos.ksh51 compressratio mounted origin recordsize quota reservation mountpoint \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_012_pos.ksh97 #verify the origin value is correct.
98 orig_value=$(get_prop origin $ctrfs)
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddmu_send.h75 boolean_t force, boolean_t resumable, char *origin, dmu_recv_cookie_t *drc);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Ddelegate_common.kshlib998 typeset fs_orig=$(get_prop origin $fs)
999 typeset clone_orig=$(get_prop origin $clone)
1004 if [[ $fs_orig != $(get_prop origin $fs) || \
1005 $clone_orig != $(get_prop origin $clone) ]]; then
1012 if [[ $fs_orig != $(get_prop origin $fs) || \
1013 $clone_orig != $(get_prop origin $clone) ]]; then
1020 if [[ $fs_orig != $(get_prop origin $fs) || \
1021 $clone_orig != $(get_prop origin $clone) ]]; then
1030 if [[ $snap != $(get_prop origin $clone) || \
1031 $clone_orig != $(get_prop origin
[all...]

Completed in 143 milliseconds

123