Home
last modified time | relevance | path

Searched refs:orig (Results 1 – 25 of 130) sorted by relevance

123456

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dreceive-o-x_props_override.ksh44 destroy_dataset "$orig" "-rf"
51 orig=$TESTPOOL/$TESTFS1
52 origsub=$orig/sub
67 log_must zfs create $orig
68 log_must zfs snapshot $orig@snap1
69 log_must eval "zfs send $orig@snap1 > $streamfile_full"
80 log_must zfs create -V 32K -s $orig/zvol
81 log_must eval "zfs send $orig@snap1 > $streamfile_full"
86 log_must_busy zfs destroy -r -f $orig
92 log_must zfs create $orig
[all …]
H A Dzfs_receive_014_pos.ksh41 orig=$TESTPOOL/$TESTFS1
54 log_must zfs destroy -rf $orig
87 log_must eval "zfs create $orig"
88 mntpnt=$(get_prop mountpoint $orig)
91 log_must eval "zfs set compression='gzip-1' $orig"
92 log_must eval "zfs set '$userprop'='$userval' $orig"
93 log_must eval "zfs snapshot $orig@snap1"
94 log_must eval "zfs send -p $orig@snap1 > $streamfile_full"
101 log_must eval "zfs set compression='gzip-2' $orig"
102 log_must eval "zfs inherit '$userprop' $orig"
[all …]
H A Dzfs_receive_015_pos.ksh41 orig=$TESTPOOL/$TESTFS1
58 log_must zfs create $orig
61 log_must zfs snapshot $orig@snap1
62 log_must zfs snapshot $orig@snap2
63 log_must zfs snapshot $orig@snap3
66 log_must eval "zfs set '$user_prop'='$value' $orig"
67 log_must eval "zfs set '$user_prop:snap1'='$value:snap1' $orig@snap1"
68 log_must eval "zfs set '$user_prop:snap2'='$value:snap2' $orig@snap2"
69 log_must eval "zfs set '$user_prop:snap3'='$value:snap3' $orig@snap3"
72 log_must eval "zfs send -p $orig@snap1 > $streamfile_full"
[all …]
H A Dzfs_receive_012_pos.ksh56 orig=$TESTPOOL/$TESTFS1
60 log_must zfs create $orig
61 origdir=$(get_prop mountpoint $orig)
64 log_must zfs set refquota=50M $orig
67 log_must zfs snapshot $orig@1
70 log_must eval "zfs send -R $orig@1 > $streamfile"
77 log_must zfs snapshot $orig@2
80 log_must eval "zfs send -I 1 -R $orig@2 > $streamfile"
H A Dzfs_receive_011_pos.ksh59 orig=$TESTPOOL/$TESTFS1
62 log_must zfs create $orig
63 origdir=$(get_prop mountpoint $orig)
71 log_must zfs snapshot $orig@1
78 log_must zfs set refquota=8M $orig
81 log_must zfs snapshot $orig@2
84 log_must eval "zfs send -R $orig@2 > $streamfile"
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dderwin.c55 derwin(WINDOW *orig, int num_lines, int nc, int by, int bx) in derwin() argument
65 if (by < 0 || (by + num_lines) > orig->_maxy || bx < 0 || in derwin()
66 (bx + nc) > orig->_maxx) in derwin()
69 nc = orig->_maxx - bx; in derwin()
71 num_lines = orig->_maxy - by; in derwin()
74 if ((win = _makenew(num_lines, nc, by + orig->_begy, in derwin()
75 bx + orig->_begx)) == NULL) in derwin()
83 win->_bkgd = orig->_bkgd; in derwin()
84 win->_attrs = orig->_attrs; in derwin()
86 o_y = orig->_y; in derwin()
[all …]
/illumos-gate/usr/src/ucblib/libcurses/
H A Dnewwin.c93 subwin(WINDOW *orig, int num_lines, int num_cols, int begy, int begx) in subwin() argument
107 fprintf(outf, "SUBWIN(%0.2o, %d, %d, %d, %d)\n", orig, nl, nc, by, bx); in subwin()
109 if (by < orig->_begy || bx < orig->_begx || in subwin()
110 by + nl > orig->_maxy + orig->_begy || in subwin()
111 bx + nc > orig->_maxx + orig->_begx) in subwin()
114 nl = orig->_maxy + orig->_begy - by; in subwin()
116 nc = orig->_maxx + orig->_begx - bx; in subwin()
119 win->_nextp = orig->_nextp; in subwin()
120 orig->_nextp = win; in subwin()
121 win->_orig = orig; in subwin()
[all …]
H A Dmvwin.c31 WINDOW *orig; in mvwin() local
38 orig = win->_orig; in mvwin()
39 if (orig == NULL) { in mvwin()
40 orig = win; in mvwin()
46 } while (win != orig); in mvwin()
48 if (by < orig->_begy || win->_maxy + dy > orig->_maxy) in mvwin()
50 if (bx < orig->_begx || win->_maxx + dx > orig->_maxx) in mvwin()
55 _set_subwin_(orig, win); in mvwin()
H A Did_subwins.c30 _id_subwins(WINDOW *orig) in _id_subwins() argument
36 realy = orig->_begy + orig->_cury; in _id_subwins()
37 for (win = orig->_nextp; win != orig; win = win->_nextp) { in _id_subwins()
45 oy = orig->_cury; in _id_subwins()
47 win->_y[y] = &orig->_y[oy][win->_ch_off]; in _id_subwins()
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_scheme.cc39 db_scheme::db_scheme(db_scheme* orig) in db_scheme() argument
45 if (orig == NULL) { in db_scheme()
50 READLOCKV(orig, "r orig db_scheme::db_scheme"); in db_scheme()
52 numkeys = this->keys.keys_len = orig->keys.keys_len; in db_scheme()
54 db_key_desc * srccols = orig->keys.keys_val; in db_scheme()
58 READUNLOCKV(orig, "ru orig db_scheme::db_scheme"); in db_scheme()
67 READUNLOCKV(orig, "ru orig db_scheme::db_scheme"); in db_scheme()
73 READUNLOCKV(orig, "ru orig db_scheme::db_scheme"); in db_scheme()
83 this->max_columns = orig->max_columns; in db_scheme()
84 this->data = orig->data; in db_scheme()
[all …]
H A Ddb_index.cc400 db_index::move_xdr_db_index(db_index *orig) in move_xdr_db_index() argument
402 table_size = orig->table_size; in move_xdr_db_index()
403 orig->table_size = 0; in move_xdr_db_index()
404 count = orig->count; in move_xdr_db_index()
405 orig->count = 0; in move_xdr_db_index()
406 case_insens = orig->case_insens; in move_xdr_db_index()
407 tab = orig->tab; in move_xdr_db_index()
408 orig->tab = NULL; in move_xdr_db_index()
/illumos-gate/usr/src/uts/sparc/os/
H A Dcpr_sparc.c255 cprop_t *orig, *new, *tail; in cpr_default_setup() local
279 for (orig = orig_def_info.props, tail = orig + CPR_MAXPROP; in cpr_default_setup()
280 orig < tail; orig++, new++) { in cpr_default_setup()
281 len = prom_getproplen(node, orig->name); in cpr_default_setup()
282 if (len < 0 || len >= (int)sizeof (orig->value)) { in cpr_default_setup()
287 bzero(orig->value, sizeof (orig->value)); in cpr_default_setup()
288 if (prom_getprop(node, orig->name, orig->value) < 0) { in cpr_default_setup()
294 new->mod = orig->mod = PROP_NOMOD; in cpr_default_setup()
295 (void) strcpy(new->name, orig->name); in cpr_default_setup()
301 cpr_err(CE_WARN, fmt, orig->name); in cpr_default_setup()
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_address.c152 struct range_list *orig = *rl; in add_offset_to_pointer() local
162 if (is_unknown_ptr(orig)) in add_offset_to_pointer()
181 orig = cast_rl(&ptr_ctype, orig); in add_offset_to_pointer()
186 if (!orig || is_whole_rl(orig)) { in add_offset_to_pointer()
192 max.uvalue = rl_max(orig).uvalue; in add_offset_to_pointer()
196 orig = remove_range(orig, remove, max); in add_offset_to_pointer()
202 *rl = rl_binop(orig, '+', alloc_rl(sval, sval)); in add_offset_to_pointer()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dlibs.c109 Dbg_libs_path(Lm_list *lml, const char *path, uint_t orig, const char *obj) in Dbg_libs_path() argument
119 search = orig & in Dbg_libs_path()
124 if (orig & LA_SER_CONFIG) in Dbg_libs_path()
135 if (orig & LA_SER_CONFIG) in Dbg_libs_path()
142 if (orig & LA_SER_CONFIG) in Dbg_libs_path()
188 Dbg_libs_ylu(Lm_list *lml, const char *path, const char *orig, int index) in Dbg_libs_ylu() argument
193 dbg_print(lml, MSG_INTL(MSG_LIB_YPATH), path, orig, in Dbg_libs_ylu()
H A Dunused.c90 Dbg_unused_path(Lm_list *lml, const char *path, uint_t orig, uint_t dup, in Dbg_unused_path() argument
100 if (orig & LA_SER_LIBPATH) { in Dbg_unused_path()
101 if (orig & LA_SER_CONFIG) { in Dbg_unused_path()
112 } else if (orig & LA_SER_RUNPATH) { in Dbg_unused_path()
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_archive.c380 char **array, **arrayp, **orig, *strp; local
383 for (len = 0, orig = *listp; *orig != NULL; ++orig)
384 len += sizeof(char *) + strlen(*orig) + 1;
391 strp = (char *)(array + (orig - *listp) + 1);
394 for (orig = *listp, arrayp = array; *orig != NULL; ++orig, ++arrayp) {
395 len = strlen(*orig);
396 memcpy(strp, *orig, len + 1);
400 __os_freestr(*orig);
/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c667 duplicate_intarr(int *orig) in duplicate_intarr() argument
670 int *iwalker = orig; in duplicate_intarr()
672 if (orig == NULL) in duplicate_intarr()
682 (void) memcpy(iwalker, orig, allocsize); in duplicate_intarr()
691 duplicate_strarr(char **orig) in duplicate_strarr() argument
697 if (orig == NULL) in duplicate_strarr()
701 for (swalker = orig; *swalker != NULL; swalker++) in duplicate_strarr()
705 newbie = calloc(swalker - orig + 1, sizeof (char *)); in duplicate_strarr()
709 for (i = 0; orig[i] != NULL; i++) { in duplicate_strarr()
710 newbie[i] = strdup(orig[i]); in duplicate_strarr()
[all …]
/illumos-gate/usr/src/ucbcmd/vipw/
H A Dvipw.c224 editfile(char *editor, char *temp, char *orig, time_t *mtime) in editfile() argument
228 return (sanity_check(temp, mtime, orig)); in editfile()
257 sanity_check(char *temp, time_t *mtime, char *orig) in sanity_check() argument
265 if (!strcmp(orig, shadow)) in sanity_check()
272 temp, orig); in sanity_check()
278 temp, orig); in sanity_check()
285 temp, orig); in sanity_check()
386 temp, orig); in sanity_check()
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c511 oversize_t *orig, *tail; in memalign() local
517 orig = (oversize_t *)((uintptr_t)alloc_buf - in memalign()
519 frag_size = orig->size - data_size - in memalign()
521 orig->size = data_size; in memalign()
530 oversize_t *orig, *tail, *big; in memalign() local
599 orig = (oversize_t *)((uintptr_t)alloc_buf - in memalign()
602 OVSZ_HEADER_SIZE, (orig->size - shift)); in memalign()
606 orig->size = shift - OVSZ_HEADER_SIZE; in memalign()
609 free_oversize(orig); in memalign()
617 orig = (oversize_t *)((uintptr_t)alloc_buf - in memalign()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_load-key/
H A Dzfs_load-key_common.kshlib94 typeset orig=$(get_prop origin $ds)
96 if [[ "$orig" != "$val" ]]; then
97 log_note "Expected origin '$val', got '$orig'"
/illumos-gate/usr/src/lib/libshare/common/
H A Dparser.c45 static char *orig = NULL; in _sa_get_token() local
52 if (string != orig || string == NULL) { in _sa_get_token()
53 orig = string; in _sa_get_token()
/illumos-gate/usr/src/cmd/dlutil/
H A Ddlled.c75 dlled_parse_mode(const char *orig) in dlled_parse_mode() argument
81 mode = strdup(orig); in dlled_parse_mode()
110 "specified\n", orig); in dlled_parse_mode()
122 mac_led_mode_t orig = mode; in dlled_mode2str() local
137 (void) snprintf(buf, len, "unknown mode: 0x%x\n", orig); in dlled_mode2str()
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dbtree_rb.c262 static char *append_val(char * orig, char const * val){ in append_val() argument
264 if( !orig ){ in append_val()
268 sqliteSetString(&z, orig, val, (char*)0); in append_val()
269 sqliteFree( orig ); in append_val()
279 static char *append_node(char * orig, BtRbNode *pNode, int indent) in append_node() argument
285 orig = append_val(orig, " "); in append_node()
289 orig = append_val(orig, buf); in append_node()
294 orig = append_val(orig, " B \n"); in append_node()
296 orig = append_val(orig, " R \n"); in append_node()
298 orig = append_node( orig, pNode->pLeft, indent ); in append_node()
[all …]
/illumos-gate/usr/src/lib/libdemangle/common/
H A Drust-legacy.c115 strview_t orig; in rustleg_parse_name_segment() local
124 sv_init_sv(&orig, svp); in rustleg_parse_name_segment()
207 VERIFY3P(orig.sv_first, <=, svp->sv_first); in rustleg_parse_name_segment()
209 (int)(uintptr_t)(svp->sv_first - orig.sv_first), orig.sv_first); in rustleg_parse_name_segment()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_subr.c2208 so_integrity_check(struct sonode *cur, struct sonode *orig) in so_integrity_check() argument
2210 VERIFY(cur->so_vnode == orig->so_vnode); in so_integrity_check()
2211 VERIFY(cur->so_ops == orig->so_ops); in so_integrity_check()
2220 VERIFY((cur->so_state & (orig->so_state & CHECK_STATE)) == in so_integrity_check()
2221 (orig->so_state & CHECK_STATE)); in so_integrity_check()
2222 VERIFY(cur->so_mode == orig->so_mode); in so_integrity_check()
2223 VERIFY(cur->so_flag == orig->so_flag); in so_integrity_check()
2224 VERIFY(cur->so_count == orig->so_count); in so_integrity_check()
2226 VERIFY(cur->so_sockparams == orig->so_sockparams); in so_integrity_check()
2228 VERIFY(cur->so_error != 0 || orig->so_error == 0); in so_integrity_check()
[all …]

123456