/illumos-gate/usr/src/cmd/cpio/ |
H A D | utils.c | 66 e_realloc(int flag, void *old, size_t newsize) argument 68 void *ret = realloc(old, newsize);
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/ |
H A D | kctl_main.c | 443 void *old; local 461 old = kctl_boot_tmpinit(); /* Set up temporary state */ 500 kctl_boot_tmpfini(old);
|
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/kctl/ |
H A D | kctl_isadep.c | 288 kctl_boot_tmpfini(void *old) argument 290 (void) kctl_curthread_set(old);
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_hout.c | 173 continue; /* old style or single args */ 299 * old K & R C 394 /* old style passes by reference */ 441 char *old = def->def.ty.old_type; local 446 if (!streq(name, old)) { 447 if (streq(old, "string")) { 448 old = "char"; 450 } else if (streq(old, "opaque")) { 451 old = "char"; 452 } else if (streq(old, "boo [all...] |
/illumos-gate/usr/src/cmd/sf880drd/ |
H A D | sf880drd.c | 236 unsigned int old; local 243 old = fault_leds[side]; 258 DPRINTF(("fault_led_event: old(0x%x), fault_leds[%d](0x%x)\n", 259 old, side, fault_leds[side])); 261 if ((old == 0) != (fault_leds[side] == 0) && ok2rem_leds[side] == 0) { 277 unsigned int old; local 284 old = ok2rem_leds[side]; 299 DPRINTF(("removable_led_event: old(0x%x), ok2rem_leds[%d](0x%x)\n", 300 old, side, ok2rem_leds[side])); 302 if ((old [all...] |
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | util.c | 246 add_string(char *old, char *str) argument 250 if (old) { 258 if ((_str = strstr(old, str)) != NULL) { 259 if (((_str == old) || 264 return (old); 267 len = strlen(old) + strlen(str) + 2; 270 (void) snprintf(new, len, MSG_ORIG(MSG_FMT_COLPATH), old, str);
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | Resample.cc | 137 int old = num_state - size; local 139 old * sizeof (double)); 140 memcpy(state + old, in, size * sizeof (double));
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumponline.c | 326 char *ext, *old; local 354 old = archivefile; 356 ext = strstr(old, defext); 361 archivefile = xmalloc(strlen(old) + strlen(defext) + 365 (void) sprintf(archivefile, "%s%s%d", old, defext, passno); 366 free(old); 393 * let the user move the old file out
|
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/ |
H A D | util.c | 55 POLICY_LIST *n = plist, *old; local 61 old = n; 64 free(old);
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire.c | 437 kstat_delta(kstat_t *old, kstat_t *new, char *name) argument 440 if (old && old->ks_data) { 441 kstat_named_t *kold = kstat_data_lookup(old, name); 489 cpu_ticks_delta(kstat_t *old, kstat_t *new) argument 494 ticks += kstat_delta(old, new, cpu_states[i]); 517 hrtime_delta(hrtime_t old, hrtime_t new) argument 521 if ((new >= old) && (old >= 0L)) 522 return (new - old); [all...] |
H A D | walkers.c | 40 cpu_walk(struct snapshot *old, struct snapshot *new, argument 50 if (old) 51 cpu = &old->s_cpus[i]; 73 pset_walk(struct snapshot *old, struct snapshot *new, argument 80 while (old && i < old->s_nr_psets && j < new->s_nr_psets) { 81 if (old->s_psets[i].ps_id < new->s_psets[j].ps_id) { 82 cb(&old->s_psets[i], NULL, data); 85 } else if (old->s_psets[i].ps_id > new->s_psets[j].ps_id) { 90 cb(&old 155 snapshot_walk(enum snapshot_types type, struct snapshot *old, struct snapshot *new, snapshot_cb cb, void *data) argument 332 snapshot_report_changes(struct snapshot *old, struct snapshot *new) argument 373 snapshot_has_changed(struct snapshot *old, struct snapshot *new) argument [all...] |
/illumos-gate/usr/src/cmd/stat/mpstat/ |
H A D | mpstat.c | 77 struct snapshot *old = NULL; local 173 free_snapshot(old); 174 old = new; 178 snapshot_report_changes(old, new); 181 if (snapshot_has_changed(old, new)) { 182 free_snapshot(old); 183 old = NULL; 186 show_cpu_usage(old, new, display_agg); 366 kstat_t *old = NULL; local 372 old 486 show_cpu_usage(struct snapshot *old, struct snapshot *new, int display_agg) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | errorq.c | 524 errorq_elem_t *eep, *old; local 554 old = eqp->eq_pend; 555 eep->eqe_prev = old; 558 if (atomic_cas_ptr(&eqp->eq_pend, old, eep) == old) 908 errorq_elem_t *old; local 916 old = eqp->eq_pend; 917 eqep->eqe_prev = old; 920 if (atomic_cas_ptr(&eqp->eq_pend, old, eqep) == old) [all...] |
H A D | rwlock.c | 255 uintptr_t old = lp->rw_wwwh; local 258 return ((old & RW_LOCKED) && !(old & RW_WRITE_LOCKED)); 261 return ((old & RW_OWNER) == (uintptr_t)curthread); 279 uintptr_t old, new, lock_value, lock_busy, lock_wait; local 300 if (((old = lp->rw_wwwh) & lock_busy) == 0) { 301 if (casip(&lp->rw_wwwh, old, old + lock_value) != old) { 318 if ((old 414 uintptr_t old, new, lock_value; local 537 uintptr_t old; local 604 uintptr_t old, new; local 647 uintptr_t old = ((rwlock_impl_t *)rwlp)->rw_wwwh; local 665 uintptr_t old = ((rwlock_impl_t *)rwlp)->rw_wwwh; local [all...] |
H A D | printf.c | 168 uint32_t old, new; local 170 old = panicbuf_index; 171 new = old + len; 174 } while (atomic_cas_32(&panicbuf_index, old, new) != old);
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | putdev.c | 168 struct stat64 sbuf; /* stat buf for old devtab file */ 857 struct attrval *old; /* Old attribute/value desc */ local 904 for (old = ent->attrlist; !found && old; 905 old = old->next) { 906 if (strcmp(old->attr, new->attr) == 0) { 908 free(old->val); 909 old->val = new->val;
|
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmmopen.c | 309 { Void_t* old = u->data; local 311 return old;
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | x_call.c | 79 * on a different Virtual Address at the same time. The old code required 140 * Increment a CPU's work count and return the old value 145 int old; local 147 old = mcpu->xc_work_cnt; 148 } while (atomic_cas_32(&mcpu->xc_work_cnt, old, old + 1) != old); 149 return (old); 568 * The value of 40000 here is from old kernel code. It
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xen_mmu.c | 144 uintptr_t old; local 165 old = (uintptr_t)xen_info; 168 kbm_unmap(old + off); 182 old = (uintptr_t)mfn_list; 186 kbm_unmap(old + off); 218 old = (uintptr_t)HYPERVISOR_shared_info; 220 kbm_unmap(old); 230 old = (uintptr_t)HYPERVISOR_console_page; 232 kbm_unmap(old);
|
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_dimm.c | 216 fmd_hdl_debug(hdl, "dimm_lookup: discarding old ereport\n"); 290 fmd_hdl_debug(hdl, "dimm_lookup: discarding old dimm\n"); 303 dimm_v0tov2(fmd_hdl_t *hdl, cmd_dimm_0_t *old, size_t oldsz) argument 313 new->dimm_header = old->dimm0_header; 315 new->dimm_asru = old->dimm0_asru; 316 new->dimm_nretired = old->dimm0_nretired; 320 fmd_hdl_free(hdl, old, oldsz); 325 dimm_v1tov2(fmd_hdl_t *hdl, cmd_dimm_1_t *old, size_t oldsz) argument 337 new->dimm_header = old->dimm1_header; 339 new->dimm_asru = old [all...] |
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | setup.c | 416 TERMINAL *old; local 418 old = cur_term; 421 return (old);
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_dg.c | 920 int old; local 923 old = t_errno; 942 rpc_callerr.re_terrno = old;
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppcontrol.c | 303 static struct ppmacro old; local 660 old = *mac; 1191 if (old.value) 1193 if ((i0 & SYM_FUNCTION) != (sym->flags & SYM_FUNCTION) || old.arity != mac->arity || !streq(old.value, mac->value)) goto redefined; 1194 if (!old.formals) 1204 if (!streq(mac->formkeys[n].name, old.formkeys[n].name) || !streq(mac->formkeys[n].value, old.formkeys[n].value)) 1209 if (!streq(mac->formals, old.formals)) goto redefined; 1215 mac->formkeys = old [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | sys_bsd.c | 288 int old; local 313 old = ttyflush(SYNCHing|flushout); 314 if (old == -1 || old > 1) { 325 old = ttyflush(SYNCHing|flushout); 326 } while (old == -1 || old > 1); 329 old = prevmode;
|
/illumos-gate/usr/src/cmd/diff3/ |
H A D | diff3prog.c | 59 struct diff {struct range old, new; }; member in struct:diff 220 dd[i].old.from = a; 221 dd[i].old.to = b; 225 dd[i].old.from = dd[i-1].old.to; 288 d1->old.from, d1->old.to, 290 d2->old.from, d2->old.to, 299 change(1, &d1->old, [all...] |