/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | pci_mech2.c | 53 uint8_t old; local 56 old = inb(PCI_CSE_PORT); 62 return (old);
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_ipc.c | 164 struct sigaction new, old; local 194 (void) sigaction(SIGPIPE, &new, &old); /* preserve old disposition */ 252 (void) sigaction(SIGPIPE, &old, NULL);
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | newscreen.c | 80 SCREEN *old = SP; local 265 SP = old;
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_entry.cc | 78 new_entry(entry_object *old) argument 85 if (copy_entry(old, newobj)) 94 copy_entry(entry_object * old, entry_object *nb) argument 100 if (old == NULL) return FALSE; 102 if (old->en_type == NULL) 105 nb->en_type = strdup(old->en_type); 112 num_cols = old->en_cols.en_cols_len; 113 cols = old->en_cols.en_cols_val;
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | sigretro.c | 46 * Retrofit new signal interface to old signal primitives. 109 sigtype old; local 111 old = sigdisp(sig); 113 return(old); 125 sigtype old; local 131 old = sigdisp(sig); 137 return(old); 151 return(old); 159 return(old); 162 return(old); 173 sigtype old; local 201 sigtype old; local 276 sigtype old; local 308 sigtype old; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_umemglue.c | 105 uint64_t old = *t; local 107 return (old);
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | rename.c | 126 * to search for an old name for a newly discovered file 211 * file node for the old file 219 struct file *old, side_t side) 230 dirp->f_name, old->f_name, dirp->f_name, new->f_name, 240 old->f_srcdiffs |= D_RENAME_FROM; 243 old->f_dstdiffs |= D_RENAME_FROM; 246 /* put a link to the old name in the new name */ 247 new->f_previous = old; 254 * FIX ... someday we are going to have to merge the old and 218 note_rename(struct file *dirp, struct file *new, struct file *old, side_t side) argument
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_put.c | 537 char old[sizeof(LFPREFIX) + 5 + 20], new[sizeof(LFPREFIX) + 10 + 20]; local 545 * both the old-style and new-style log file names. The trick is 547 * read-only want to use an old-style file name if they can't find 549 * callers may check for the old-style when they really don't need 551 * the old-style name when we've already failed to find a new-style 569 * the caller isn't interested in old-style files. 574 /* Create an old-style file name. */ 575 (void)snprintf(old, sizeof(old), LFNAME_V1, filenumber); 577 DB_APP_LOG, dblp->dir, old, [all...] |
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | config.c | 172 * Determine whether and old pathname exists within a search path string, 174 * but not "/lib". If so, add the new pathname before the old pathname. For 182 conv_config_upm(const char *str, const char *old, const char *new, argument 187 const char *ptrold = old, * ptrnew = new; 197 * If the old or new string checking is still 208 * If an old or new string hasn't yet been matched, 212 ptrold = old; 223 * Determine if the current token matches the old or new string. 233 * We've come to the end of the string, if the old or new string 244 * If an old strin [all...] |
/illumos-gate/usr/src/cmd/avs/dsstat/ |
H A D | report.c | 48 hrtime_delta(hrtime_t old, hrtime_t new) argument 53 if ((new >= old) && (old >= 0L)) { 54 return (new - old); 63 * case where the old value is positive or 71 if (old > 0L) { 72 return (n1 - old); 74 o1 = -old; 83 * than the old entry. This implies we waited 87 if (old < 109 u32_delta(uint32_t old, uint32_t new) argument 124 u64_delta(uint64_t old, uint64_t new) argument [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_hash.c | 425 * _sd_hash_replace - replace 'old' with 'new' entry. 428 * old - pointer to block being deleted (to be anonymous) 436 * expects old & new to refer to same block. 441 _sd_hash_replace(_sd_hash_hd_t *old, _sd_hash_hd_t *new, argument 447 if ((old->hh_cd != new->hh_cd) || (old->hh_blk_num != new->hh_blk_num)) 449 (void *)old, (void *)new); 453 if (old->hh_hashed == 0) { 463 i = HASH(old->hh_cd, old [all...] |
/illumos-gate/usr/src/uts/common/c2/ |
H A D | adr.c | 125 char *old; local 127 old = adr->adr_now; 129 return (old); 135 char *old; local 137 old = adr->adr_now; 142 return (old); 148 char *old; local 151 old = adr->adr_now; 157 return (old); 163 char *old; local [all...] |
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | regcache.c | 86 int old; local 139 old = 0; 147 else if (!matchstate.cache[old] || matchstate.cache[old]->serial > matchstate.cache[i]->serial) 148 old = i; 154 unused = old;
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | mach_kdi.c | 201 boot_kdi_tmpfini(void *old) argument 256 boot_kdi_tmpfini(void *old) argument
|
/illumos-gate/usr/src/cmd/look/ |
H A D | look.c | 178 canon(char *old, char *new) argument 184 *new = c = *old++;
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | zalloc_malloc.c | 143 * realloc() - I could be fancier here and free the old buffer before 152 size_t old; local 156 old = *(size_t *)((char *)ptr - MALLOCALIGN) - MALLOCALIGN; 157 if (old < size) 158 bcopy(ptr, res, old);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | acquire_cred.c | 109 char *new, *old; local 130 old = krb5_gss_keytab; 133 if (old != NULL) 134 free(old);
|
/illumos-gate/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) { argument 48 if (old->r_dname != 0) { 49 if ((new->r_dname = strdup(old->r_dname)) == 0) 60 new->r_section = old->r_section; 61 new->r_class = old->r_class; 62 new->r_type = old->r_type; 63 new->r_ttl = old->r_ttl; 64 new->r_data = old->r_data; 65 new->r_size = old 76 new2old(__ISC_ns_updrec *new, ns_updrec *old) argument 113 copy_list(ns_updrec *old, int do_glink) argument [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | newterm.c | 470 int old; local 472 old = (__m_screen->_flags & S_ECHO) == S_ECHO; 478 return old;
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | newterm.c | 474 int old; local 476 old = (__m_screen->_flags & S_ECHO) == S_ECHO; 482 return (old);
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_streams.c | 148 evStream *old = id.opaque; local 159 if (old->prev != NULL) 160 old->prev->next = old->next; 162 ctx->streams = old->next; 163 if (old->next != NULL) 164 old->next->prev = old->prev; 167 * If 'old' is on the ctx->strDone list, remove it. Update 170 if (old [all...] |
/illumos-gate/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; local 137 dostats(old, nstat); 141 free(old); 142 old = nstat; 145 free(old); 149 free(old); 153 dostats(old, nstat); 173 dostats(ndmp_stat_t *old, ndmp_stat_ argument [all...] |
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/kctl/ |
H A D | kctl_isadep.c | 119 * fallback on the old "input-device" property. 201 kctl_boot_tmpfini(void *old) argument 203 boot_kdi_tmpfini(old);
|
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_bank.c | 162 fmd_hdl_debug(hdl, "dimm_lookup: discarding old ereport\n"); 210 fmd_hdl_debug(hdl, "bank_lookup: discarding old bank\n"); 219 bank_v0tov1(fmd_hdl_t *hdl, cmd_bank_0_t *old, size_t oldsz) argument 229 new->bank_header = old->bank0_header; 231 new->bank_asru = old->bank0_asru; 232 new->bank_nretired = old->bank0_nretired; 234 fmd_hdl_free(hdl, old, oldsz);
|
H A D | cmd_page.c | 140 page_v0tov1(fmd_hdl_t *hdl, cmd_page_0_t *old, size_t oldsz) argument 150 new->page_header = old->page0_header; 152 new->page_asru = old->page0_asru; 154 fmd_hdl_free(hdl, old, oldsz);
|