/titanic_44/usr/src/uts/common/io/bge/ |
H A D | bge_atomic.c | 41 uint64_t oldval; in bge_atomic_reserve() local 46 oldval = *count_p; in bge_atomic_reserve() 47 newval = oldval - n; in bge_atomic_reserve() 48 if (oldval <= n) in bge_atomic_reserve() 50 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in bge_atomic_reserve() 61 uint64_t oldval; in bge_atomic_renounce() local 66 oldval = *count_p; in bge_atomic_renounce() 67 newval = oldval + n; in bge_atomic_renounce() 68 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in bge_atomic_renounce() 77 uint64_t oldval; in bge_atomic_claim() local [all …]
|
/titanic_44/usr/src/uts/common/io/nge/ |
H A D | nge_atomic.c | 36 uint64_t oldval; in nge_atomic_decrease() local 41 oldval = *count_p; in nge_atomic_decrease() 42 newval = oldval - n; in nge_atomic_decrease() 43 if (oldval < n) in nge_atomic_decrease() 45 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in nge_atomic_decrease() 56 uint64_t oldval; in nge_atomic_increase() local 61 oldval = *count_p; in nge_atomic_increase() 62 newval = oldval + n; in nge_atomic_increase() 63 } while (atomic_cas_64(count_p, oldval, newval) != oldval); in nge_atomic_increase() 74 uint32_t oldval; in nge_atomic_shl32() local [all …]
|
/titanic_44/usr/src/test/zfs-tests/tests/functional/delegate/ |
H A D | delegate_common.kshlib | 377 typeset oldval 494 typeset oldval 497 oldval=$(get_prop $perm $dtst) 498 if [[ $oldval == "on" ]]; then 500 elif [[ $oldval == "off" ]]; then 518 typeset oldval 521 oldval=$(get_prop $perm $dtst) 522 if [[ $oldval -eq 1 ]]; then 524 elif [[ $oldval -eq 2 ]]; then 526 elif [[ $oldval -eq 3 ]]; then [all …]
|
/titanic_44/usr/src/lib/libast/common/uwin/ |
H A D | rand48.c | 64 static unsigned short oldval[3]; variable 157 oldval[0] = X[2]; in seed48() 158 oldval[1] = X[1]; in seed48() 159 oldval[2] = X[0]; in seed48() 163 return(oldval); in seed48()
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_utils.c | 229 uint32_t oldval; in oce_atomic_reserve() local 236 oldval = *count_p; in oce_atomic_reserve() 237 if (oldval < n) in oce_atomic_reserve() 239 newval = oldval - n; in oce_atomic_reserve() 241 } while (atomic_cas_32(count_p, oldval, newval) != oldval); in oce_atomic_reserve()
|
/titanic_44/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 43 uint32_t oldval; in rge_atomic_reserve() local 48 oldval = *count_p; in rge_atomic_reserve() 49 newval = oldval - n; in rge_atomic_reserve() 50 if (oldval <= n) in rge_atomic_reserve() 52 } while (atomic_cas_32(count_p, oldval, newval) != oldval); in rge_atomic_reserve() 66 uint32_t oldval; in rge_atomic_renounce() local 71 oldval = *count_p; in rge_atomic_renounce() 72 newval = oldval + n; in rge_atomic_renounce() 73 } while (atomic_cas_32(count_p, oldval, newval) != oldval); in rge_atomic_renounce()
|
H A D | rge_chip.c | 281 uint32_t oldval; in rge_atomic_shl32() local 286 oldval = *sp; in rge_atomic_shl32() 287 newval = oldval << count; in rge_atomic_shl32() 288 } while (atomic_cas_32(sp, oldval, newval) != oldval); in rge_atomic_shl32() 290 return (oldval); in rge_atomic_shl32()
|
/titanic_44/usr/src/lib/libnisdb/yptol/ |
H A D | ttl_utils.c | 289 struct timeval oldval; in add_to_timeval() local 291 oldval.tv_sec = t1->tv_sec; in add_to_timeval() 297 if (!(t1->tv_sec >= oldval.tv_sec)) { in add_to_timeval() 299 "Wrap when adding %d to %d", t2, oldval.tv_sec); in add_to_timeval()
|
/titanic_44/usr/src/cmd/passwd/ |
H A D | passwd.c | 510 getresponse(char *oldval) in getresponse() argument 520 if (*resp != '\0' && strcmp(resp, oldval) != 0) in getresponse() 539 char *oldval; /* shorthand for oldattr.data.val_s */ in userinput() local 550 oldval = oldattr.data.val_s; in userinput() 554 if (*oldval == '\0') { in userinput() 555 free(oldval); in userinput() 556 oldval = strdup(DEFSHL); in userinput() 563 while (valid && strcmp(valid, oldval) != 0) in userinput() 568 (void) fprintf(stderr, gettext(MSG_RS), oldval); in userinput() 569 free(oldval); in userinput() [all …]
|
/titanic_44/usr/src/uts/sun4u/vm/ |
H A D | mach_kpm.c | 699 int oldval; in sfmmu_kpm_mapin() local 855 oldval = sfmmu_kpm_stsbmtl(&ksp->kp_mapped_flag, &kpmsp->kshl_lock, in sfmmu_kpm_mapin() 859 if (oldval != 0) in sfmmu_kpm_mapin() 886 int oldval; in sfmmu_kpm_mapout() local 1049 oldval = sfmmu_kpm_stsbmtl(&ksp->kp_mapped_flag, in sfmmu_kpm_mapout() 1052 if (oldval != KPM_MAPPEDS) { in sfmmu_kpm_mapout() 1057 if (oldval != KPM_MAPPEDSC) in sfmmu_kpm_mapout() 1069 oldval = sfmmu_kpm_stsbmtl(&ksp->kp_mapped_flag, in sfmmu_kpm_mapout() 1072 if (oldval != KPM_MAPPEDSC || PP_ISKPMC(pp) == 0) in sfmmu_kpm_mapout() 1091 oldval = sfmmu_kpm_stsbmtl(&ksp->kp_mapped_flag, in sfmmu_kpm_mapout() [all …]
|
/titanic_44/usr/src/cmd/projadd/ |
H A D | projmod.pl | 158 my ($oldval, $newval); 182 foreach $oldval (@$lastmerged) { 184 projent_values_equal($newval, $oldval)) { 187 push(@merged, $oldval);
|
/titanic_44/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_init_finish.c | 74 int oldval = _dwarf_apply_relocs; in dwarf_set_reloc_application() local 76 return oldval; in dwarf_set_reloc_application() 82 int oldval = _dwarf_assume_string_bad; in dwarf_set_stringcheck() local 85 return oldval; in dwarf_set_stringcheck()
|
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_stats.c | 345 uint32_t oldval; in hermon_kstat_cntr_update() local 401 oldval = ib_perf[indx].ks_old_pic0; in hermon_kstat_cntr_update() 466 tmp = tmp - oldval; in hermon_kstat_cntr_update() 477 oldval = ib_perf[indx].ks_old_pic1; in hermon_kstat_cntr_update() 542 tmp = tmp - oldval; in hermon_kstat_cntr_update()
|
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_stats.c | 385 uint32_t shift, mask, oldval; in tavor_kstat_cntr_update() local 445 oldval = ib_perf[indx].ks_old_pic0; in tavor_kstat_cntr_update() 454 tmp = tmp - oldval; in tavor_kstat_cntr_update() 468 oldval = ib_perf[indx].ks_old_pic1; in tavor_kstat_cntr_update() 477 tmp = tmp - oldval; in tavor_kstat_cntr_update()
|
/titanic_44/usr/src/uts/sun4u/cpu/ |
H A D | us3_common_mmu.c | 478 uint16_t oldval, newval; in mmu_check_page_sizes() local 507 oldval = sfmmup->sfmmu_pgsz[0] << 8 | sfmmup->sfmmu_pgsz[1]; in mmu_check_page_sizes() 516 if (newval != oldval) { in mmu_check_page_sizes()
|
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) {
|
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib_send.c | 363 long oldval, newval; in rdsv3_ib_send_grab_credits() local 374 oldval = newval = atomic_get(&ic->i_credits); in rdsv3_ib_send_grab_credits() 375 posted = IB_GET_POST_CREDITS(oldval); in rdsv3_ib_send_grab_credits() 376 avail = IB_GET_SEND_CREDITS(oldval); in rdsv3_ib_send_grab_credits() 408 if (atomic_cmpxchg(&ic->i_credits, oldval, newval) != oldval) in rdsv3_ib_send_grab_credits()
|
/titanic_44/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 2676 int oldval; in Psetaction() local 2689 oldval = prset_ismember(sp, size, which) ? TRUE : FALSE; in Psetaction() 2695 } else if (!oldval) { in Psetaction() 2703 } else if (oldval) { in Psetaction() 2712 return (oldval); in Psetaction() 2721 int oldval; in Psignal() local 2728 oldval = Psetaction(P, &P->status.pr_sigtrace, sizeof (sigset_t), in Psignal() 2731 if (oldval != -1 && which == 0 && stop != 0) in Psignal() 2734 return (oldval); in Psignal()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_scf.c | 868 scf_value_t *oldval = NULL; in ilbd_scf_set_prop() local 879 ret = ilbd_scf_get_prop_val(pg, propname, &oldval); in ilbd_scf_set_prop() 880 if (oldval != NULL) in ilbd_scf_set_prop() 881 scf_value_destroy(oldval); in ilbd_scf_set_prop()
|
/titanic_44/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 1734 krb5_boolean oldval; in krb5_db2_db_set_option() local 1751 oldval = krb5_db2_db_set_lockmode(kcontext, *((krb5_boolean *) value)); in krb5_db2_db_set_option() 1752 *((krb5_boolean *) value) = oldval; in krb5_db2_db_set_option()
|
/titanic_44/usr/src/uts/common/io/pcn/ |
H A D | pcn.c | 592 uint16_t newval, oldval; in pcn_m_multicast() local 605 newval = oldval = pcnp->pcn_mctab[index]; in pcn_m_multicast() 616 if (newval != oldval) { in pcn_m_multicast()
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | zap_micro.c | 1051 uint64_t oldval; in zap_update() local 1062 (void) zap_lookup(os, zapobj, name, 8, 1, &oldval); in zap_update() 1088 ASSERT3U(MZE_PHYS(zap, mze)->mze_value, ==, oldval); in zap_update()
|
/titanic_44/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 5238 uint32_t oldval; in igb_atomic_reserve() local 5243 oldval = *count_p; in igb_atomic_reserve() 5244 if (oldval < n) in igb_atomic_reserve() 5246 newval = oldval - n; in igb_atomic_reserve() 5247 } while (atomic_cas_32(count_p, oldval, newval) != oldval); in igb_atomic_reserve()
|
/titanic_44/usr/src/uts/common/io/afe/ |
H A D | afe.c | 760 uint32_t newval, oldval; in afe_m_multicst() local 771 newval = oldval = afep->afe_mctab[index]; in afe_m_multicst() 782 if (newval != oldval) { in afe_m_multicst()
|
/titanic_44/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_main.c | 5851 uint32_t oldval; in ixgbe_atomic_reserve() local 5858 oldval = *count_p; in ixgbe_atomic_reserve() 5859 if (oldval < n) in ixgbe_atomic_reserve() 5861 newval = oldval - n; in ixgbe_atomic_reserve() 5862 } while (atomic_cas_32(count_p, oldval, newval) != oldval); in ixgbe_atomic_reserve()
|