Searched defs:old (Results 126 - 150 of 259) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb.c47 * stacked on old ones by nested calls to mdb_run: this occurs when, for
361 * found within the path. The old path string is specified by "path", a buffer
370 char old[MAXPATHLEN]; local
373 (void) strcpy(old, p);
379 (void) strncpy(p, old, (size_t)(q - p));
H A Dmdb_main.c1072 mdb_iob_t *old = mdb.m_in; local
1076 mdb.m_in = old;
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_rpc_adm.c623 uint64_t old, now = fmd_time_gethrtime(); local
632 old = fmd_event_hrtime(oep->se_event);
634 old = now;
636 rsi->rsi_delta = now >= old ? now - old : (UINT64_MAX - old) + now + 1;
722 fmd_log_t **lpp, *old, *new; local
760 * the log. If we're successful, release the old log pointer.
767 old = *lpp;
769 if ((new = fmd_log_rotate(old)) !
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_memerr.c62 static const struct ce_name2type old[] = { local
79 const struct ce_name2type *names = (minorvers == 0) ? &old[0] : &new[0];
/illumos-gate/usr/src/cmd/sed/
H A Dcompile.c635 char old[_POSIX2_LINE_MAX + 1]; local
648 p = compile_delimited(p, old, 1);
655 op = old;
/illumos-gate/usr/src/cmd/allocate/
H A Dmkdevalloc.c1285 void *old = *array; local
1296 /* copy old array into new space */
1297 bcopy(old, new, n * size);
1299 /* now release old arrary */
1300 free(old);
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A Dprofv.c588 does_overlap(ProfModule *new, mod_info_t *old) argument
590 /* case 1: new module lies completely *before* the old one */
591 if (new->startaddr < old->load_base && new->endaddr <= old->load_base)
594 /* case 2: new module lies completely *after* the old one */
595 if (new->startaddr >= old->load_end && new->endaddr >= old->load_end)
679 * existing module. If yes, deactivate the old one.
816 * Check the magic and see if this is versioned or *old-style*
/illumos-gate/usr/src/cmd/svc/configd/
H A Dconfigd.c298 sigset_t new, old; local
316 (void) pthread_sigmask(SIG_SETMASK, &new, &old);
319 (void) pthread_sigmask(SIG_SETMASK, &old, NULL);
323 (void) pthread_sigmask(SIG_SETMASK, &old, NULL);
/illumos-gate/usr/src/uts/common/contract/
H A Dprocess.c149 ctmpl_process_t *old = template->ctmpl_data; local
156 new->ctp_subsume = old->ctp_subsume;
159 new->ctp_params = old->ctp_params;
160 new->ctp_ev_fatal = old->ctp_ev_fatal;
161 new->ctp_svc_fmri = old->ctp_svc_fmri;
165 new->ctp_svc_aux = old->ctp_svc_aux;
H A Ddevice.c415 ctmpl_device_t *old = template->ctmpl_data; local
424 * ctmpl_copy returns with old template lock held
429 new->ctd_aset = old->ctd_aset;
431 new->ctd_noneg = old->ctd_noneg;
433 if (old->ctd_minor) {
434 ASSERT(strlen(old->ctd_minor) + 1 <= MAXPATHLEN);
435 bcopy(old->ctd_minor, buf, strlen(old->ctd_minor) + 1);
942 is_sync_neg(uint_t old, uint_t new) argument
946 ASSERT(old
[all...]
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_callprov.c225 kcf_provider_desc_t *old, kcf_provider_desc_t **new, crypto_func_group_t fg)
227 kcf_provider_desc_t *provider, *real_pd = old;
259 if (old->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) {
260 if (old->pd_provider_list == NULL) {
269 mutex_enter(&old->pd_lock);
270 p = old->pd_provider_list;
344 mutex_exit(&old->pd_lock);
347 if (!KCF_IS_PROV_USABLE(old)) {
353 if (!is_valid_provider_for_mech(old, me, fg)) {
360 !kcf_check_prov_mech_keylen(old, mech_type_
223 kcf_get_hardware_provider(crypto_mech_type_t mech_type_1, crypto_key_t *key1, crypto_mech_type_t mech_type_2, crypto_key_t *key2, kcf_provider_desc_t *old, kcf_provider_desc_t **new, crypto_func_group_t fg) argument
384 kcf_get_hardware_provider_nomech(offset_t offset_1, offset_t offset_2, kcf_provider_desc_t *old, kcf_provider_desc_t **new) argument
[all...]
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_csr.c1167 uint32_t old; local
1225 offset, compare, swap, &old);
1227 req->cmd_u.l32.old_value = old;
/illumos-gate/usr/src/lib/watchmalloc/common/
H A Dmalloc.c287 realloc(void *old, size_t size) argument
303 if (old == NULL) {
313 tp = BLOCK(old);
331 return (old);
338 free_unlocked(old);
398 return (old);
407 (void) memcpy(new, old, ts);
408 free_unlocked(old);
436 return (old);
454 (void) memmove(DATA(np), old, SIZ local
480 realfree(void *old) argument
1076 free(void *old) argument
1085 free_unlocked(void *old) argument
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dipc.c243 * 3) All old slots are locked, in order.
246 * the old table.
249 * 8) All slot locks (old and new) are dropped.
259 * Because we can't guarantee that threads aren't accessing the old
871 ipc_slot_t *new, *old; local
886 old = service->ipcs_table;
888 mutex_enter(&old[i].ipct_lock);
891 new[i].ipct_seq = old[i].ipct_seq;
892 new[i].ipct_data = old[i].ipct_data;
893 old[
[all...]
H A Dlgrp_topo.c199 * latency and shift its old resources to its parent and its parent's resources
552 lgrp_t *old; local
568 old = child->lgrp_parent;
569 new->lgrp_parent = old;
576 if (old) {
577 klgrpset_del(old->lgrp_children, child->lgrp_id);
578 klgrpset_add(old->lgrp_children, new->lgrp_id);
580 klgrpset_add(*changed, old->lgrp_id);
706 * Get latency between new leaf and old leaf whose lineage it is
724 * Skip non-existent lgroups, old lea
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dpage_lock.c167 * all claim to have 256 CPUs maximum, and the old value of PSE_TABLE_SIZE
506 selock_t old; local
510 old = pp->p_selock;
521 if (se == SE_SHARED && es == 1 && old == 0) {
527 if (old >= 0) {
531 if ((old & SE_EWANTED) == 0) {
532 pp->p_selock = old + SE_READER;
551 if (!(old & SE_EWANTED) || (es & SE_EXCL_WANTED)) {
552 if ((old & ~SE_EWANTED) == 0) {
619 selock_t old; local
653 selock_t old; local
[all...]
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dfts.c699 register char* old; local
715 old = fts->home;
717 memcpy(newp, old, n_old);
721 fts->path = newp + (fts->path - old);
723 fts->base = newp + (fts->base - old);
724 free(old);
/illumos-gate/usr/src/uts/sparc/dtrace/
H A Dsdt.c133 sdt_probe_t *sdp, *old; local
230 old = dtrace_probe_arg(prov->sdtp_id, id);
231 ASSERT(old != NULL);
233 sdp->sdp_next = old->sdp_next;
235 old->sdp_next = sdp;
256 sdt_probe_t *sdp = parg, *old; local
267 old = sdp;
270 kmem_free(old, sizeof (sdt_probe_t));
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7c.c164 nl7c_addr_t *old; local
198 old = nl7caddrs;
199 new->next = old;
200 if (atomic_cas_ptr(&nl7caddrs, old, new) != old) {
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_nisdbquery.c128 cloneQuery(db_query *old, int numComps) { argument
133 if (old == 0)
140 if (old->components.components_len > numComps)
141 numComps = old->components.components_len;
151 for (i = 0; i < old->components.components_len; i++) {
154 if (old->components.components_val[i].index_value == 0) {
157 old->components.components_val[i].which_index;
161 it = buildItem(old->components.components_val[i].index_value->
163 old->components.components_val[i].index_value->
174 old
727 __nis_value_t *tmpval, *old; local
[all...]
H A Dldap_ruleval.c104 * Grow 'old' from 'oldCount' to 'newCount' elements, initialize the
107 * refer only to the returned array, not to 'old'.
110 growRuleValue(int oldCount, int newCount, __nis_rule_value_t *old, argument
117 return (old);
121 old = 0;
127 rv = realloc(old, newCount * sizeof (rv[0]));
133 freeRuleValue(old, oldCount);
472 * which case the '*rval' pointer will change; the old '*rval'
674 __nis_value_t *tmpval, *old; local
713 old
[all...]
/illumos-gate/usr/src/uts/common/io/virtio/
H A Dvirtio.c83 int old = 0; local
86 old = ddi_get8(sc->sc_ioh, (uint8_t *)(sc->sc_io_addr +
91 VIRTIO_CONFIG_DEVICE_STATUS), status | old);
1084 /* Fall back to old-fashioned interrupts. */
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_engine.c377 engine_state_t *old = est; local
384 est->sc_repo_pid = old->sc_repo_pid;
385 if (old->sc_repo_filename != NULL)
386 est->sc_repo_filename = safe_strdup(old->sc_repo_filename);
387 if (old->sc_repo_doordir != NULL)
388 est->sc_repo_doordir = safe_strdup(old->sc_repo_doordir);
389 if (old->sc_repo_doorname != NULL)
390 est->sc_repo_doorname = safe_strdup(old->sc_repo_doorname);
391 if (old->sc_repo_server != NULL)
392 est->sc_repo_server = safe_strdup(old
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_diff.c194 print_rename(FILE *fp, differ_info_t *di, const char *old, const char *new, argument
206 print_cmn(fp, di, old);
/illumos-gate/usr/src/uts/common/io/urf/
H A Durf_usbgem.c383 uint8_t old; local
394 IN(dp, MSR, &old, &err, usberr);
398 new = old & ~(MSR_TXFCE | MSR_RXFCE);
417 if (new != old) {
681 uint8_t old; local
690 IN(dp, URF_EEPROM_BASE + 9, &old, &err, usberr);
692 DPRINTF(0, (CE_CONT, "!%s: eeprom offset 9: %02x", dp->name, old));
696 new = old | 0x04;
699 new = old & ~0x04;
701 if (new != old) {
[all...]

Completed in 120 milliseconds

1234567891011