Home
last modified time | relevance | path

Searched refs:old (Results 1 – 25 of 614) sorted by relevance

12345678910>>...25

/illumos-gate/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_updrec.c48 if (old->r_dname != 0) { in old2new()
62 new->r_type = old->r_type; in old2new()
63 new->r_ttl = old->r_ttl; in old2new()
64 new->r_data = old->r_data; in old2new()
65 new->r_size = old->r_size; in old2new()
67 new->r_dp = old->r_dp; in old2new()
82 old->r_dname = 0; in new2old()
87 old->r_ttl = new->r_ttl; in new2old()
92 old->r_dp = new->r_dp; in new2old()
117 if (old == 0) in copy_list()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Drwlock.c258 return ((old & RW_LOCKED) && !(old & RW_WRITE_LOCKED)); in rw_locked()
298 if (casip(&lp->rw_wwwh, old, old + lock_value) != old) { in rw_enter_sleep()
331 } while (old != new && casip(&lp->rw_wwwh, old, new) != old); in rw_enter_sleep()
416 old = lp->rw_wwwh; in rw_exit_wakeup()
437 old = lp->rw_wwwh; in rw_exit_wakeup()
440 if (casip(&lp->rw_wwwh, old, new) != old) { in rw_exit_wakeup()
468 if (casip(&lp->rw_wwwh, old, new) != old) in rw_exit_wakeup()
530 uintptr_t old; in rw_tryenter() local
540 if (casip(&lp->rw_wwwh, old, old + RW_READ_LOCK) == old) in rw_tryenter()
602 } while (casip(&lp->rw_wwwh, old, new) != old); in rw_tryupgrade()
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Dsigretro.c109 sigtype old; in sigsys() local
113 return(old); in sigsys()
125 sigtype old; in sigset() local
137 return(old); in sigset()
162 return(old); in sigset()
173 sigtype old; in sighold() local
191 return(old); in sighold()
201 sigtype old; in sigrelse() local
219 return(old); in sigrelse()
276 sigtype old; in sigdisp() local
[all …]
/illumos-gate/usr/src/common/atomic/
H A Datomic.c367 return (old); in atomic_cas_8()
376 return (old); in atomic_cas_uchar()
385 return (old); in atomic_cas_16()
394 return (old); in atomic_cas_ushort()
403 return (old); in atomic_cas_32()
412 return (old); in atomic_cas_uint()
421 return (old); in atomic_cas_ulong()
430 return (old); in atomic_cas_64()
439 return (old); in atomic_cas_ptr()
447 return (old); in atomic_swap_8()
[all …]
/illumos-gate/usr/src/cmd/stat/common/
H A Dwalkers.c50 if (old) in cpu_walk()
51 cpu = &old->s_cpus[i]; in cpu_walk()
80 while (old && i < old->s_nr_psets && j < new->s_nr_psets) { in pset_walk()
82 cb(&old->s_psets[i], NULL, data); in pset_walk()
96 while (old && i < old->s_nr_psets) { in pset_walk()
97 cb(&old->s_psets[i], NULL, data); in pset_walk()
173 changed = iodev_walk(old ? old->s_iodevs : NULL, 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()
347 if (old->s_types & SNAP_CPUS) in snapshot_report_changes()
[all …]
/illumos-gate/usr/src/lib/libsecdb/common/
H A Di.rbac79 $4.old > $4.$$ 2>/dev/null
80 $mv_cmd $4.$$ $4.old
93 $4.old > $4.$$ 2>/dev/null
94 $mv_cmd $4.$$ $4.old
103 $mv_cmd $4.$$ $4.old
119 $4.old > $4.$$
120 $mv_cmd $4.$$ $4.old
125 $rm_cmd $4.old
149 $2 > $4.old
160 if [ -s $4.old ]; then
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_val.h58 void copyIndex(__nis_index_t *old, __nis_index_t *nnew,
60 __nis_index_t *cloneIndex(__nis_index_t *old);
61 void freeIndex(__nis_index_t *old, bool_t doFree);
84 void copyObjSpec(__nis_obj_spec_t *old,
86 __nis_obj_spec_t *cloneObjSpec(__nis_obj_spec_t *old);
88 void copySearchTriple(__nis_search_triple_t *old,
91 void freeSearchTriple(__nis_search_triple_t *old,
94 __nis_triple_or_obj_t *old,
97 __nis_triple_or_obj_t *old);
99 __nis_triple_or_obj_t *old,
[all …]
H A Dldap_val.c184 if (old == 0) in cloneIndex()
202 if (old == 0) in freeIndex()
211 free(old); in freeIndex()
1374 if (old == 0) in freeObjSpec()
1380 free(old); in freeObjSpec()
1442 if (old == 0) in freeSearchTriple()
1452 free(old); in freeSearchTriple()
1495 if (old == 0) in freeTripleOrObj()
1504 free(old); in freeTripleOrObj()
1528 if (old->type == mit_nisplus || old->type == mit_ldap) in copyItem()
[all …]
/illumos-gate/usr/src/cmd/diff3/
H A Ddiff3prog.c220 dd[i].old.from = a; in readin()
221 dd[i].old.to = b; in readin()
225 dd[i].old.from = dd[i-1].old.to; in readin()
288 d1->old.from, d1->old.to, in merge()
290 d2->old.from, d2->old.to, in merge()
323 d1[1].old.from = d1->old.from; in merge()
331 d2[1].old.from = d2->old.from; in merge()
339 dup = duplicate(&d1->old, &d2->old); in merge()
348 d3 = d1->old.to > d1->old.from ? d1 : d2; in merge()
522 de[j].old.from = diff->old.from; in edit()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_streams.c144 evStream *old = id.opaque; in evCancelRW() local
155 if (old->prev != NULL) in evCancelRW()
156 old->prev->next = old->next; in evCancelRW()
159 if (old->next != NULL) in evCancelRW()
160 old->next->prev = old->prev; in evCancelRW()
166 if (old->prevDone == NULL && old->nextDone == NULL) { in evCancelRW()
178 old->prevDone->nextDone = old->nextDone; in evCancelRW()
182 old->nextDone->prevDone = old->prevDone; in evCancelRW()
188 if (old->file.opaque) in evCancelRW()
190 memput(old->iovOrig, sizeof (struct iovec) * old->iovOrigCount); in evCancelRW()
[all …]
/illumos-gate/usr/src/uts/common/c2/
H A Dadr.c125 char *old; in adr_getchar() local
127 old = adr->adr_now; in adr_getchar()
129 return (old); in adr_getchar()
135 char *old; in adr_getshort() local
137 old = adr->adr_now; in adr_getshort()
142 return (old); in adr_getshort()
148 char *old; in adr_getint32() local
151 old = adr->adr_now; in adr_getint32()
157 return (old); in adr_getint32()
163 char *old; in adr_getint64() local
[all …]
/illumos-gate/usr/src/cmd/cpc/common/
H A Dsetgrp.c214 cpc_setgrp_clone(cpc_setgrp_t *old) in cpc_setgrp_clone() argument
223 new->nelem = old->nelem; in cpc_setgrp_clone()
224 new->current = old->current; in cpc_setgrp_clone()
225 new->cpc = old->cpc; in cpc_setgrp_clone()
227 new->smt = old->smt; in cpc_setgrp_clone()
229 for (i = 0; i < old->nelem; i++) { in cpc_setgrp_clone()
230 if ((newa[i].set = cpc_strtoset(old->cpc, old->sets[i].name, in cpc_setgrp_clone()
231 old->smt)) == NULL) { in cpc_setgrp_clone()
252 cpc_buf_copy(old->cpc, newa[i].data1, old->sets[i].data1); in cpc_setgrp_clone()
253 cpc_buf_copy(old->cpc, newa[i].data2, old->sets[i].data2); in cpc_setgrp_clone()
[all …]
/illumos-gate/usr/src/cmd/stat/vmstat/
H A Dvmstat.c186 dovmstats(old, ss); in main()
193 free_snapshot(old); in main()
194 old = ss; in main()
203 old = NULL; in main()
206 dovmstats(old, ss); in main()
209 free_snapshot(old); in main()
216 #define DELTA(v) (new->v - (old ? old->v : 0))
232 if (old) in show_disk()
237 reads = new->is_stats.reads - (old ? old->is_stats.reads : 0); in show_disk()
238 writes = new->is_stats.writes - (old ? old->is_stats.writes : 0); in show_disk()
[all …]
/illumos-gate/usr/src/cmd/ndmpstat/
H A Dndmpstat_main.c57 #define DELTA(v) (new->ns_##v - (old ? old->ns_##v : 0))
78 ndmp_stat_t *old = NULL; in main() local
137 dostats(old, nstat); in main()
141 free(old); in main()
142 old = nstat; in main()
145 free(old); in main()
149 free(old); in main()
153 dostats(old, nstat); in main()
173 dostats(ndmp_stat_t *old, ndmp_stat_t *new) in dostats() argument
188 if (!old) { in dostats()
/illumos-gate/usr/src/uts/common/vm/
H A Dpage_lock.c505 selock_t old; in page_try_reclaim_lock() local
509 old = pp->p_selock; in page_try_reclaim_lock()
526 if (old >= 0) { in page_try_reclaim_lock()
551 if ((old & ~SE_EWANTED) == 0) { in page_try_reclaim_lock()
616 selock_t old; in page_unlock_nocapture() local
620 old = pp->p_selock; in page_unlock_nocapture()
627 } else if (old < 0) { in page_unlock_nocapture()
632 pp->p_selock = old - SE_READER; in page_unlock_nocapture()
649 selock_t old; in page_unlock() local
653 old = pp->p_selock; in page_unlock()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddtdisc.c60 Dtdisc_t *old; local
63 if(!(old = dt->disc) ) /* initialization call from dtopen() */
71 return old;
73 if(old->eventf && (*old->eventf)(dt,DT_DISC,(Void_t*)disc,old) < 0)
87 return old;
/illumos-gate/usr/src/cmd/zic/
H A Dialloc.c29 icatalloc(old, new) in icatalloc() argument
30 char * const old; in icatalloc()
37 if (old == NULL)
40 return (old);
41 else oldsize = strlen(old);
42 if ((result = irealloc(old, oldsize + newsize + 1)) != NULL)
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dprobe_ipv6.sh13 old=${target}.h
63 if [ -f ${old} ]; then
64 if cmp -s ${new} ${old} ; then
67 rm -f ${old}
68 mv ${new} ${old}
71 mv ${new} ${old}
/illumos-gate/usr/src/tools/smatch/src/
H A Dbitmap.h35 unsigned long old = bitmap[offset]; in test_and_set_bit() local
37 bitmap[offset] = old | mask; in test_and_set_bit()
38 return (old & mask) != 0; in test_and_set_bit()
45 unsigned long old = bitmap[offset]; in test_and_clear_bit() local
47 bitmap[offset] = old & ~mask; in test_and_clear_bit()
48 return (old & mask) != 0; in test_and_clear_bit()
/illumos-gate/usr/src/uts/sparc/v7/sys/
H A Dtraptrace.h143 #define TRACE_RESTORE_PSR(old, scr1, scr2) \ argument
144 andn old, PSR_ET, old; \
147 and old, PSR_PIL, scr2; \
151 add old, scr1, old; \
152 9: mov old, %psr; \
153 wr old, PSR_ET, %psr; \
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dvmdisc.c44 Vmdisc_t* old = vm->disc; local
47 { if(old->exceptf &&
48 (*old->exceptf)(vm,VM_DISC,(Void_t*)disc,old) != 0 )
52 return old;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_common.h42 #define cmp(old, new) \ argument
43 (((old)->cusec == (new)->cusec) && \
44 ((old)->ctime == (new)->ctime) && \
45 (strcmp((old)->client, (new)->client) == 0) && \
46 (strcmp((old)->server, (new)->server) == 0) ? CMP_REPLAY : CMP_HOHUM)
/illumos-gate/usr/src/cmd/projadd/
H A Dprojmod.pl86 my ($new, $old, $mode) = @_;
90 my @merged = @$old;
120 foreach my $e (@$old) {
154 my ($new, $old, $mode) = @_;
168 if (defined($old)) {
169 push(@merged, @$old);
178 $lastmerged = $old;
234 my ($new, $old, $mode) = @_;
246 push(@merged, @$old);
284 foreach $oldattrib (@$old) {
[all …]
/illumos-gate/usr/src/cmd/stat/mpstat/
H A Dmpstat.c77 struct snapshot *old = NULL; in main() local
173 free_snapshot(old); in main()
174 old = new; in main()
178 snapshot_report_changes(old, new); in main()
182 free_snapshot(old); in main()
183 old = NULL; in main()
366 kstat_t *old = NULL; in get_nr_ticks() local
372 old = &p1->ps_cpus[i]->cs_sys; in get_nr_ticks()
384 if (old == NULL && new == NULL) in get_nr_ticks()
388 new = old; in get_nr_ticks()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dset_constraint_handler_s.c54 constraint_handler_t *new, *old, ret; in set_constraint_handler_s() local
61 old = _ch; in set_constraint_handler_s()
64 if (old == NULL) { in set_constraint_handler_s()
67 ret = *old; in set_constraint_handler_s()
68 free(old); in set_constraint_handler_s()

12345678910>>...25