Home
last modified time | relevance | path

Searched refs:new (Results 176 – 200 of 1043) sorted by relevance

12345678910>>...42

/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c715 char *new; in xmalloc() local
721 (void) memset(new, 0, len); in xmalloc()
722 return (new); in xmalloc()
734 name_entry *new; in insert_name() local
744 free(new); in insert_name()
748 new->name = name; in insert_name()
750 new->nxt = *namepp; in insert_name()
751 if (new->nxt != NULL) in insert_name()
752 new->nxt->prev = new; in insert_name()
756 *namepp = new; in insert_name()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dctl_clnt.c270 struct ctl_tran *new = memget(sizeof *new); in new_tran() local
272 if (new == NULL) in new_tran()
274 new->ctx = ctx; in new_tran()
275 buffer_init(new->outbuf); in new_tran()
276 new->donefunc = donefunc; in new_tran()
277 new->uap = uap; in new_tran()
278 INIT_LINK(new, link); in new_tran()
279 INIT_LINK(new, wlink); in new_tran()
280 APPEND(ctx->tran, new, link); in new_tran()
282 APPEND(ctx->wtran, new, wlink); in new_tran()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dtable.c1022 struct rt_spare new; in kern_check_static() local
1025 (void) memset(&new, 0, sizeof (new)); in kern_check_static()
1026 new.rts_ifp = ifp; in kern_check_static()
1027 new.rts_gate = k->k_gate; in kern_check_static()
1281 new = *losing_rts; in rtm_lose()
2304 struct rt_spare *new) in rtadd() argument
2336 rt->rt_spares[0] = *new; in rtadd()
2363 struct rt_spare *new, in rtchange() argument
2531 struct rt_spare new; in rtbad() local
2626 new.rts_ifp = ifp1; in rtbad_sub()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddoupdate.c125 void *new; in __m_doupdate_init() local
135 if (new == (void *) 0) in __m_doupdate_init()
139 lc = (lcost *) new; in __m_doupdate_init()
142 if (new == (void *) 0) in __m_doupdate_init()
146 del = (t_action *) new; in __m_doupdate_init()
149 new = m_malloc(lines * sizeof *nhash); in __m_doupdate_init()
150 if (new == (void *) 0) in __m_doupdate_init()
154 nhash = (unsigned long *) new; in __m_doupdate_init()
634 is_same_line(old, new, count) in is_same_line() argument
635 cchar_t *old, *new; in is_same_line()
[all …]
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_convert.c51 if (current->attributes != new->attributes) in find_changed_attrs()
54 if (current->max_life != new->max_life) in find_changed_attrs()
60 if (current->expiration != new->expiration) in find_changed_attrs()
69 if (current->last_failed != new->last_failed) in find_changed_attrs()
78 new->princ->realm.length) && in find_changed_attrs()
80 new->princ->realm.data, in find_changed_attrs()
85 new->princ->data[j].data, in find_changed_attrs()
100 for (j = 0; j < new->n_key_data; j++) { in find_changed_attrs()
102 new->key_data[j].key_data_kvno) { in find_changed_attrs()
111 if (current->n_tl_data == new->n_tl_data) { in find_changed_attrs()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_snapshot/
H A Dzfs_snapshot_005_neg.ksh92 log_mustnot zfs rename $basefs ${basefs}-new
93 log_mustnot zfs rename $initfs ${initfs}-new
94 log_mustnot zfs rename $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS-new
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mv_files/
H A Dmv_files_common.kshlib197 typeset new=$2
206 mv_files $old $new
207 count_files $new $num
209 mv_files $new $old
/illumos-gate/usr/src/lib/krb5/ss/
H A Dutils.c131 register char *new; local
132 new = malloc(len);
133 strncpy(new, s, len);
134 return(new);
/illumos-gate/usr/src/uts/sparc/os/
H A Dcpr_sparc.c154 cpr_set_properties(int new) in cpr_set_properties() argument
158 props = new ? new_def_info->props : orig_def_info.props; in cpr_set_properties()
255 cprop_t *orig, *new, *tail; in cpr_default_setup() local
277 new = new_def_info->props; in cpr_default_setup()
280 orig < tail; orig++, new++) { 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()
/illumos-gate/usr/src/cmd/xstr/
H A Dxstr.c310 hashit(char *str, int new) in hashit() argument
331 hp->hnew = new; in hashit()
342 int old = 0, new = 0; in flushsh() local
347 new++; in flushsh()
350 if (new == 0 && old != 0) in flushsh()
374 found(int new, off_t off, char *str) in found() argument
378 if (!new) in found()
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp_sack.c201 notsack_blk_t *prev, *tmp, *new; in tcp_notsack_insert() local
262 if ((new = (notsack_blk_t *)bkmem_alloc( in tcp_notsack_insert()
266 new->end = tmp->end; in tcp_notsack_insert()
267 new->begin = end; in tcp_notsack_insert()
268 new->next = tmp->next; in tcp_notsack_insert()
269 new->sack_cnt = 0; in tcp_notsack_insert()
271 tmp->next = new; in tcp_notsack_insert()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_sack.c195 notsack_blk_t *prev, *tmp, *new; in tcp_notsack_insert() local
256 if ((new = kmem_cache_alloc( in tcp_notsack_insert()
261 new->end = tmp->end; in tcp_notsack_insert()
262 new->begin = end; in tcp_notsack_insert()
263 new->next = tmp->next; in tcp_notsack_insert()
264 new->sack_cnt = 0; in tcp_notsack_insert()
266 tmp->next = new; in tcp_notsack_insert()
/illumos-gate/usr/src/common/atomic/sparcv9/
H A Datomic.S233 srl %o5, %g1, %o0 ! %o0 = new value
307 srl %o5, %g1, %o0 ! %o0 = new value
368 add %o2, %o1, %o0 ! return new value
433 add %o2, %o1, %o0 ! return new value
471 srl %o5, %g1, %o0 ! %o0 = new value
507 srl %o5, %g1, %o0 ! %o0 = new value
533 or %o2, %o1, %o0 ! return new value
561 or %o2, %o1, %o0 ! return new value
597 srl %o5, %g1, %o0 ! %o0 = new value
633 srl %o5, %g1, %o0 ! %o0 = new value
[all …]
/illumos-gate/usr/src/cmd/syslogd/
H A Dsystem-log50 }' ${OLD_CONF} >${OLD_CONF}.new && cp ${OLD_CONF}.new ${OLD_CONF}
51 rm -f ${OLD_CONF}.new
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A Dfpsetrnd.S42 and %o1, %o4, %o1 ! generate new fsr value
45 st %o1, [%sp+ARGPUSH] ! move new fsr value to memory
46 ld [%sp+ARGPUSH], %fsr ! load fsr with new value
H A Dfpsetmask.S51 and %o1, %o4, %o1 ! generate new fsr value
54 st %o1, [%sp+ARGPUSH] ! move new fsr value to memory
55 ld [%sp+ARGPUSH], %fsr ! load fsr with new value
H A Dfpsetsticky.S42 and %o1, %o4, %o1 ! generate new fsr value
45 st %o1, [%sp+ARGPUSH] ! move new fsr value to memory
46 ld [%sp+ARGPUSH], %fsr ! load fsr with new value
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A Dfpsetrnd.S42 and %o1, %o4, %o1 ! generate new fsr value
45 st %o1, [%sp+STACK_BIAS+ARGPUSH] ! move new fsr value to memory
46 ld [%sp+STACK_BIAS+ARGPUSH], %fsr ! load fsr with new value
/illumos-gate/usr/src/uts/common/contract/
H A Ddevice.c415 ctmpl_device_t *new; in ctmpl_device_dup() local
429 new->ctd_ctmpl.ctmpl_data = new; in ctmpl_device_dup()
431 new->ctd_minor = NULL; in ctmpl_device_dup()
453 new->ctd_minor = minor; in ctmpl_device_dup()
457 return (&new->ctd_ctmpl); in ctmpl_device_dup()
731 ctmpl_device_t *new; in contract_device_default() local
734 ctmpl_init(&new->ctd_ctmpl, &ctmpl_device_ops, device_type, new); in contract_device_default()
737 new->ctd_noneg = 0; in contract_device_default()
741 return (&new->ctd_ctmpl); in contract_device_default()
951 if (old == new) { in is_sync_neg()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dgram.y499 struct namelist *new, *newhead = (struct namelist *) NULL; local
503 new = ALLOC(namelist);
504 if (new == (struct namelist *) NULL)
507 newhead = new;
509 if ((new->n_name = strdup(n->n_name)) == (char *) NULL)
512 new->n_name = (char *) NULL;
514 prev->n_next = new;
515 prev = new;
/illumos-gate/usr/src/uts/common/os/
H A Dsid.c332 credsid_t *new; in kcrsid_dup() local
339 new = kcrsid_alloc(); in kcrsid_dup()
342 *new = *org; in kcrsid_dup()
343 new->kr_ref = 1; in kcrsid_dup()
345 ksid_hold(&new->kr_sidx[ki]); in kcrsid_dup()
347 if (new->kr_sidlist != NULL) in kcrsid_dup()
348 ksidlist_hold(new->kr_sidlist); in kcrsid_dup()
351 return (new); in kcrsid_dup()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmaketerm.ed228 w ./tmp/term.h.new
229 e ./tmp/term.h.new
231 w ./tmp/term.h.new
259 w ./tmp/term.h.new
260 e ./tmp/term.h.new
263 w ./tmp/term.h.new
264 e ./tmp/term.h.new
290 w ./tmp/term.h.new
291 e ./tmp/term.h.new
305 w ./tmp/term.h.new
[all …]
/illumos-gate/usr/src/common/atomic/sparc/
H A Datomic.S104 or %o4, %o5, %o5 ! insert the new value
112 srl %o5, %g1, %o0 ! %o0 = new value
178 or %o4, %o5, %o5 ! insert the new value
186 srl %o5, %g1, %o0 ! %o0 = new value
257 add %o2, %o1, %o0 ! return new value
346 srl %o5, %g1, %o0 ! %o0 = new value
382 srl %o5, %g1, %o0 ! %o0 = new value
408 or %o2, %o1, %o0 ! return new value
468 srl %o5, %g1, %o0 ! %o0 = new value
504 srl %o5, %g1, %o0 ! %o0 = new value
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_001_pos.ksh68 rename_dataset ${dataset[i]} ${dataset[i]}-new
103 if datasetexists ${dataset[i]}-new ; then
104 log_must zfs rename ${dataset[i]}-new ${dataset[i]}
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_005_pos.ksh73 log_must mv $VDEV0 $DEVICE_DIR/vdev0-new
79 log_must mv $VDEV1 $DEVICE_DIR/newdir1/vdev1-new
80 log_must mv $VDEV2 $DEVICE_DIR/newdir2/vdev2-new

12345678910>>...42