Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 1094) sorted by relevance

12345678910>>...44

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_connects.c61 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 Dev_waits.c51 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 Dev_streams.c57 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 Ddiff3prog.c226 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 Dsuggestions.c90 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 Drecipient.c481 m = new->q_mailer;
602 new->q_orcpt =
628 return new;
773 new = q;
796 new->q_next = *pq;
810 *pq = new;
850 ret = include(new->q_user, false, new,
985 new->q_alias, (time_t) 0, e, new);
992 new->q_alias, (time_t) 0, e, new);
1061 if (new->q_alias == NULL && new != &e->e_from &&
[all …]
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_cache.c823 free(new); in idmap_cache_add_sid2uid()
874 free(new); in idmap_cache_add_sid2uid()
935 free(new); in idmap_cache_add_sid2gid()
985 free(new); in idmap_cache_add_sid2gid()
1055 free(new); in idmap_cache_add_sid2pid()
1127 new); in idmap_cache_add_sid2pid()
1173 new); in idmap_cache_add_sid2pid()
1225 free(new); in idmap_cache_add_winname2uid()
1285 free(new); in idmap_cache_add_winname2uid()
1355 free(new); in idmap_cache_add_winname2gid()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_updrec.c52 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 Ddupwin.c60 WINDOW *new; in dupwin() local
89 free((char *)new); in dupwin()
93 if (_image(new) == ERR) { in dupwin()
106 newcp = new->_y; in dupwin()
142 new->_flags |= _WINCHANGED; in dupwin()
143 new->_ndescs = 0; in dupwin()
149 new->_padwin = new->_parent = (WINDOW *) NULL; in dupwin()
150 new->_pary = new->_parx = -1; in dupwin()
152 new->_index = win->_index; in dupwin()
153 new->_nbyte = win->_nbyte; in dupwin()
[all …]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dmemory.c234 new->id = id++; in add_bank_node()
245 new->next = NULL; in add_bank_node()
250 bank_head = new; in add_bank_node()
251 bank_tail = new; in add_bank_node()
261 bank->next = new; in add_bank_node()
262 bank_tail = new; in add_bank_node()
430 memory_seg_t *new; in add_seg_node() local
448 new->id = id++; in add_seg_node()
449 new->base = base; in add_seg_node()
457 seg_head = new; in add_seg_node()
[all …]
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dprobe_ipv6.sh12 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 Didmap_cache.c490 sid2pid_t *new; in kidmap_cache_add_sid2uid() local
506 new->rid = rid; in kidmap_cache_add_sid2uid()
507 new->uid = uid; in kidmap_cache_add_sid2uid()
532 pid2sid_t *new; in kidmap_cache_add_sid2uid() local
546 new->rid = rid; in kidmap_cache_add_sid2uid()
547 new->pid = uid; in kidmap_cache_add_sid2uid()
548 new->ttl = ttl; in kidmap_cache_add_sid2uid()
579 sid2pid_t *new; in kidmap_cache_add_sid2gid() local
621 pid2sid_t *new; in kidmap_cache_add_sid2gid() local
667 sid2pid_t *new; in kidmap_cache_add_sid2pid() local
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dvid_puts.c204 new = WA_NORMAL; in turn_off()
225 return new; in turn_off()
241 new |= WA_BLINK; in turn_on()
246 new |= WA_BOLD; in turn_on()
251 new |= WA_INVIS; in turn_on()
256 new |= WA_DIM; in turn_on()
287 new |= WA_LEFT; in turn_on()
292 new |= WA_LOW; in turn_on()
297 new |= WA_RIGHT; in turn_on()
302 new |= WA_TOP; in turn_on()
[all …]
/illumos-gate/usr/src/common/atomic/
H A Datomic.c366 *target = new; in atomic_cas_8()
375 *target = new; in atomic_cas_uchar()
384 *target = new; in atomic_cas_16()
446 *target = new; in atomic_swap_8()
454 *target = new; in atomic_swap_char()
462 *target = new; in atomic_swap_16()
470 *target = new; in atomic_swap_ushort()
478 *target = new; in atomic_swap_32()
486 *target = new; in atomic_swap_uint()
494 *target = new; in atomic_swap_64()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_wr.c76 kmdb_wr_t *new = arg; in kmdb_wr_debugger_notify() local
79 new->wn_next = new->wn_prev = NULL; in kmdb_wr_debugger_notify()
91 mdb.m_dbgwrtail = new; in kmdb_wr_debugger_notify()
93 mdb.m_dbgwrhead = new; in kmdb_wr_debugger_notify()
103 new->wn_prev = curtail; in kmdb_wr_debugger_notify()
159 kmdb_wr_t *new = arg; in kmdb_wr_driver_notify() local
166 new->wn_next = new->wn_prev = NULL; in kmdb_wr_driver_notify()
169 mdb.m_drvwrtail->wn_next = new; in kmdb_wr_driver_notify()
170 new->wn_prev = mdb.m_drvwrtail; in kmdb_wr_driver_notify()
171 new->wn_next = NULL; in kmdb_wr_driver_notify()
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dvid_puts.c190 new = WA_NORMAL; in turn_off()
211 return (new); in turn_off()
228 new |= WA_BLINK; in turn_on()
234 new |= WA_BOLD; in turn_on()
240 new |= WA_INVIS; in turn_on()
246 new |= WA_DIM; in turn_on()
282 new |= WA_LEFT; in turn_on()
288 new |= WA_LOW; in turn_on()
294 new |= WA_RIGHT; in turn_on()
300 new |= WA_TOP; in turn_on()
[all …]
H A Dscr_dump.c76 WINDOW *new; in scr_replace() local
81 new = getwin(fp); in scr_replace()
84 if (new == NULL) in scr_replace()
87 if (new->_maxy != w->_maxy || new->_maxx != w->_maxx) { in scr_replace()
88 (void) delwin(new); in scr_replace()
96 new->_flags &= ~W_CLEAR_WINDOW; /* Removed default clear command */ in scr_replace()
97 *w = *new; in scr_replace()
105 new->_base = NULL; in scr_replace()
106 new->_line = NULL; in scr_replace()
107 new->_first = NULL; in scr_replace()
[all …]
/illumos-gate/usr/src/cmd/stat/common/
H A Dwalkers.c47 for (i = 0; i < new->s_nr_cpus; i++) { in cpu_walk()
62 if ((new->s_types & SNAP_PSETS) && in cpu_walk()
86 cb(NULL, &new->s_psets[j], data); in pset_walk()
102 while (j < new->s_nr_psets) { in pset_walk()
103 cb(NULL, &new->s_psets[j], data); in pset_walk()
162 changed = cpu_walk(old, new, cb, data); in snapshot_walk()
174 new->s_iodevs, cb, data); in snapshot_walk()
336 if (old == NULL || new == NULL) in snapshot_report_changes()
339 if (old->s_types != new->s_types) in snapshot_report_changes()
383 if (new == NULL) in snapshot_has_changed()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dexportlist.c194 struct groupnode *new; in newgroup() local
197 new = exmalloc(sizeof (*new)); in newgroup()
201 new->gr_name = newname; in newgroup()
202 new->gr_next = NULL; in newgroup()
203 *tail = new; in newgroup()
204 return (&new->gr_next); in newgroup()
211 struct exportnode *new; in newexport() local
214 new = exmalloc(sizeof (*new)); in newexport()
218 new->ex_dir = newname; in newexport()
220 new->ex_next = NULL; in newexport()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_rlock.c170 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 Dzfs_rename_013_pos.ksh49 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 Dldap_attr.c121 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 Dldap_val.c57 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 Dhtbl.c123 hentry_t *new; in add_fcall() local
155 new->count = cnt; in add_fcall()
156 new->prev = NULL; in add_fcall()
158 tmp = new->next; in add_fcall()
160 tmp->prev = new; in add_fcall()
162 cur->first = new; in add_fcall()
178 hiter_t *new; in iterate_hash() local
183 new->table = tbl; in iterate_hash()
194 new->next = tmp; in iterate_hash()
195 new->bucket = b; in iterate_hash()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/installf/
H A Dremovef.c48 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()

12345678910>>...44