Home
last modified time | relevance | path

Searched refs:origin (Results 1 – 25 of 73) sorted by relevance

123

/titanic_44/usr/src/test/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_copies.ksh32 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/clone
50 $ZFS set copies=3 $origin/clone
53 log_mustnot verify_nopwrite $origin $origin@a $origin/clone
56 $ZFS destroy -R $origin || log_fail "Couldn't destroy $origin"
[all …]
H A Dnopwrite_negative.ksh34 origin="$TESTPOOL/$TESTFS"
39 datasetexists $origin && log_must $ZFS destroy -R $origin
40 log_must $ZFS create -o mountpoint=$TESTDIR $origin
48 $ZFS snapshot $origin@a || log_fail "zfs snap failed"
49 log_must $ZFS clone -o compress=on $origin@a $origin/clone
50 log_must $ZFS set checksum=sha256 $origin/clone
53 log_mustnot verify_nopwrite $origin $origin@a $origin/clone
54 $ZFS destroy -R $origin@a || log_fail "zfs destroy failed"
58 log_must $ZFS set compress=on $origin
61 log_must $ZFS set checksum=sha256 $origin
[all …]
H A Dnopwrite_recsize.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
51 log_must $ZFS set recsize=$rs $origin/clone
54 log_must verify_nopwrite $origin $origin@a $origin/clone
H A Dnopwrite_varying_compression.ksh38 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
56 $ZFS snapshot $origin@a || log_fail "zfs snap failed"
57 log_must $ZFS clone -o compress=$i $origin@a $origin/clone
60 log_must verify_nopwrite $origin $origin@a $origin/clone
61 $ZFS destroy -R $origin@a || log_fail "zfs destroy failed"
H A Dnopwrite_sync.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
53 log_must verify_nopwrite $origin $origin@a $origin/clone
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 $origin@a $origin/clone
H A Dnopwrite_volume.ksh32 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 $origin@a $clone
H A Dnopwrite_promoted_clone.ksh34 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
H A Dnopwrite.shlib24 typeset origin=$1
31 for i in origin snap clone; do
43 if [[ "$(get_prop type $origin)" = "volume" ]]; then
44 typeset rr=$(get_prop refreserv $origin)
/titanic_44/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
/titanic_44/usr/src/lib/libcommputil/common/
H A Dsdp_parse_helper.c46 sdp_free_origin(sdp_origin_t *origin) in sdp_free_origin() argument
48 if (origin != NULL) { in sdp_free_origin()
49 if (origin->o_username != NULL) in sdp_free_origin()
50 free(origin->o_username); in sdp_free_origin()
51 if (origin->o_nettype != NULL) in sdp_free_origin()
52 free(origin->o_nettype); in sdp_free_origin()
53 if (origin->o_addrtype != NULL) in sdp_free_origin()
54 free(origin->o_addrtype); in sdp_free_origin()
55 if (origin->o_address != NULL) in sdp_free_origin()
56 free(origin->o_address); in sdp_free_origin()
[all …]
H A Dsdp.c302 sdp_origin_t *origin; in sdp_add_origin() local
311 origin = calloc(1, sizeof (sdp_origin_t)); in sdp_add_origin()
312 if (origin == NULL) in sdp_add_origin()
314 origin->o_id = id; in sdp_add_origin()
315 origin->o_version = ver; in sdp_add_origin()
316 if ((ret = commp_add_str(&origin->o_username, name, strlen(name))) != 0) in sdp_add_origin()
318 if ((ret = commp_add_str(&origin->o_nettype, nettype, in sdp_add_origin()
322 if ((ret = commp_add_str(&origin->o_addrtype, addrtype, in sdp_add_origin()
326 if ((ret = commp_add_str(&origin->o_address, address, in sdp_add_origin()
330 session->s_origin = origin; in sdp_add_origin()
[all …]
/titanic_44/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, in ns_sprintrr() argument
91 name_ctx, origin, buf, buflen); in ns_sprintrr()
105 const char *name_ctx, const char *origin, in ns_sprintrrf() argument
122 len = prune_origin(name, origin); in ns_sprintrrf()
130 if (((origin == NULL || origin[0] == '\0') || in ns_sprintrrf()
131 (origin[0] != '.' && origin[1] != '\0' && in ns_sprintrrf()
168 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); in ns_sprintrrf()
195 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); in ns_sprintrrf()
[all …]
/titanic_44/usr/src/cmd/acct/lib/
H A Dsubstr.c38 char *substr(as, aresult, origin, len) in substr() argument
40 int origin;
45 s = as + origin;
/titanic_44/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c186 lzc_clone(const char *fsname, const char *origin, in lzc_clone() argument
191 fnvlist_add_string(args, "origin", origin); in lzc_clone()
551 lzc_receive_impl(const char *snapname, nvlist_t *props, const char *origin, in lzc_receive_impl() argument
593 if (origin != NULL) in lzc_receive_impl()
594 (void) strlcpy(zc.zc_string, origin, sizeof (zc.zc_string)); in lzc_receive_impl()
637 lzc_receive(const char *snapname, nvlist_t *props, const char *origin, in lzc_receive() argument
640 return (lzc_receive_impl(snapname, props, origin, force, B_FALSE, fd)); in lzc_receive()
650 lzc_receive_resumable(const char *snapname, nvlist_t *props, const char *origin, in lzc_receive_resumable() argument
653 return (lzc_receive_impl(snapname, props, origin, force, B_TRUE, fd)); in lzc_receive_resumable()
/titanic_44/usr/src/test/zfs-tests/tests/functional/delegate/
H A Ddelegate_common.kshlib1029 typeset fs_orig=$(get_prop origin $fs)
1030 typeset clone_orig=$(get_prop origin $clone)
1035 if [[ $fs_orig != $(get_prop origin $fs) || \
1036 $clone_orig != $(get_prop origin $clone) ]]; then
1043 if [[ $fs_orig != $(get_prop origin $fs) || \
1044 $clone_orig != $(get_prop origin $clone) ]]; then
1051 if [[ $fs_orig != $(get_prop origin $fs) || \
1052 $clone_orig != $(get_prop origin $clone) ]]; then
1061 if [[ $snap != $(get_prop origin $clone) || \
1062 $clone_orig != $(get_prop origin $fs) ]]; then
[all …]
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_promote/
H A Dzfs_promote_004_pos.ksh129 origin_prop=$(get_prop origin $fs)
132 origin_prop=$(get_prop origin $clone)
135 origin_prop=$(get_prop origin $clone1)
H A Dzfs_promote_008_pos.ksh71 origin_prop=$(get_prop origin $vol)
74 origin_prop=$(get_prop origin $clone)
H A Dzfs_promote_002_pos.ksh94 origin_prop=$(get_prop origin $fs)
97 origin_prop=$(get_prop origin $clone)
H A Dzfs_promote_001_pos.ksh78 origin_prop=$(get_prop origin $ds)
81 origin_prop=$(get_prop origin $c_ds)
H A Dzfs_promote_003_pos.ksh126 origin_prop=$(get_prop origin $fs)
129 origin_prop=$(get_prop origin $clone)
/titanic_44/usr/src/lib/brand/shared/zone/
H A Duninstall.ksh120 zd_origin=`/sbin/zfs get -H -o value origin "$zd_fs1"`
122 printf "$f_2_zfs_get\n" origin "$zd_fs1" >&2
332 -o name,origin -r "$pool" |
333 while IFS=" " read name origin; do
336 [[ "$origin" == "-" ]] &&
345 clones_origin[$clones_c]="$origin"
/titanic_44/usr/src/cmd/sort/common/
H A Dstreams_mmap.c193 caddr_t origin = str->s_type.SF.s_release_origin; in stream_mmap_release_line() local
197 (origin + release) >= DEFAULT_RELEASE_SIZE) in stream_mmap_release_line()
203 if (madvise(origin, release, MADV_DONTNEED) == -1) in stream_mmap_release_line()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Ddsl_dataset.c784 dsl_dataset_create_sync_dd(dsl_dir_t *dd, dsl_dataset_t *origin, in dsl_dataset_create_sync_dd() argument
793 if (origin == NULL) in dsl_dataset_create_sync_dd()
794 origin = dp->dp_origin_snap; in dsl_dataset_create_sync_dd()
796 ASSERT(origin == NULL || origin->ds_dir->dd_pool == dp); in dsl_dataset_create_sync_dd()
797 ASSERT(origin == NULL || dsl_dataset_phys(origin)->ds_num_children > 0); in dsl_dataset_create_sync_dd()
818 if (origin == NULL) { in dsl_dataset_create_sync_dd()
823 dsphys->ds_prev_snap_obj = origin->ds_object; in dsl_dataset_create_sync_dd()
825 dsl_dataset_phys(origin)->ds_creation_txg; in dsl_dataset_create_sync_dd()
827 dsl_dataset_phys(origin)->ds_referenced_bytes; in dsl_dataset_create_sync_dd()
829 dsl_dataset_phys(origin)->ds_compressed_bytes; in dsl_dataset_create_sync_dd()
[all …]
/titanic_44/usr/src/common/lzma/
H A DTypes.h146 SRes (*Seek)(void *p, Int64 *pos, ESzSeek origin);
160 SRes (*Seek)(void *p, Int64 *pos, ESzSeek origin);

123