Home
last modified time | relevance | path

Searched refs:oldval (Results 1 – 25 of 26) sorted by relevance

12

/titanic_41/usr/src/uts/common/io/bge/
H A Dbge_atomic.c41 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_41/usr/src/uts/common/io/nge/
H A Dnge_atomic.c36 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_41/usr/src/test/zfs-tests/tests/functional/delegate/
H A Ddelegate_common.kshlib377 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_41/usr/src/lib/libast/common/uwin/
H A Drand48.c64 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_41/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_utils.c229 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_41/usr/src/uts/common/io/rge/
H A Drge_rxtx.c43 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 Drge_chip.c281 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_41/usr/src/lib/libnisdb/yptol/
H A Dttl_utils.c289 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_41/usr/src/cmd/passwd/
H A Dpasswd.c510 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_41/usr/src/uts/sun4u/vm/
H A Dmach_kpm.c699 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_41/usr/src/cmd/projadd/
H A Dprojmod.pl158 my ($oldval, $newval);
182 foreach $oldval (@$lastmerged) {
184 projent_values_equal($newval, $oldval)) {
187 push(@merged, $oldval);
/titanic_41/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_init_finish.c74 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_41/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_stats.c345 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_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_stats.c385 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_41/usr/src/uts/sun4u/cpu/
H A Dus3_common_mmu.c478 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 Dopl_olympus.c977 uint16_t oldval, newval; local
998 oldval = sfmmup->sfmmu_pgsz[0] << 8 | sfmmup->sfmmu_pgsz[1];
1004 if (newval != oldval) {
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_send.c363 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_41/usr/src/lib/libproc/common/
H A DPcontrol.c2676 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_41/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_scf.c868 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_41/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_db2.c1734 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_41/usr/src/uts/common/io/pcn/
H A Dpcn.c592 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_41/usr/src/uts/common/fs/zfs/
H A Dzap_micro.c1051 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_41/usr/src/uts/common/io/igb/
H A Digb_main.c5228 uint32_t oldval; in igb_atomic_reserve() local
5233 oldval = *count_p; in igb_atomic_reserve()
5234 if (oldval < n) in igb_atomic_reserve()
5236 newval = oldval - n; in igb_atomic_reserve()
5237 } while (atomic_cas_32(count_p, oldval, newval) != oldval); in igb_atomic_reserve()
/titanic_41/usr/src/uts/common/io/afe/
H A Dafe.c760 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_41/usr/src/uts/common/io/ixgbe/
H A Dixgbe_main.c5383 uint32_t oldval; in ixgbe_atomic_reserve() local
5390 oldval = *count_p; in ixgbe_atomic_reserve()
5391 if (oldval < n) in ixgbe_atomic_reserve()
5393 newval = oldval - n; in ixgbe_atomic_reserve()
5394 } while (atomic_cas_32(count_p, oldval, newval) != oldval); in ixgbe_atomic_reserve()

12