/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_connects.c | 61 evConn *new; in evListen() local 64 OKNEW(new); in evListen() 87 FREE(new); in evListen() 112 OKNEW(new); in evConnect() 116 connector, new, &new->file) < 0) { in evConnect() 119 FREE(new); in evConnect() 243 new->ralen = sizeof new->ra; in evTryAccept() 244 new->fd = accept(conn->fd, &new->ra.sa, &new->ralen); in evTryAccept() 251 new->lalen = sizeof new->la; in evTryAccept() 252 if (GETXXXNAME(getsockname, new->fd, new->la.sa, new->lalen) < 0) { in evTryAccept() [all …]
|
H A D | ev_waits.c | 51 evWait *new; in evWaitFor() local 54 OKNEW(new); in evWaitFor() 56 new->uap = uap; in evWaitFor() 57 new->tag = tag; in evWaitFor() 63 wl->last = new; in evWaitFor() 162 evWait *new; in evDefer() local 164 OKNEW(new); in evDefer() 204 NEW(new); in evNewWaitList() 207 new->first = new->last = NULL; in evNewWaitList() 211 new->next->prev = new; in evNewWaitList() [all …]
|
H A D | ev_streams.c | 57 evStream *new; in evWrite() local 60 OKNEW(new); in evWrite() 62 new->uap = uap; in evWrite() 63 new->fd = fd; in evWrite() 64 new->flags = 0; in evWrite() 81 FREE(new); in evWrite() 91 evStream *new; in evRead() local 94 OKNEW(new); in evRead() 96 new->uap = uap; in evRead() 97 new->fd = fd; in evRead() [all …]
|
/illumos-gate/usr/src/cmd/diff3/ |
H A D | diff3prog.c | 226 dd[i].new.from = dd[i-1].new.to; in readin() 289 d1->new.from, d1->new.to, in merge() 291 d2->new.from, d2->new.to); in merge() 324 d1[1].new.from = d1->new.from; in merge() 332 d2[1].new.from = d2->new.from; in merge() 338 if (d1->new.from == d2->new.from && d1->new.to == d2->new.to) { in merge() 363 d2->new.from = d1->new.from; in merge() 366 d1->new.from = d2->new.from; in merge() 369 if (d1->new.to > d2->new.to) { in merge() 371 d2->new.to = d1->new.to; in merge() [all …]
|
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | suggestions.c | 90 new->key = key; in pt_sugg_add() 91 new->func = func; in pt_sugg_add() 92 new->slice = 0; in pt_sugg_add() 94 sugg = new; in pt_sugg_add() 95 new->prev = NULL; in pt_sugg_add() 96 new->next = NULL; in pt_sugg_add() 117 new->key = key; in pt_sugg_add() 119 new->slice = 0; in pt_sugg_add() 128 n->next = new; in pt_sugg_add() 129 new->prev = n; in pt_sugg_add() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | recipient.c | 479 m = new->q_mailer; 600 new->q_orcpt = 626 return new; 771 new = q; 794 new->q_next = *pq; 808 *pq = new; 848 ret = include(new->q_user, false, new, 983 new->q_alias, (time_t) 0, e, new); 990 new->q_alias, (time_t) 0, e, new); 1059 if (new->q_alias == NULL && new != &e->e_from && [all …]
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_cache.c | 826 free(new); in idmap_cache_add_sid2uid() 877 free(new); in idmap_cache_add_sid2uid() 938 free(new); in idmap_cache_add_sid2gid() 988 free(new); in idmap_cache_add_sid2gid() 1058 free(new); in idmap_cache_add_sid2pid() 1131 new); in idmap_cache_add_sid2pid() 1178 new); in idmap_cache_add_sid2pid() 1230 free(new); in idmap_cache_add_winname2uid() 1290 free(new); in idmap_cache_add_winname2uid() 1360 free(new); in idmap_cache_add_winname2gid() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/sunw/ |
H A D | sunw_updrec.c | 52 new->r_dname = 0; in old2new() 55 new->r_glink.prev = in old2new() 56 new->r_glink.next = in old2new() 57 new->r_link.prev = in old2new() 58 new->r_link.next = 0; in old2new() 62 new->r_type = old->r_type; in old2new() 63 new->r_ttl = old->r_ttl; in old2new() 67 new->r_dp = old->r_dp; in old2new() 78 if (new->r_dname != 0) { in new2old() 87 old->r_ttl = new->r_ttl; in new2old() [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | dupwin.c | 58 WINDOW *new; in dupwin() local 87 free((char *)new); in dupwin() 91 if (_image(new) == ERR) { in dupwin() 104 newcp = new->_y; in dupwin() 140 new->_flags |= _WINCHANGED; in dupwin() 141 new->_ndescs = 0; in dupwin() 147 new->_padwin = new->_parent = (WINDOW *) NULL; in dupwin() 148 new->_pary = new->_parx = -1; in dupwin() 150 new->_index = win->_index; in dupwin() 151 new->_nbyte = win->_nbyte; in dupwin() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | memory.c | 233 new->id = id++; in add_bank_node() 244 new->next = NULL; in add_bank_node() 249 bank_head = new; in add_bank_node() 250 bank_tail = new; in add_bank_node() 260 bank->next = new; in add_bank_node() 261 bank_tail = new; in add_bank_node() 429 memory_seg_t *new; in add_seg_node() local 447 new->id = id++; in add_seg_node() 448 new->base = base; in add_seg_node() 456 seg_head = new; in add_seg_node() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/include/ |
H A D | probe_ipv6.sh | 11 new=new_${target}.h 34 cat > ${new} <<EOF 45 echo "#define HAS_INET6_STRUCTS" >> ${new} 54 echo "#define HAVE_SIN6_SCOPE_ID" >> ${new} 56 echo "#undef HAVE_SIN6_SCOPE_ID" >> ${new} 61 echo >> ${new} 62 echo "#endif" >> ${new} 64 if cmp -s ${new} ${old} ; then 65 rm -f ${new} 68 mv ${new} ${old} [all …]
|
/illumos-gate/usr/src/uts/common/idmap/ |
H A D | idmap_cache.c | 576 sid2pid_t *new; in kidmap_cache_add_sid2uid() local 594 new->rid = rid; in kidmap_cache_add_sid2uid() 595 new->uid = uid; in kidmap_cache_add_sid2uid() 620 pid2sid_t *new; in kidmap_cache_add_sid2uid() local 636 new->rid = rid; in kidmap_cache_add_sid2uid() 637 new->pid = uid; in kidmap_cache_add_sid2uid() 638 new->ttl = ttl; in kidmap_cache_add_sid2uid() 669 sid2pid_t *new; in kidmap_cache_add_sid2gid() local 713 pid2sid_t *new; in kidmap_cache_add_sid2gid() local 761 sid2pid_t *new; in kidmap_cache_add_sid2pid() local [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | vid_puts.c | 202 new = WA_NORMAL; in turn_off() 223 return new; in turn_off() 239 new |= WA_BLINK; in turn_on() 244 new |= WA_BOLD; in turn_on() 249 new |= WA_INVIS; in turn_on() 254 new |= WA_DIM; in turn_on() 285 new |= WA_LEFT; in turn_on() 290 new |= WA_LOW; in turn_on() 295 new |= WA_RIGHT; in turn_on() 300 new |= WA_TOP; in turn_on() [all …]
|
/illumos-gate/usr/src/common/atomic/ |
H A D | atomic.c | 364 *target = new; in atomic_cas_8() 373 *target = new; in atomic_cas_uchar() 382 *target = new; in atomic_cas_16() 444 *target = new; in atomic_swap_8() 452 *target = new; in atomic_swap_char() 460 *target = new; in atomic_swap_16() 468 *target = new; in atomic_swap_ushort() 476 *target = new; in atomic_swap_32() 484 *target = new; in atomic_swap_uint() 492 *target = new; in atomic_swap_64() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_wr.c | 74 kmdb_wr_t *new = arg; in kmdb_wr_debugger_notify() local 77 new->wn_next = new->wn_prev = NULL; in kmdb_wr_debugger_notify() 89 mdb.m_dbgwrtail = new; in kmdb_wr_debugger_notify() 91 mdb.m_dbgwrhead = new; in kmdb_wr_debugger_notify() 101 new->wn_prev = curtail; in kmdb_wr_debugger_notify() 157 kmdb_wr_t *new = arg; in kmdb_wr_driver_notify() local 164 new->wn_next = new->wn_prev = NULL; in kmdb_wr_driver_notify() 167 mdb.m_drvwrtail->wn_next = new; in kmdb_wr_driver_notify() 168 new->wn_prev = mdb.m_drvwrtail; in kmdb_wr_driver_notify() 169 new->wn_next = NULL; in kmdb_wr_driver_notify() [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | vid_puts.c | 188 new = WA_NORMAL; in turn_off() 209 return (new); in turn_off() 226 new |= WA_BLINK; in turn_on() 232 new |= WA_BOLD; in turn_on() 238 new |= WA_INVIS; in turn_on() 244 new |= WA_DIM; in turn_on() 280 new |= WA_LEFT; in turn_on() 286 new |= WA_LOW; in turn_on() 292 new |= WA_RIGHT; in turn_on() 298 new |= WA_TOP; in turn_on() [all …]
|
H A D | scr_dump.c | 74 WINDOW *new; in scr_replace() local 79 new = getwin(fp); in scr_replace() 82 if (new == NULL) in scr_replace() 85 if (new->_maxy != w->_maxy || new->_maxx != w->_maxx) { in scr_replace() 86 (void) delwin(new); in scr_replace() 94 new->_flags &= ~W_CLEAR_WINDOW; /* Removed default clear command */ in scr_replace() 95 *w = *new; in scr_replace() 103 new->_base = NULL; in scr_replace() 104 new->_line = NULL; in scr_replace() 105 new->_first = NULL; in scr_replace() [all …]
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | walkers.c | 45 for (i = 0; i < new->s_nr_cpus; i++) { in cpu_walk() 60 if ((new->s_types & SNAP_PSETS) && in cpu_walk() 84 cb(NULL, &new->s_psets[j], data); in pset_walk() 100 while (j < new->s_nr_psets) { in pset_walk() 101 cb(NULL, &new->s_psets[j], data); in pset_walk() 160 changed = cpu_walk(old, new, cb, data); in snapshot_walk() 172 new->s_iodevs, cb, data); in snapshot_walk() 334 if (old == NULL || new == NULL) in snapshot_report_changes() 337 if (old->s_types != new->s_types) in snapshot_report_changes() 381 if (new == NULL) in snapshot_has_changed() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | exportlist.c | 192 struct groupnode *new; in newgroup() local 195 new = exmalloc(sizeof (*new)); in newgroup() 199 new->gr_name = newname; in newgroup() 200 new->gr_next = NULL; in newgroup() 201 *tail = new; in newgroup() 202 return (&new->gr_next); in newgroup() 209 struct exportnode *new; in newexport() local 212 new = exmalloc(sizeof (*new)); in newexport() 216 new->ex_dir = newname; in newexport() 218 new->ex_next = NULL; in newexport() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_rlock.c | 170 avl_add(tree, new); in rangelock_enter_writer() 183 lr->lr_offset < new->lr_offset + new->lr_length) in rangelock_enter_writer() 201 new->lr_offset = orig_off; in rangelock_enter_writer() 202 new->lr_length = orig_len; in rangelock_enter_writer() 203 new->lr_type = orig_type; in rangelock_enter_writer() 457 new->lr_rangelock = rl; in rangelock_enter() 458 new->lr_offset = off; in rangelock_enter() 461 new->lr_length = len; in rangelock_enter() 463 new->lr_type = type; in rangelock_enter() 464 new->lr_proxy = B_FALSE; in rangelock_enter() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename_013_pos.ksh | 49 if datasetexists $TESTPOOL/$TESTCTR@snap-new ; then 50 log_must zfs destroy -f $TESTPOOL/$TESTCTR@snap-new 57 if datasetexists $TESTPOOL@snap-new ; then 58 log_must zfs destroy -f $TESTPOOL@snap-new 72 log_must zfs rename -r $TESTPOOL/$TESTCTR@snap $TESTPOOL/$TESTCTR@snap-new 73 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new 76 log_must zfs rename -r $TESTPOOL@snap $TESTPOOL@snap-new 77 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new 78 log_must datasetexists $TESTPOOL@snap-new 80 log_must zfs destroy -f $TESTPOOL/$TESTCTR@snap-new [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_attr.c | 121 char *new; in appendBase() local 138 if (new == 0) in appendBase() 140 return (new); in appendBase() 146 if (new == 0) in appendBase() 150 return (new); in appendBase() 158 if (new == 0) in appendBase() 162 return (new); in appendBase() 172 if (new != 0) { in appendBase() 180 if (new == 0) in appendBase() 187 return (new); in appendBase() [all …]
|
H A D | ldap_val.c | 57 new = am(myself, nf * sizeof (new[0])); in cloneMappingFormat() 58 if (new == 0) in cloneMappingFormat() 62 memcpy(new, m, nf * sizeof (new[0])); in cloneMappingFormat() 113 new = 0; in cloneMappingFormat() 182 __nis_index_t *new = am(myself, sizeof (*new)); in cloneIndex() local 191 new = 0; in cloneIndex() 216 char **new; in cloneName() local 223 new = am(myself, numNames * sizeof (new[0])); in cloneName() 1544 new = am(myself, sizeof (*new)); in cloneItem() 1581 new = am(myself, (numItems + 1) * sizeof (*new)); in concatenateMappingItem() [all …]
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | htbl.c | 121 hentry_t *new; in add_fcall() local 153 new->count = cnt; in add_fcall() 154 new->prev = NULL; in add_fcall() 156 tmp = new->next; in add_fcall() 158 tmp->prev = new; in add_fcall() 160 cur->first = new; in add_fcall() 176 hiter_t *new; in iterate_hash() local 181 new->table = tbl; in iterate_hash() 192 new->next = tmp; in iterate_hash() 193 new->bucket = b; in iterate_hash() [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/installf/ |
H A D | removef.c | 48 struct cfextra *new; in removef() local 99 new = calloc(1, sizeof (struct cfextra)); in removef() 100 if (new == NULL) { in removef() 104 new->cf_ent.ftype = '-'; in removef() 106 (void) eval_path(&(new->server_path), &(new->client_path), in removef() 107 &(new->map_path), path); in removef() 109 new->cf_ent.path = new->client_path; in removef() 111 extlist[eptnum++] = new; in removef()
|