/illumos-gate/usr/src/cmd/modload/ |
H A D | plcysubr.c | 231 put_minor_range(FILE *fp, fileentry_t *old, const char *devn, const char *tail, argument 235 if (old != NULL && old->rawbuf != old->orgentry) 236 (void) fwrite(old->rawbuf, 1, old->orgentry - old->rawbuf, fp); 255 FILE *old, *new; local 284 old = fopen(filename, "r"); 286 if (old [all...] |
/illumos-gate/usr/src/cmd/fs.d/hsfs/fstyp/ |
H A D | fstyp.c | 207 char *old = NULL; local 211 old = map[i * 2 + 1]; 215 return (old);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfslog_config.c | 518 * Compares the value of '*old' with 'new', if it has changed, 519 * then sets whatever 'old' references equal to 'new'. 526 char **old, /* pointer to config field */ 547 if (*old == NULL) 549 else if (strcmp(tmp_new, *old) != 0) { 550 free(*old); 554 *old = tmp_new; 555 } else if (*old != NULL) { 557 free(*old); 558 *old 525 update_field( char **old, char *new, char *prependdir, boolean_t *updated) argument [all...] |
/illumos-gate/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; local 182 dovmstats(old, ss); 189 free_snapshot(old); 190 old = ss; 194 snapshot_report_changes(old, ss); 197 if (snapshot_has_changed(old, ss)) { 198 free_snapshot(old); 199 old = NULL; 202 dovmstats(old, s 222 struct iodev_snapshot *old = (struct iodev_snapshot *)v1; local 242 dovmstats(struct snapshot *old, struct snapshot *new) argument [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | pkgobjmap.c | 524 /* First, lose the old size, then add the new size. */ 582 /* Copy everything from the new entry to the old */ 649 * Replace the old package database entry with the new one preserving the 654 * preserved from old: 658 repl_cfent(struct cfent *new, struct cfent *old) argument 660 char *path = old->path; 661 short npkgs = old->npkgs; 662 struct pinfo *pinfo = old->pinfo; 665 (void) memcpy(old, new, sizeof (struct cfent)); 668 old [all...] |
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_bmap.c | 185 * the old extents and start using the others 285 * old data.(cannot be more than one page) 379 * than the old size 456 * old hole to the begining of new hole 656 struct icb_ext *old; local 659 old = ip->i_con; 666 if (old) { 667 bcopy(old, ip->i_con, old_count); 668 kmem_free(old, old_count); 922 * try to allocate adjascent to the old block 1051 struct icb_ext *old; local [all...] |
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | kssl.c | 438 kssl_entry_t *old; local 474 if ((old = kssl_entry_tab[i]) == NULL) 497 if (is_in_suites(s, old->kssl_saved_Suites)) { 506 s = old->kssl_saved_Suites[j]; 511 (tmp_suites[rcnt] != old->kssl_cipherSuites[rcnt])) 521 *new = *old; /* Structure copy */ 522 old->ke_no_freeall = B_TRUE; 530 KSSL_ENTRY_REFRELE(old);
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_mac.c | 497 int old, new = 0, relink = 0, rx_mode = 0, rc = 0; local 509 old = lc->autoneg; 511 if (old != new) { 550 old = lc->requested_fc & (PAUSE_TX | PAUSE_RX); 559 if (new != old) { 568 old = lc->advertising & FW_PORT_CAP_SPEED_10G; 570 if (new != old) { 583 old = lc->advertising & FW_PORT_CAP_SPEED_1G; 586 if (old != new) { 598 old [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | pg.c | 211 #define PG_CPUPART_MOVE(class, cp, old, new) \ 214 pg_classes[class].pgc_ops->cpupart_move(cp, old, new); \ 792 * "old" and "new" are the outgoing and incoming threads, respectively. 795 pg_ev_thread_swtch(struct cpu *cp, hrtime_t now, kthread_t *old, kthread_t *new) argument 805 pg->pg_cb.thread_swtch(pg, cp, now, old, new);
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | stk.c | 192 Sfio_t *old = 0; local 194 old = stkinstall(stream,NiL); 197 if(old) 198 stkinstall(old,NiL); 265 Sfio_t *old; local 275 old = stkcur?stk2stream(stkcur):0; 291 return(old); 395 register unsigned char *old; local 402 old = stream->_data; 403 stream->_data = stream->_next = old 427 register unsigned char *old, *top; local [all...] |
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmdebug.c | 75 int old = Dbfd; local 77 return old; 501 Void_t* addr; /* old block of data */ 563 if(!data) /* failed, reset data for old block */
|
/illumos-gate/usr/src/uts/intel/dtrace/ |
H A D | sdt.c | 107 sdt_probe_t *sdp, *old; local 169 old = dtrace_probe_arg(prov->sdtp_id, id); 170 ASSERT(old != NULL); 172 sdp->sdp_next = old->sdp_next; 174 old->sdp_next = sdp; 196 sdt_probe_t *sdp = parg, *old, *last, *hash; local 208 old = sdp; 231 kmem_free(old, sizeof (sdt_probe_t));
|
/illumos-gate/usr/src/cmd/pbind/ |
H A D | pbind.c | 152 bind_out(id_t pid, id_t lwpid, processorid_t old, processorid_t new) argument 165 if (old == PBIND_NONE) { 175 "now not bound\n"), proclwp, pidstr, old); 178 "now %d\n"), proclwp, pidstr, old, new);
|
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/ |
H A D | gmem_dimm.c | 201 gmem_dimm_v0tov1(fmd_hdl_t *hdl, gmem_dimm_0_t *old, size_t oldsz) argument 210 new->dimm_header = old->dimm0_header; 212 new->dimm_asru = old->dimm0_asru; 213 new->dimm_nretired = old->dimm0_nretired; 217 fmd_hdl_free(hdl, old, oldsz);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softObjectUtil.c | 97 * from the old object to the new object. 99 * The caller of this function holds the lock on the old object. 123 * Copy the attribute_info struct from the old 213 * The caller of this function holds the lock on the old object. 1061 * Copy the selected fields from new token object to old 1065 soft_copy_to_old_object(soft_object_t *new, soft_object_t *old) argument 1071 old->class = new->class; 1072 old->bool_attr_mask = new->bool_attr_mask; 1073 soft_cleanup_extra_attr(old); 1076 rv = soft_copy_extra_attr(attrp, old); [all...] |
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | env.c | 678 cmn_msg_t *old; local 696 old = root->prev; 697 old->next = root; 698 root = old;
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | scfutil.c | 412 * be old format (SMF acceptable string) or new format (pretty much an 429 /* this is old form so give an index of "0" */ 1701 sigset_t old, new; local 1714 (void) sigprocmask(SIG_SETMASK, &new, &old); 1791 (void) sigprocmask(SIG_SETMASK, &old, NULL);
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | array.c | 115 static void array_setptr(register Namval_t *np, struct index_array *old, struct index_array *new) argument 118 while(*fp && *fp!= &old->header.hdr)
|
H A D | subshell.c | 437 register int old=0; local 440 old = !(sp->fdsaved&(1<<(fd-1))); 443 return(old);
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | tnfctl_int.h | 103 boolean_t old; /* relative to last sync with linker */ member in struct:objlist
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_srvr.c | 393 void *old = sess->csctx; local 396 return (old);
|
/illumos-gate/usr/src/common/atomic/ |
H A D | atomic.c | 364 uint8_t old = *target; local 365 if (old == cmp) 367 return (old); 373 uchar_t old = *target; local 374 if (old == cmp) 376 return (old); 382 uint16_t old = *target; local 383 if (old == cmp) 385 return (old); 391 ushort_t old local 400 uint32_t old = *target; local 409 uint_t old = *target; local 418 ulong_t old = *target; local 427 uint64_t old = *target; local 436 void *old = *(void **)target; local 445 uint8_t old = *target; local 453 uchar_t old = *target; local 461 uint16_t old = *target; local 469 ushort_t old = *target; local 477 uint32_t old = *target; local 485 uint_t old = *target; local 493 uint64_t old = *target; local 501 void *old = *(void **)target; local 509 ulong_t old = *target; local [all...] |
/illumos-gate/usr/src/cmd/psrset/ |
H A D | psrset.c | 175 assign_out(processorid_t cpu, psetid_t old, psetid_t new) argument 177 if (old == PS_NONE) { 187 "now not assigned\n"), cpu, old); 190 "now %d\n"), cpu, old, new); 256 bind_out(id_t pid, id_t lwpid, psetid_t old, psetid_t new) argument 269 if (old == PS_NONE) { 279 "now not bound\n"), proclwp, pidstr, old); 282 "now %d\n"), proclwp, pidstr, old, new);
|
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_scanner.c | 500 lmapping_t *old = NULL; local 504 mklmapping(&old, lpc->lpc_prpageheader); 509 (lmapping_dump_diff(old, new) != 0))) { 511 debug("old\n"); 512 lmapping_dump(old); 520 lmapping_free(&old);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_capture.c | 323 scan(char *buf, int len, int filter, int cap, int old, void (*proc)(), argument 373 * If the packets come from an old 376 if (old) { 549 * old format snoop file. 662 /* Use heuristic to check if it's an old-style file */ 734 * old to new format.
|