/titanic_51/usr/src/lib/libresolv2/common/sunw/ |
H A D | sunw_updrec.c | 15 * add them back), we retain the old interface as a wrapper around the 46 old2new(ns_updrec *old, __ISC_ns_updrec *new) { in old2new() argument 48 if (old->r_dname != 0) { in old2new() 49 if ((new->r_dname = strdup(old->r_dname)) == 0) in old2new() 60 new->r_section = old->r_section; in old2new() 61 new->r_class = old->r_class; 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 in old2new() 76 new2old(__ISC_ns_updrec * new,ns_updrec * old) new2old() argument 113 copy_list(ns_updrec * old,int do_glink) copy_list() argument [all...] |
/titanic_51/usr/src/uts/common/os/ |
H A D | rwlock.c | 255 uintptr_t old = lp->rw_wwwh; in rw_locked() local 258 return ((old & RW_LOCKED) && !(old & RW_WRITE_LOCKED)); in rw_locked() 261 return ((old & RW_OWNER) == (uintptr_t)curthread); in rw_locked() 276 uintptr_t old, new, lock_value, lock_busy, lock_wait; in rw_enter_sleep() local 297 if (((old = lp->rw_wwwh) & lock_busy) == 0) { in rw_enter_sleep() 298 if (casip(&lp->rw_wwwh, old, old + lock_value) != old) { in rw_enter_sleep() 315 if ((old in rw_enter_sleep() 408 uintptr_t old, new, lock_value; rw_exit_wakeup() local 530 uintptr_t old; rw_tryenter() local 594 uintptr_t old, new; rw_tryupgrade() local 636 uintptr_t old = ((rwlock_impl_t *)rwlp)->rw_wwwh; rw_read_locked() local 654 uintptr_t old = ((rwlock_impl_t *)rwlp)->rw_wwwh; rw_owner() local [all...] |
/titanic_51/usr/src/cmd/mailx/ |
H A D | sigretro.c | 46 * Retrofit new signal interface to old signal primitives. 109 sigtype old; in sigsys() local 111 old = sigdisp(sig); in sigsys() 113 return(old); in sigsys() 125 sigtype old; in sigset() local 131 old = sigdisp(sig); in sigset() 137 return(old); in sigset() 151 return(old); in sigset() 159 return(old); in sigset() 162 return(old); in sigset() 173 sigtype old; sighold() local 201 sigtype old; sigrelse() local 276 sigtype old; sigdisp() local 308 sigtype old; _Sigtramp() local [all...] |
/titanic_51/usr/src/common/atomic/ |
H A D | atomic.c | 364 uint8_t old = *target; in atomic_cas_8() local 365 if (old == cmp) in atomic_cas_8() 367 return (old); in atomic_cas_8() 373 uchar_t old = *target; in atomic_cas_uchar() local 374 if (old == cmp) in atomic_cas_uchar() 376 return (old); in atomic_cas_uchar() 382 uint16_t old = *target; in atomic_cas_16() local 383 if (old == cmp) in atomic_cas_16() 385 return (old); in atomic_cas_16() 391 ushort_t old in atomic_cas_ushort() local 400 uint32_t old = *target; atomic_cas_32() local 409 uint_t old = *target; atomic_cas_uint() local 418 ulong_t old = *target; atomic_cas_ulong() local 427 uint64_t old = *target; atomic_cas_64() local 436 void *old = *(void **)target; atomic_cas_ptr() local 445 uint8_t old = *target; atomic_swap_8() local 453 uchar_t old = *target; atomic_swap_char() local 461 uint16_t old = *target; atomic_swap_16() local 469 ushort_t old = *target; atomic_swap_ushort() local 477 uint32_t old = *target; atomic_swap_32() local 485 uint_t old = *target; atomic_swap_uint() local 493 uint64_t old = *target; atomic_swap_64() local 501 void *old = *(void **)target; atomic_swap_ptr() local 509 ulong_t old = *target; atomic_swap_ulong() local [all...] |
/titanic_51/usr/src/cmd/stat/common/ |
H A D | walkers.c | 40 cpu_walk(struct snapshot *old, struct snapshot *new, in cpu_walk() argument 50 if (old) in cpu_walk() 51 cpu = &old->s_cpus[i]; 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() 82 cb(&old->s_psets[i], NULL, data); in pset_walk() 85 } else if (old->s_psets[i].ps_id > new->s_psets[j].ps_id) { in pset_walk() 90 cb(&old in pset_walk() 155 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/lib/libsecdb/common/ |
H A D | i.rbac | 58 # $2 is the "old/existing file" 68 ${egrep_cmd} -v '^#[pragma ]*ident' $2 > $4.old 2>/dev/null 70 # If the new file has a Sun copyright, remove the Sun copyright from the old 79 $4.old > $4.$$ 2>/dev/null 80 $mv_cmd $4.$$ $4.old 84 # copyrights from the old file. 93 $4.old > $4.$$ 2>/dev/null 94 $mv_cmd $4.$$ $4.old 97 # If the new file has the CDDL, remove it from the old file. 102 $4.old > [all...] |
/titanic_51/usr/src/lib/libnisdb/ |
H A D | ldap_val.h | 58 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); 87 void freeObjSpec(__nis_obj_spec_t *old, bool_t doFree); 88 void copySearchTriple(__nis_search_triple_t *old, 90 __nis_search_triple_t *cloneSearchTriple(__nis_search_triple_t *old); 91 void freeSearchTriple(__nis_search_triple_t *old, 94 __nis_triple_or_obj_t *old, [all...] |
/titanic_51/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_streams.c | 148 evStream *old = id.opaque; in evCancelRW() local 159 if (old->prev != NULL) in evCancelRW() 160 old->prev->next = old->next; in evCancelRW() 162 ctx->streams = old->next; in evCancelRW() 163 if (old->next != NULL) in evCancelRW() 164 old->next->prev = old->prev; in evCancelRW() 167 * If 'old' is on the ctx->strDone list, remove it. Update in evCancelRW() 170 if (old in evCancelRW() [all...] |
/titanic_51/usr/src/cmd/diff3/ |
H A D | diff3prog.c | 59 struct diff {struct range old, new; }; member 220 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() 299 change(1, &d1->old, in merge() [all...] |
/titanic_51/usr/src/uts/common/c2/ |
H A D | adr.c | 125 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...] |
/titanic_51/usr/src/ucbcmd/sbcp/ |
H A D | syscalls.list | 37 nosys NOSYS /* 13 = 0, old time */ 42 nosys NOSYS /* 18 = 0, old stat */ 45 nosys NOSYS /* 21 = 0, old mount */ 46 umount SIMPLE /* 22 = 1, old umount */ 47 nosys NOSYS /* 23 = 0, old setuid */ 49 nosys NOSYS /* 25 = 0, old stime */ 51 nosys NOSYS /* 27 = 0, old alarm */ 52 nosys NOSYS /* 28 = 0, old fstat */ 54 nosys NOSYS /* 30 = 0, old utime */ 58 nosys NOSYS /* 34 = 0, old nic [all...] |
/titanic_51/usr/src/lib/libbc/libc/gen/sys5/ |
H A D | sleep.c | 35 struct itimerval new, old, zero; in sleep() local 45 if (setitimer(ITIMER_REAL, newp, &old) < 0) in sleep() 50 if (timerisset(&old.it_value)) { in sleep() 51 if (timercmp(&old.it_value, &newp->it_value, >)) { in sleep() 52 old.it_value.tv_sec -= newp->it_value.tv_sec; in sleep() 56 - old.it_value.tv_sec; in sleep() 57 if (old.it_value.tv_usec != 0) { in sleep() 60 - old.it_value.tv_usec; in sleep() 62 newp->it_value = old.it_value; in sleep() 63 timerclear(&old in sleep() [all...] |
/titanic_51/usr/src/uts/i86pc/os/ |
H A D | mach_kdi.c | 162 uintptr_t old; in boot_kdi_tmpinit() local 166 old = (uintptr_t)rdmsr(MSR_AMD_GSBASE); in boot_kdi_tmpinit() 168 return ((void *)old); in boot_kdi_tmpinit() 172 boot_kdi_tmpfini(void *old) in boot_kdi_tmpfini() argument 174 wrmsr(MSR_AMD_GSBASE, (uint64_t)old); in boot_kdi_tmpfini() 183 uintptr_t old; in boot_kdi_tmpinit() local 198 old = getgs(); in boot_kdi_tmpinit() 201 return ((void *)old); in boot_kdi_tmpinit() 205 boot_kdi_tmpfini(void *old) in boot_kdi_tmpfini() argument 207 setgs((uintptr_t)old); in boot_kdi_tmpfini() [all...] |
/titanic_51/usr/src/cmd/cpc/common/ |
H A D | setgrp.c | 214 cpc_setgrp_clone(cpc_setgrp_t *old) in cpc_setgrp_clone() argument 221 newa = emalloc(old->nelem * sizeof (*newa)); in cpc_setgrp_clone() 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() 228 new->has_sysonly_set = old->has_sysonly_set; 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 in cpc_setgrp_clone() [all...] |
/titanic_51/usr/src/cmd/avs/dsstat/ |
H A D | report.c | 48 hrtime_delta(hrtime_t old, hrtime_t new) in hrtime_delta() argument 53 if ((new >= old) && (old >= 0L)) { in hrtime_delta() 54 return (new - old); in hrtime_delta() 63 * case where the old value is positive or in hrtime_delta() 71 if (old > 0L) { in hrtime_delta() 72 return (n1 - old); in hrtime_delta() 74 o1 = -old; in hrtime_delta() 83 * than the old entry. This implies we waited in hrtime_delta() 87 if (old < in hrtime_delta() 109 u32_delta(uint32_t old,uint32_t new) u32_delta() argument 124 u64_delta(uint64_t old,uint64_t new) u64_delta() argument [all...] |
/titanic_51/usr/src/cmd/ndmpstat/ |
H A D | ndmpstat_main.c | 57 #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_ argument [all...] |
/titanic_51/usr/src/cmd/stat/vmstat/ |
H A D | vmstat.c | 51 static void dovmstats(struct snapshot *old, struct snapshot *new); 60 struct snapshot *old = NULL; in main() local 182 dovmstats(old, ss); in main() 189 free_snapshot(old); in main() 190 old = ss; in main() 194 snapshot_report_changes(old, ss); in main() 197 if (snapshot_has_changed(old, ss)) { in main() 198 free_snapshot(old); in main() 199 old = NULL; in main() 202 dovmstats(old, s in main() 222 struct iodev_snapshot *old = (struct iodev_snapshot *)v1; show_disk() local 242 dovmstats(struct snapshot * old,struct snapshot * new) dovmstats() argument [all...] |
/titanic_51/usr/src/lib/libast/common/vmalloc/ |
H A D | vmdisc.c | 44 Vmdisc_t* old = vm->disc; local 47 { if(disc->memoryf != old->memoryf) 49 if(old->exceptf && 50 (*old->exceptf)(vm,VM_DISC,(Void_t*)disc,old) != 0 ) 54 return old;
|
/titanic_51/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_list.c | 53 * 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() 72 * Link new into list after old. 79 ls_ins_before(ls_elt_t *old, ls_elt_t *new) in ls_ins_before() argument 81 new->ls_prev = old->ls_prev; in ls_ins_before() 82 new->ls_next = old; in ls_ins_before()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/cdt/ |
H A D | dtdisc.c | 60 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;
|
/titanic_51/usr/src/uts/common/vm/ |
H A D | page_lock.c | 168 * all claim to have 256 CPUs maximum, and the old value of PSE_TABLE_SIZE 506 selock_t old; in page_try_reclaim_lock() local 510 old = pp->p_selock; in page_try_reclaim_lock() 521 if (se == SE_SHARED && es == 1 && old == 0) { in page_try_reclaim_lock() 527 if (old >= 0) { in page_try_reclaim_lock() 531 if ((old & SE_EWANTED) == 0) { in page_try_reclaim_lock() 532 pp->p_selock = old + SE_READER; in page_try_reclaim_lock() 551 if (!(old & SE_EWANTED) || (es & SE_EXCL_WANTED)) { in page_try_reclaim_lock() 552 if ((old & ~SE_EWANTED) == 0) { in page_try_reclaim_lock() 617 selock_t old; in page_unlock_nocapture() local 650 selock_t old; page_unlock() local [all...] |
/titanic_51/usr/src/cmd/zic/ |
H A D | ialloc.c | 29 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)
|
/titanic_51/usr/src/lib/libresolv2/include/ |
H A D | probe_ipv6.sh | 13 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}
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmdisc.c | 30 /* Change the discipline for a region. The old discipline 44 Vmdisc_t* old = vm->disc; local 47 { if(old->exceptf && 48 (*old->exceptf)(vm,VM_DISC,(Void_t*)disc,old) != 0 ) 52 return old;
|
/titanic_51/usr/src/tools/ctf/cvt/ |
H A D | merge.c | 717 conjure_template(tdesc_t *old, int newselfid) in conjure_template() argument 721 new->t_name = old->t_name ? xstrdup(old->t_name) : NULL; in conjure_template() 722 new->t_type = old->t_type; in conjure_template() 723 new->t_size = old->t_size; in conjure_template() 725 new->t_flags = old->t_flags; in conjure_template() 732 conjure_intrinsic(tdesc_t *old, int newselfid, merge_cb_data_t *mcd) in conjure_intrinsic() argument 734 tdesc_t *new = conjure_template(old, newselfid); in conjure_intrinsic() 737 bcopy(old->t_intr, new->t_intr, sizeof (intr_t)); in conjure_intrinsic() 743 conjure_plain(tdesc_t *old, in argument 753 conjure_function(tdesc_t * old,int newselfid,merge_cb_data_t * mcd) conjure_function() argument 779 conjure_array(tdesc_t * old,int newselfid,merge_cb_data_t * mcd) conjure_array() argument 798 conjure_su(tdesc_t * old,int newselfid,merge_cb_data_t * mcd) conjure_su() argument 819 conjure_enum(tdesc_t * old,int newselfid,merge_cb_data_t * mcd) conjure_enum() argument 837 conjure_forward(tdesc_t * old,int newselfid,merge_cb_data_t * mcd) conjure_forward() argument 848 conjure_assert(tdesc_t * old,int newselfid,merge_cb_data_t * mcd) conjure_assert() argument 855 conjure_iidesc(iidesc_t * old,merge_cb_data_t * mcd) conjure_iidesc() argument [all...] |