Home
last modified time | relevance | path

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

12345678910>>...45

/titanic_51/usr/src/lib/libresolv2/common/isc/
H A Dev_connects.c67 evConn *new; in evListen() local
70 OKNEW(new); in evListen()
71 new->flags = EV_CONN_LISTEN; in evListen()
72 OKFREE(mode = fcntl(fd, F_GETFL, NULL), new); /*%< side effect: validate fd. */ in evListen()
83 OKFREE(ioctl(fd, FIONBIO, (char *)&on), new); in evListen()
85 OKFREE(fcntl(fd, F_SETFL, mode | PORT_NONBLOCK), new); in evListen()
87 new->flags |= EV_CONN_BLOCK; in evListen()
89 OKFREE(listen(fd, maxconn), new); in evListen()
90 if (evSelectFD(opaqueCtx, fd, EV_READ, listener, new, &new in evListen()
116 evConn *new; evConnect() local
241 evAccept *new; evTryAccept() local
290 int new; listener() local
[all...]
H A Dev_waits.c48 * Enter a new wait function on the queue.
55 evWait *new; in evWaitFor() local
58 OKNEW(new); in evWaitFor()
59 new->func = func; in evWaitFor()
60 new->uap = uap; in evWaitFor()
61 new->tag = tag; in evWaitFor()
62 new->next = NULL; in evWaitFor()
64 wl->last->next = new; in evWaitFor()
66 wl->first = new; in evWaitFor()
67 wl->last = new; in evWaitFor()
166 evWait *new; evDefer() local
206 evWaitList *new; evNewWaitList() local
[all...]
H A Dev_streams.c61 evStream *new; in evWrite() local
64 OKNEW(new); in evWrite()
65 new->func = func; in evWrite()
66 new->uap = uap; in evWrite()
67 new->fd = fd; in evWrite()
68 new->flags = 0; in evWrite()
69 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0) in evWrite()
71 if (copyvec(new, iov, iocnt) < 0) in evWrite()
73 new in evWrite()
95 evStream *new; evRead() local
[all...]
/titanic_51/usr/src/cmd/diff3/
H A Ddiff3prog.c59 struct diff {struct range old, new; }; member
66 * the "new" component of de contains line positions
222 dd[i].new.from = c; in readin()
223 dd[i].new.to = d; in readin()
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 in merge()
[all...]
/titanic_51/usr/src/cmd/powertop/common/
H A Dsuggestions.c63 * Add a new suggestion. Only one suggestion per text allowed.
68 sugg_t *new, *n, *pos = NULL; in pt_sugg_add() local
80 if ((new = calloc(1, sizeof (sugg_t))) == NULL) in pt_sugg_add()
84 new->sb_msg = strdup(sb_msg); in pt_sugg_add()
87 new->text = strdup(text); in pt_sugg_add()
89 new->weight = weight; in pt_sugg_add()
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()
[all...]
/titanic_51/usr/src/cmd/sendmail/src/
H A Drecipient.c191 /* heuristic to determine old versus new style addresses */
358 /* heuristic to determine old versus new style addresses */
441 ** new -- the (preparsed) address header for the recipient.
455 recipient(new, sendq, aliaslevel, e) in recipient() argument
456 register ADDRESS *new; in recipient()
479 initialdontsend = QS_IS_DEAD(new->q_state);
480 e->e_to = new->q_paddr;
481 m = new->q_mailer;
484 new->q_flags |= QPRIMARY;
488 printaddr(sm_debug_file(), new, fals
[all...]
/titanic_51/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_updrec.c16 * new one.
46 old2new(ns_updrec *old, __ISC_ns_updrec *new) { in old2new() argument
49 if ((new->r_dname = strdup(old->r_dname)) == 0) in old2new()
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()
60 new->r_section = old->r_section; in old2new()
61 new in old2new()
76 new2old(__ISC_ns_updrec * new,ns_updrec * old) new2old() argument
[all...]
/titanic_51/usr/src/lib/libidmap/common/
H A Didmap_cache.c804 sid2uid_gid_t *new; in idmap_cache_add_sid2uid() local
818 new = malloc(sizeof (sid2uid_gid_t)); in idmap_cache_add_sid2uid()
819 if (new == NULL) in idmap_cache_add_sid2uid()
821 new->sid_prefix = strdup(sid_prefix); in idmap_cache_add_sid2uid()
822 if (new->sid_prefix == NULL) { in idmap_cache_add_sid2uid()
823 free(new); in idmap_cache_add_sid2uid()
826 new->rid = rid; in idmap_cache_add_sid2uid()
827 new->uid = uid; in idmap_cache_add_sid2uid()
828 new->uid_ttl = ttl; in idmap_cache_add_sid2uid()
829 new in idmap_cache_add_sid2uid()
852 pid2sid_winname_t *new; idmap_cache_add_sid2uid() local
916 sid2uid_gid_t *new; idmap_cache_add_sid2gid() local
964 pid2sid_winname_t *new; idmap_cache_add_sid2gid() local
1026 sid2uid_gid_t *new; idmap_cache_add_sid2pid() local
1093 pid2sid_winname_t *new; idmap_cache_add_sid2pid() local
1205 winname2uid_gid_t *new; idmap_cache_add_winname2uid() local
1262 pid2sid_winname_t *new; idmap_cache_add_winname2uid() local
1335 winname2uid_gid_t *new; idmap_cache_add_winname2gid() local
1393 pid2sid_winname_t *new; idmap_cache_add_winname2gid() local
[all...]
/titanic_51/usr/src/lib/libcurses/screen/
H A Ddupwin.c52 * SS: calling makenew to allocate a new window is wastefull, since
60 WINDOW *new; in dupwin() local
66 /* allocate storage for new window and do block copy of */ in dupwin()
67 /* old one into new */ in dupwin()
69 if ((new = (WINDOW *) malloc(sizeof (WINDOW))) == NULL) in dupwin()
72 (void) memcpy(new, win, sizeof (WINDOW)); in dupwin()
74 /* allocate storage for "malloced" fields of the new window */ in dupwin()
76 if ((new->_firstch = (short *)malloc((unsigned)2 * line_size)) == NULL) in dupwin()
81 if ((new->_y = (chtype **) malloc(nlines * sizeof (chtype *))) == in dupwin()
87 free((char *)new in dupwin()
[all...]
/titanic_51/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_list.c53 * Link new into list after old.
60 ls_ins_after(ls_elt_t *old, ls_elt_t *new) in ls_ins_after() argument
62 new->ls_next = old->ls_next; in ls_ins_after()
63 new->ls_prev = old; in ls_ins_after()
64 new->ls_next->ls_prev = new; in ls_ins_after()
65 new->ls_prev->ls_next = new; in ls_ins_after()
72 * Link new into list after old.
79 ls_ins_before(ls_elt_t *old, ls_elt_t *new) in ls_ins_before() argument
[all...]
H A Dnsc_ddi.c306 * Link new into list before old.
313 nsc_ddi_ls_ins_before(ls_elt_t *old, ls_elt_t *new) in nsc_ddi_ls_ins_before() argument
316 ls_ins_before(ls_elt_t *old, ls_elt_t *new) in nsc_ddi_ls_ins_before()
319 new->ls_prev = old->ls_prev; in nsc_ddi_ls_ins_before()
320 new->ls_next = old; in nsc_ddi_ls_ins_before()
321 new->ls_prev->ls_next = new; in nsc_ddi_ls_ins_before()
322 new->ls_next->ls_prev = new; in nsc_ddi_ls_ins_before()
328 * Link new int
335 nsc_ddi_ls_ins_after(ls_elt_t * old,ls_elt_t * new) nsc_ddi_ls_ins_after() argument
[all...]
/titanic_51/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}
50 echo "#define in6_addr in_addr6" >> ${new}
54 echo "#define HAVE_SIN6_SCOPE_ID" >> ${new}
56 echo "#undef HAVE_SIN6_SCOPE_ID" >> ${new}
59 echo "#undef HAS_INET6_STRUCTS" >> ${new}
61 echo >> ${new}
62 echo "#endif" >> ${new}
64 if cmp -s ${new}
[all...]
/titanic_51/usr/src/lib/libprtdiag/common/
H A Dmemory.c225 memory_bank_t *new, *bank; in add_bank_node() local
229 if ((new = malloc(sizeof (memory_bank_t))) == NULL) { in add_bank_node()
234 new->portid = portid; in add_bank_node()
235 new->id = id++; in add_bank_node()
236 new->valid = (mc_decode >> 63); in add_bank_node()
237 new->uk = MC_UK(mc_decode); in add_bank_node()
238 new->um = MC_UM(mc_decode); in add_bank_node()
239 new->lk = MC_LK(mc_decode); in add_bank_node()
240 new->lm = MC_LM(mc_decode); in add_bank_node()
242 seg_size = ((((uint64_t)new in add_bank_node()
431 memory_seg_t *new; add_seg_node() local
[all...]
/titanic_51/usr/src/uts/common/fs/zfs/
H A Dzfs_rlock.c66 * new proxy locks created for non overlapping ranges.
104 zfs_range_lock_writer(znode_t *zp, rl_t *new) in zfs_range_lock_writer() argument
110 uint64_t off = new->r_off; in zfs_range_lock_writer()
111 uint64_t len = new->r_len; in zfs_range_lock_writer()
130 if (new->r_type == RL_APPEND) in zfs_range_lock_writer()
131 new->r_off = zp->z_size; in zfs_range_lock_writer()
138 end_size = MAX(zp->z_size, new->r_off + len); in zfs_range_lock_writer()
141 new->r_off = 0; in zfs_range_lock_writer()
142 new->r_len = UINT64_MAX; in zfs_range_lock_writer()
150 new in zfs_range_lock_writer()
271 zfs_range_add_reader(avl_tree_t * tree,rl_t * new,rl_t * prev,avl_index_t where) zfs_range_add_reader() argument
356 zfs_range_lock_reader(znode_t * zp,rl_t * new) zfs_range_lock_reader() argument
428 rl_t *new; zfs_range_lock() local
[all...]
/titanic_51/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()
99 * Point the new node at the current tail. Attempt to set tail in kmdb_wr_debugger_notify()
100 * to point to our new node, but only as long as tail is what in kmdb_wr_debugger_notify()
103 new->wn_prev = curtail; in kmdb_wr_debugger_notify()
106 (uintptr_t)new) != (uintptr_t)curtail); in kmdb_wr_debugger_notify()
159 kmdb_wr_t *new in kmdb_wr_driver_notify() local
[all...]
/titanic_51/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dvid_puts.c200 attr_t new = attr; in turn_off() local
204 new = WA_NORMAL; in turn_off()
209 new &= ~WA_UNDERLINE; in turn_off()
215 new &= ~WA_STANDOUT; in turn_off()
221 new &= ~WA_ALTCHARSET; in turn_off()
225 return new; in turn_off()
231 attr_t new = attr; in turn_on() local
236 new |= WA_ALTCHARSET; in turn_on()
241 new |= WA_BLINK; in turn_on()
246 new | in turn_on()
[all...]
/titanic_51/usr/src/uts/common/idmap/
H A Didmap_cache.c490 sid2pid_t *new; in kidmap_cache_add_sid2uid() local
504 new = kmem_alloc(sizeof (sid2pid_t), KM_SLEEP); in kidmap_cache_add_sid2uid()
505 new->sid_prefix = sid_prefix; in kidmap_cache_add_sid2uid()
506 new->rid = rid; in kidmap_cache_add_sid2uid()
507 new->uid = uid; in kidmap_cache_add_sid2uid()
508 new->uid_ttl = ttl; in kidmap_cache_add_sid2uid()
509 new->gid = UNDEF_GID; in kidmap_cache_add_sid2uid()
510 new->gid_ttl = 0; in kidmap_cache_add_sid2uid()
511 new->is_user = UNDEF_ISUSER; /* Unknown */ in kidmap_cache_add_sid2uid()
514 list_insert(&cache->sid2pid.head, new); in kidmap_cache_add_sid2uid()
532 pid2sid_t *new; kidmap_cache_add_sid2uid() local
579 sid2pid_t *new; kidmap_cache_add_sid2gid() local
621 pid2sid_t *new; kidmap_cache_add_sid2gid() local
667 sid2pid_t *new; kidmap_cache_add_sid2pid() local
728 pid2sid_t *new; kidmap_cache_add_sid2pid() local
865 sid_prefix_node_t *new; kidmap_find_sid_prefix() local
[all...]
/titanic_51/usr/src/common/atomic/
H A Datomic.c362 atomic_cas_8(volatile uint8_t *target, uint8_t cmp, uint8_t new) in atomic_cas_8() argument
366 *target = new; in atomic_cas_8()
371 atomic_cas_uchar(volatile uchar_t *target, uchar_t cmp, uchar_t new) in atomic_cas_uchar() argument
375 *target = new; in atomic_cas_uchar()
380 atomic_cas_16(volatile uint16_t *target, uint16_t cmp, uint16_t new) in atomic_cas_16() argument
384 *target = new; in atomic_cas_16()
389 atomic_cas_ushort(volatile ushort_t *target, ushort_t cmp, ushort_t new) in atomic_cas_ushort() argument
393 *target = new; in atomic_cas_ushort()
398 atomic_cas_32(volatile uint32_t *target, uint32_t cmp, uint32_t new) in atomic_cas_32() argument
402 *target = new; in atomic_cas_32()
407 atomic_cas_uint(volatile uint_t * target,uint_t cmp,uint_t new) atomic_cas_uint() argument
416 atomic_cas_ulong(volatile ulong_t * target,ulong_t cmp,ulong_t new) atomic_cas_ulong() argument
425 atomic_cas_64(volatile uint64_t * target,uint64_t cmp,uint64_t new) atomic_cas_64() argument
434 atomic_cas_ptr(volatile void * target,void * cmp,void * new) atomic_cas_ptr() argument
443 atomic_swap_8(volatile uint8_t * target,uint8_t new) atomic_swap_8() argument
451 atomic_swap_char(volatile uchar_t * target,uchar_t new) atomic_swap_char() argument
459 atomic_swap_16(volatile uint16_t * target,uint16_t new) atomic_swap_16() argument
467 atomic_swap_ushort(volatile ushort_t * target,ushort_t new) atomic_swap_ushort() argument
475 atomic_swap_32(volatile uint32_t * target,uint32_t new) atomic_swap_32() argument
483 atomic_swap_uint(volatile uint_t * target,uint_t new) atomic_swap_uint() argument
491 atomic_swap_64(volatile uint64_t * target,uint64_t new) atomic_swap_64() argument
499 atomic_swap_ptr(volatile void * target,void * new) atomic_swap_ptr() argument
507 atomic_swap_ulong(volatile ulong_t * target,ulong_t new) atomic_swap_ulong() argument
[all...]
/titanic_51/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dvid_puts.c186 attr_t new = attr; in turn_off() local
190 new = WA_NORMAL; in turn_off()
195 new &= ~WA_UNDERLINE; in turn_off()
201 new &= ~WA_STANDOUT; in turn_off()
207 new &= ~WA_ALTCHARSET; in turn_off()
211 return (new); in turn_off()
217 attr_t new = attr; in turn_on() local
222 new |= WA_ALTCHARSET; in turn_on()
228 new |= WA_BLINK; in turn_on()
234 new | 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 in scr_replace()
[all...]
/titanic_51/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()
[all...]
/titanic_51/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...]
/titanic_51/usr/src/cmd/stat/common/
H A Dwalkers.c40 cpu_walk(struct snapshot *old, struct snapshot *new, in cpu_walk() argument
47 for (i = 0; i < new->s_nr_cpus; i++) { in cpu_walk()
49 struct cpu_snapshot *newcpu = &new->s_cpus[i]; in cpu_walk()
62 if ((new->s_types & SNAP_PSETS) && in cpu_walk()
73 pset_walk(struct snapshot *old, struct snapshot *new, in pset_walk() argument
80 while (old && i < old->s_nr_psets && j < new->s_nr_psets) { in pset_walk()
81 if (old->s_psets[i].ps_id < new->s_psets[j].ps_id) { in pset_walk()
85 } else if (old->s_psets[i].ps_id > new->s_psets[j].ps_id) { in pset_walk()
86 cb(NULL, &new->s_psets[j], data); in pset_walk()
90 cb(&old->s_psets[i], &new in pset_walk()
156 snapshot_walk(enum snapshot_types type,struct snapshot * old,struct snapshot * new,snapshot_cb cb,void * data) snapshot_walk() argument
332 snapshot_report_changes(struct snapshot * old,struct snapshot * new) snapshot_report_changes() argument
373 snapshot_has_changed(struct snapshot * old,struct snapshot * new) snapshot_has_changed() argument
[all...]
/titanic_51/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_hash.c188 * then a new block needs to be allocated and inserted into the hash
425 * _sd_hash_replace - replace 'old' with 'new' entry.
429 * new - pointer to block inserting in place.
436 * expects old & new to refer to same block.
437 * new must not be already hashed.
441 _sd_hash_replace(_sd_hash_hd_t *old, _sd_hash_hd_t *new, in _sd_hash_replace() argument
447 if ((old->hh_cd != new->hh_cd) || (old->hh_blk_num != new->hh_blk_num)) in _sd_hash_replace()
449 (void *)old, (void *)new); in _sd_hash_replace()
450 if (new in _sd_hash_replace()
[all...]
/titanic_51/usr/src/cmd/truss/
H A Dhtbl.c123 hentry_t *new; in add_fcall() local
145 * so we make a new entry and add it to the table in add_fcall()
148 new = (hentry_t *)my_malloc(sizeof (hentry_t), NULL); in add_fcall()
149 new->key = strdup(key); in add_fcall()
150 if (new->key == NULL) in add_fcall()
152 new->lib = strdup(lib); in add_fcall()
153 if (new->lib == NULL) in add_fcall()
155 new->count = cnt; in add_fcall()
156 new->prev = NULL; in add_fcall()
157 new in add_fcall()
178 hiter_t *new; iterate_hash() local
[all...]

12345678910>>...45