/illumos-gate/usr/src/lib/libumem/common/ |
H A D | umem.c | 912 verify_and_copy_pattern(uint64_t old, uint64_t new, void *buf_arg, size_t size) argument 918 if (*buf != old) { 919 copy_pattern(old, buf_arg,
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvnops.c | 302 * Don't fail opens of old (bletch!) /proc lwp files. 318 /* semantic for old /proc interface */ 599 pr_read_piddir, /* /proc/<pid> (old /proc read()) */ 645 pr_read_pidfile, /* old process file */ 646 pr_read_pidfile, /* old lwp file */ 647 pr_read_opagedata, /* old pagedata file */ 1737 error = EIO; /* old /proc semantics */ 1776 pr_read_piddir, /* /proc/<pid> (old /proc read()) */ 1822 pr_read_pidfile, /* old process file */ 1823 pr_read_pidfile, /* old lw 2717 int old = 0; local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zio.c | 2208 * can compare the checksums of the new data and the old to determine if 2959 uint64_t old = spa->spa_last_io; local 2961 if (old != new) 2962 (void) atomic_cas_64(&spa->spa_last_io, old, new);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 2259 instr_t old; local 2267 /* fetch the old instruction */ 2270 iovp->pio_base = &old; 2271 iovp->pio_len = sizeof (old); 2291 if (old == BPT) { 2296 *saved = (ulong_t)old; 2306 instr_t old = (instr_t)saved; local 2318 * old instruction. Doing do can cause problems with self-modifying 2326 if (Pwrite(P, &old, sizeof (old), addres 2363 instr_t old = (instr_t)saved; local [all...] |
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | lemon.c | 1059 /* The configuration "old" is no longer used */ 1060 PRIVATE void deleteconfig(old) 1061 struct config *old; 1063 old->next = freelist; 1064 freelist = old; 1201 struct config *old; local 1202 old = current; 1205 return old; 1211 struct config *old; local 1212 old [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | map.c | 1814 datum old; local 1816 old.dptr = ndbm_map_lookup(map, key.dptr, 1818 if (old.dptr != NULL && *(char *) old.dptr != '\0') 1820 old.dsize = strlen(old.dptr); 1821 if (data.dsize + old.dsize + 2 > bufsiz) 1825 bufsiz = data.dsize + old.dsize + 2; 1829 data.dptr, ",", old.dptr); 1830 data.dsize = data.dsize + old 2530 DBT old; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | modctl.c | 4337 struct modctl_list *old = mod_garbage; local 4358 kobj_free(old, sizeof (struct modctl_list));
|
H A D | sunpm.c | 506 #define POWERING_ON(old, new) ((old) == 0 && (new) != 0) 507 #define POWERING_OFF(old, new) ((old) != 0 && (new) == 0) 2010 /* Now free the old array and point to the new one */ 2635 int old, int which, pm_canblock_t canblock) 2686 p->old_level = old; 2990 * Stash the old power index, update curpwr, and flag 2997 * oldest old power and the newest new power of any 3062 calc_cfb_comps_incr(dev_info_t *dip, int cmpt, int old, in argument 2634 psc_entry(ushort_t event, psce_t *psce, dev_info_t *dip, int comp, int new, int old, int which, pm_canblock_t canblock) argument 3675 int old; local 8927 int old; local [all...] |
H A D | kmem.c | 92 * kmem_cbrc_t move(void *old, void *new, size_t size, void *user_arg) 100 * object ready to take the contents of the old object. When the move function 137 * YES: (Did it) The client moved the object, so kmem frees the old one. 139 * unused copy destination). kmem also marks the slab of the old 151 * DONT_NEED: The client no longer needs the object, so kmem frees the old along 162 * unused copy destination) and searches for the old object in the 615 * the old object in the same way that object_free() does, since kmem will free 1152 /* memmove() the old entries down one notch */ \ 1203 verify_and_copy_pattern(uint64_t old, uint64_t new, void *buf_arg, size_t size) argument 1209 if (*buf != old) { [all...] |
/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 1207 * Copy old data into new space and 1208 * free old stuff 3225 * The default permission of a node which was in the old 3917 "rsm_proc_sqready_ack done: msg old incn %lld\n", 3991 "rsm_add_credits enter: old incn %lld\n", 4805 * the old mapinfo list because the segment mapping handles 5029 "rsm_intr_callback_dispatch done: old incn %lld\n", 5699 * the old acl a access permission of 0 is sent. 8293 rsmcookie_t *p, *old; local 8308 * Find old cooki [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 2953 * Release the old path because it does not matter which path 2995 int old; local 3006 "vhci_do_prin: MPxIO old keys:\n")); 3031 for (old = 1; old < num_keys; old++) { 3038 if (bcmp(&prin->keylist[old], 3047 prin->keylist[old];
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_proc.c | 1956 char *old = mdb_nv_get_cookie(v); local 1957 mdb_free(old, strlen(old) + 1); 3604 * If we changed the foreground process group, restore the old pgid
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 2955 vfs_mnttab_poll(timespec_t *old, struct pollhead **phpp) argument 2968 changed = (old->tv_nsec != vfs_mnttab_mtime.tv_nsec) || 2969 (old->tv_sec != vfs_mnttab_mtime.tv_sec); 4135 * will decrement the old value and then we will reset it, or we will
|
H A D | vnode.c | 1492 * the old (vp) upon exit. 4515 vsd_realloc(void *old, size_t osize, size_t nsize) argument 4520 if (old) { 4521 bcopy(old, new, osize); 4522 kmem_free(old, osize);
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | graph.c | 2915 boolean_t old = (v->gv_flags & GV_INSUBGRAPH) != 0; local 2925 if (new == old) 4159 * _REMOVE_INSTANCE to the old restarter, remove the dependency, make sure the 5620 * Set milestone, removing the old one if this was the last reference.
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 2114 * of the bad one. So we save the old (bad) I/F name before over- 2839 * add_net on zone boot in "old". The list of interfaces in "old" is 2843 * Returns the merged list of IP interfaces containing "old" and "new" 2846 add_ip_interface(zone_addr_list_t *old, zone_addr_list_t *new) argument 2851 assert(old != new); 2853 if (old == NULL) 2855 for (ptr = old; ptr != NULL; ptr = ptr->za_next) { 2861 new->za_next = old; 2876 return (old); [all...] |
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 3801 scf_transaction_entry_t *old; local 3831 old = uu_list_find(tran->tran_props, &prop, NULL, &idx); 3832 if (old != NULL) {
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 609 * read all remaining entries from the old file before switching to 1671 uint_t old, num; local 1690 old = num = ctl->zsctl_cpu_ncache; 1698 if (num <= old) { 1877 uint_t old, num; local 1968 old = num = ctl->zsctl_pset_ncache; 1970 if ((num + 1) <= old) { 2379 uint_t old, num; local 2412 old = num = ctl->zsctl_zone_ncache; 2414 if (num <= old) 3698 zs_usage_cache_t *old; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 2635 static struct ifstat old = {0L, 0L, 0L, 0L, 0L}; local 2871 * Walk old list for the interface. 2916 new.ipackets - old.ipackets, 2917 new.ierrors - old.ierrors, 2918 new.opackets - old.opackets, 2919 new.oerrors - old.oerrors, 2920 new.collisions - old.collisions); 2931 old = new; 3186 * Walk old list for the interface.
|
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_bcache.c | 2661 * this path could see old data before we recover. 2663 * by old data. 5600 _sd_bitmap_t old; local 5604 old = CENTRY_DIRTY(cc_ent); 5605 if (old) { 5610 if (old & SDBC_GET_BITS(st_off, st_len)) { 5622 return (old);
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ |
H A D | ecore_sp_verbs.c | 4284 int c, old; local 4291 old = ecore_atomic_cmpxchg((v), c, c + a); 4292 if (ECORE_LIKELY(old == c)) 4294 c = old; 4312 int c, old; local 4319 old = ecore_atomic_cmpxchg((v), c, c - a); 4320 if (ECORE_LIKELY(old == c)) 4322 c = old;
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge.c | 519 uintptr_t old, new; local 527 old = *putp; 528 j->next = (void *)old; 529 } while (atomic_cas_ulong(putp, old, new) != old);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.c | 232 static int diffclasses(ipqos_conf_action_t *old, ipqos_conf_action_t *new); 233 static int difffilters(ipqos_conf_action_t *old, ipqos_conf_action_t *new); 1152 * difference class old against class new. It marks the new class as 1158 ipqos_conf_class_t *old, 1165 if (strcmp(old->alist->name, new->alist->name) != 0) { 1173 if (old->stats_enable != new->stats_enable) { 1184 * difference params set old against params set new of module module_name. It 1190 ipqos_conf_params_t *old, 1201 if (old->stats_enable != new->stats_enable) { 1208 res = diffnvlists(old 1157 diffclass( ipqos_conf_class_t *old, ipqos_conf_class_t *new) argument 1189 diffparams( ipqos_conf_params_t *old, ipqos_conf_params_t *new, char *module_name) argument 1227 difffilter( ipqos_conf_filter_t *old, ipqos_conf_filter_t *new, char *module_name) argument 1379 diffconf( ipqos_conf_action_t *old, ipqos_conf_action_t *new) argument 1437 diffaction( ipqos_conf_action_t *old, ipqos_conf_action_t *new) argument 1484 diffclasses( ipqos_conf_action_t *old, ipqos_conf_action_t *new) argument 1588 difffilters( ipqos_conf_action_t *old, ipqos_conf_action_t *new) argument 1740 diffnvlists( nvlist_t *old, nvlist_t *new, char *module_name, int *pdiff, place_t place) argument [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/stmf/ |
H A D | stmf.c | 1909 uint32_t new, old; local 1911 new = old = itask->itask_flags; 1915 } while (atomic_cas_32(&itask->itask_flags, old, new) != old); 3782 uint8_t old, new; local 3785 old = new = itl->itl_flags; 3786 if (old & STMF_ITL_BEING_TERMINATED) 3789 } while (atomic_cas_8(&itl->itl_flags, old, new) != old); 4436 uint32_t old, ne local 4601 uint32_t new, old; local 4649 uint32_t new, old; local 4751 uint32_t new, old; local 4793 uint32_t new, old; local 4874 uint32_t new, old; local 4909 uint32_t old, new; local 4956 uint32_t old, new, f, rf; local 5024 uint32_t old, new; local 5155 uint32_t old, new; local 6191 uint32_t old, new; local [all...] |
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_page.c | 2415 * old vnode association. 3370 * Transfer the lock count from the old page (if any). 4502 * Replace the page "old" with the page "new" on the page hash and vnode lists 4506 * vp = old->p_vnode; 4507 * off = old->p_offset; 4508 * page_do_hashout(old) 4512 * 1) if old is the only page on the vnode, the v_pages list has a window 4518 page_do_relocate_hash(page_t *new, page_t *old) argument 4521 vnode_t *vp = old->p_vnode; 4524 ASSERT(PAGE_EXCL(old)); [all...] |