/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_atomic.c | 36 uint64_t oldval; local 41 oldval = *count_p; 42 newval = oldval - n; 43 if (oldval < n) 45 } while (atomic_cas_64(count_p, oldval, newval) != oldval); 56 uint64_t oldval; local 61 oldval = *count_p; 62 newval = oldval + n; 63 } while (atomic_cas_64(count_p, oldval, newva 74 uint32_t oldval; local [all...] |
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_atomic.c | 41 uint64_t oldval; local 46 oldval = *count_p; 47 newval = oldval - n; 48 if (oldval <= n) 50 } while (atomic_cas_64(count_p, oldval, newval) != oldval); 61 uint64_t oldval; local 66 oldval = *count_p; 67 newval = oldval + n; 68 } while (atomic_cas_64(count_p, oldval, newva 77 uint64_t oldval; local 96 uint64_t oldval; local 114 uint64_t oldval; local 131 uint64_t oldval; local 150 uint32_t oldval; local [all...] |
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | ttl_utils.c | 287 struct timeval oldval; local 289 oldval.tv_sec = t1->tv_sec; 295 if (!(t1->tv_sec >= oldval.tv_sec)) { 297 "Wrap when adding %d to %d", t2, oldval.tv_sec);
|
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | rand48.c | 64 static unsigned short oldval[3]; variable 157 oldval[0] = X[2]; 158 oldval[1] = X[1]; 159 oldval[2] = X[0]; 163 return(oldval);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_utils.c | 229 uint32_t oldval; local 236 oldval = *count_p; 237 if (oldval < n) 239 newval = oldval - n; 241 } while (atomic_cas_32(count_p, oldval, newval) != oldval);
|
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_init_finish.c | 74 int oldval = _dwarf_apply_relocs; local 76 return oldval; 82 int oldval = _dwarf_assume_string_bad; local 85 return oldval;
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_stats.c | 345 uint32_t oldval; local 401 oldval = ib_perf[indx].ks_old_pic0; 466 tmp = tmp - oldval; 477 oldval = ib_perf[indx].ks_old_pic1; 542 tmp = tmp - oldval;
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_stats.c | 385 uint32_t shift, mask, oldval; local 445 oldval = ib_perf[indx].ks_old_pic0; 454 tmp = tmp - oldval; 468 oldval = ib_perf[indx].ks_old_pic1; 477 tmp = tmp - oldval;
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 43 uint32_t oldval; local 48 oldval = *count_p; 49 newval = oldval - n; 50 if (oldval <= n) 52 } while (atomic_cas_32(count_p, oldval, newval) != oldval); 66 uint32_t oldval; local 71 oldval = *count_p; 72 newval = oldval + n; 73 } while (atomic_cas_32(count_p, oldval, newva [all...] |
H A D | rge_chip.c | 281 uint32_t oldval; local 286 oldval = *sp; 287 newval = oldval << count; 288 } while (atomic_cas_32(sp, oldval, newval) != oldval); 290 return (oldval);
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_common_mmu.c | 478 uint16_t oldval, newval; local 507 oldval = sfmmup->sfmmu_pgsz[0] << 8 | sfmmup->sfmmu_pgsz[1]; 516 if (newval != oldval) {
|
H A D | opl_olympus.c | 977 uint16_t oldval, newval; local 998 oldval = sfmmup->sfmmu_pgsz[0] << 8 | sfmmup->sfmmu_pgsz[1]; 1004 if (newval != oldval) {
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib_send.c | 363 long oldval, newval; local 374 oldval = newval = atomic_get(&ic->i_credits); 375 posted = IB_GET_POST_CREDITS(oldval); 376 avail = IB_GET_SEND_CREDITS(oldval); 408 if (atomic_cmpxchg(&ic->i_credits, oldval, newval) != oldval)
|
/illumos-gate/usr/src/uts/common/io/afe/ |
H A D | afe.c | 760 uint32_t newval, oldval; local 771 newval = oldval = afep->afe_mctab[index]; 782 if (newval != oldval) {
|
/illumos-gate/usr/src/uts/common/io/pcn/ |
H A D | pcn.c | 592 uint16_t newval, oldval; local 605 newval = oldval = pcnp->pcn_mctab[index]; 616 if (newval != oldval) {
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 1734 krb5_boolean oldval; local 1751 oldval = krb5_db2_db_set_lockmode(kcontext, *((krb5_boolean *) value)); 1752 *((krb5_boolean *) value) = oldval;
|
/illumos-gate/usr/src/uts/sun4u/vm/ |
H A D | mach_kpm.c | 699 int oldval; local 855 oldval = sfmmu_kpm_stsbmtl(&ksp->kp_mapped_flag, &kpmsp->kshl_lock, 859 if (oldval != 0) 886 int oldval; local 1049 oldval = sfmmu_kpm_stsbmtl(&ksp->kp_mapped_flag, 1052 if (oldval != KPM_MAPPEDS) { 1057 if (oldval != KPM_MAPPEDSC) 1069 oldval = sfmmu_kpm_stsbmtl(&ksp->kp_mapped_flag, 1072 if (oldval != KPM_MAPPEDSC || PP_ISKPMC(pp) == 0) 1091 oldval 1540 int oldval; local 2186 int oldval; local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zap_micro.c | 1145 uint64_t oldval; local 1156 (void) zap_lookup(os, zapobj, name, 8, 1, &oldval); 1184 ASSERT3U(MZE_PHYS(zap, mze)->mze_value, ==, oldval); local
|
/illumos-gate/usr/src/cmd/passwd/ |
H A D | passwd.c | 505 * If the line is empty, or the input equals 'oldval', NULL is returned. 510 getresponse(char *oldval) argument 520 if (*resp != '\0' && strcmp(resp, oldval) != 0) 539 char *oldval; /* shorthand for oldattr.data.val_s */ local 550 oldval = oldattr.data.val_s; 554 if (*oldval == '\0') { 555 free(oldval); 556 oldval = strdup(DEFSHL); 563 while (valid && strcmp(valid, oldval) != 0) 568 (void) fprintf(stderr, gettext(MSG_RS), oldval); 573 (void) printf(gettext(MSG_OLDSHELL), oldval); local 633 (void) printf(gettext(MSG_NAME), oldval); local 635 (void) printf(gettext(MSG_HOMEDIR), oldval); local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_scf.c | 868 scf_value_t *oldval = NULL; local 879 ret = ilbd_scf_get_prop_val(pg, propname, &oldval); 880 if (oldval != NULL) 881 scf_value_destroy(oldval);
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 5238 uint32_t oldval; local 5243 oldval = *count_p; 5244 if (oldval < n) 5246 newval = oldval - n; 5247 } while (atomic_cas_32(count_p, oldval, newval) != oldval);
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_main.c | 5847 uint32_t oldval; local 5854 oldval = *count_p; 5855 if (oldval < n) 5857 newval = oldval - n; 5858 } while (atomic_cas_32(count_p, oldval, newval) != oldval);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 2715 int oldval; local 2728 oldval = prset_ismember(sp, size, which) ? TRUE : FALSE; 2734 } else if (!oldval) { 2742 } else if (oldval) { 2751 return (oldval); 2760 int oldval; local 2767 oldval = Psetaction(P, &P->status.pr_sigtrace, sizeof (sigset_t), 2770 if (oldval != -1 && which == 0 && stop != 0) 2773 return (oldval);
|
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_msg.h | 767 __be64 oldval; member in struct:cpl_set_tcb_rpl
|