| /f-stack/freebsd/i386/linux/ |
| H A D | linux_copyout.c | 55 int *oldval; member 73 st.oldval = oldval; in futex_xchgl() 90 futex_addl(int oparg, uint32_t *uaddr, int *oldval) in futex_addl() argument 95 st.oldval = oldval; in futex_addl() 112 *st->oldval = old; in futex_orl_slow0() 116 futex_orl(int oparg, uint32_t *uaddr, int *oldval) in futex_orl() argument 121 st.oldval = oldval; in futex_orl() 138 *st->oldval = old; in futex_andl_slow0() 147 st.oldval = oldval; in futex_andl() 164 *st->oldval = old; in futex_xorl_slow0() [all …]
|
| /f-stack/freebsd/mips/nlm/hal/ |
| H A D | mips-extns.h | 40 int32_t oldval = 0; in nlm_swapw() local 50 : "+m" (*loc), "=r" (oldval) in nlm_swapw() 54 return oldval; in nlm_swapw() 59 uint32_t oldval; in nlm_swapwu() local 69 : "+m" (*loc), "=r" (oldval) in nlm_swapwu() 73 return oldval; in nlm_swapwu() 79 uint64_t oldval; in nlm_swapd() local 89 : "+m" (*loc), "=r" (oldval) in nlm_swapd() 93 return oldval; in nlm_swapd()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/ |
| H A D | delegate_common.kshlib | 381 typeset oldval 500 typeset oldval 524 typeset oldval 739 typeset oldval 1063 typeset oldval 1156 typeset oldval 1186 typeset oldval 1217 typeset oldval 1240 typeset oldval 1263 typeset oldval [all …]
|
| /f-stack/freebsd/amd64/linux/ |
| H A D | linux_machdep.c | 299 int futex_xchgl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 300 int futex_xchgl_smap(int oparg, uint32_t *uaddr, int *oldval); 308 int futex_addl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 309 int futex_addl_smap(int oparg, uint32_t *uaddr, int *oldval); 317 int futex_orl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 318 int futex_orl_smap(int oparg, uint32_t *uaddr, int *oldval); 326 int futex_andl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 327 int futex_andl_smap(int oparg, uint32_t *uaddr, int *oldval); 335 int futex_xorl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 336 int futex_xorl_smap(int oparg, uint32_t *uaddr, int *oldval);
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_atomic.c | 114 uint64_t oldval; in atomic_cas_64() local 117 oldval = *target; in atomic_cas_64() 118 if (oldval == cmp) in atomic_cas_64() 121 return (oldval); in atomic_cas_64()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/src/ |
| H A D | ctl.c | 1359 t oldval; \ 1384 t oldval; \ 1405 t oldval; \ 1427 t oldval; \ 1519 bool oldval; in background_thread_ctl() local 1577 size_t oldval; in max_background_threads_ctl() local 1761 bool oldval; in CTL_TSD_RO_NL_CGEN() local 1833 bool oldval; in thread_prof_active_ctl() local 2512 bool oldval; in prof_thread_active_init_ctl() local 2539 bool oldval; in prof_active_ctl() local [all …]
|
| /f-stack/freebsd/i386/i386/ |
| H A D | copyout.c | 429 uint32_t oldval; member 440 ca->res = 1 - atomic_fcmpset_int((u_int *)kva, &ca->oldval, in casueword_slow0() 445 casueword32(volatile uint32_t *base, uint32_t oldval, uint32_t *oldvalp, in casueword32() argument 451 ca.oldval = oldval; in casueword32() 456 *oldvalp = ca.oldval; in casueword32() 463 casueword(volatile u_long *base, u_long oldval, u_long *oldvalp, u_long newval) in casueword() argument 468 ca.oldval = oldval; in casueword() 473 *oldvalp = ca.oldval; in casueword()
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | copyout.c | 126 int casueword32_nosmap(volatile uint32_t *base, uint32_t oldval, 128 int casueword32_smap(volatile uint32_t *base, uint32_t oldval, 138 int casueword_nosmap(volatile u_long *p, u_long oldval, u_long *oldvalp, 140 int casueword_smap(volatile u_long *p, u_long oldval, u_long *oldvalp,
|
| /f-stack/freebsd/amd64/vmm/io/ |
| H A D | vrtc.c | 597 uint8_t oldval, changed; in vrtc_set_reg_c() local 613 oldval = rtc->reg_c; in vrtc_set_reg_c() 618 oldval, rtc->reg_c); in vrtc_set_reg_c() 637 uint8_t oldval, changed; in vrtc_set_reg_b() local 642 oldval = rtc->reg_b; in vrtc_set_reg_b() 646 changed = oldval ^ newval; in vrtc_set_reg_b() 649 oldval, newval); in vrtc_set_reg_b() 710 uint8_t oldval, changed; in vrtc_set_reg_a() local 715 oldval = vrtc->rtcdev.reg_a; in vrtc_set_reg_a() 736 changed = oldval ^ newval; in vrtc_set_reg_a() [all …]
|
| H A D | vhpet.c | 404 uint64_t oldval, newval; in vhpet_timer_update_config() local 412 oldval = vhpet->timer[n].cap_config; in vhpet_timer_update_config() 414 newval = oldval; in vhpet_timer_update_config() 417 newval |= oldval & HPET_TCAP_RO_MASK; in vhpet_timer_update_config() 419 if (newval == oldval) in vhpet_timer_update_config() 479 uint64_t data, mask, oldval, val64; in vhpet_mmio_write() local 525 oldval = vhpet->config; in vhpet_mmio_write() 534 if ((oldval ^ vhpet->config) & HPET_CNF_ENABLE) { in vhpet_mmio_write()
|
| /f-stack/freebsd/amd64/linux32/ |
| H A D | linux32_machdep.c | 741 int futex_xchgl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 742 int futex_xchgl_smap(int oparg, uint32_t *uaddr, int *oldval); 750 int futex_addl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 751 int futex_addl_smap(int oparg, uint32_t *uaddr, int *oldval); 759 int futex_orl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 760 int futex_orl_smap(int oparg, uint32_t *uaddr, int *oldval); 768 int futex_andl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 769 int futex_andl_smap(int oparg, uint32_t *uaddr, int *oldval); 777 int futex_xorl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 778 int futex_xorl_smap(int oparg, uint32_t *uaddr, int *oldval);
|
| /f-stack/freebsd/netinet/ |
| H A D | sctp_os_bsd.h | 462 int32_t oldval; \ 463 oldval = atomic_fetchadd_int(addr, -val); \ 464 if (oldval < val) { \ 471 int32_t oldval; \ 472 oldval = atomic_fetchadd_int(addr, -val); \ 473 if (oldval < val) { \
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | mallctl.c | 121 t oldval; \ in TEST_BEGIN() 122 size_t sz = sizeof(oldval); \ in TEST_BEGIN() 123 assert_d_eq(mallctl("config."#config, (void *)&oldval, &sz, \ in TEST_BEGIN() 125 assert_b_eq(oldval, config_##config, "Incorrect config value"); \ in TEST_BEGIN() 126 assert_zu_eq(sz, sizeof(oldval), "Unexpected output size"); \ in TEST_BEGIN() 149 t oldval; \ in TEST_BEGIN() 150 size_t sz = sizeof(oldval); \ in TEST_BEGIN() 152 int result = mallctl("opt."#opt, (void *)&oldval, &sz, NULL, \ in TEST_BEGIN() 156 assert_zu_eq(sz, sizeof(oldval), "Unexpected output size"); \ in TEST_BEGIN()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | bitops.c | 1029 int64_t oldval, newval, wrapped, retval; in bitfieldCommand() local 1032 oldval = getSignedBitfield(o->ptr,thisop->offset, in bitfieldCommand() 1036 newval = oldval + thisop->i64; in bitfieldCommand() 1037 overflow = checkSignedBitfieldOverflow(oldval, in bitfieldCommand() 1046 retval = oldval; in bitfieldCommand() 1059 uint64_t oldval, newval, wrapped, retval; in bitfieldCommand() local 1062 oldval = getUnsignedBitfield(o->ptr,thisop->offset, in bitfieldCommand() 1066 newval = oldval + thisop->i64; in bitfieldCommand() 1067 overflow = checkUnsignedBitfieldOverflow(oldval, in bitfieldCommand() 1076 retval = oldval; in bitfieldCommand()
|
| /f-stack/app/redis-5.0.5/src/modules/ |
| H A D | helloworld.c | 482 RedisModuleString *oldval; in HelloHCopy_RedisCommand() local 483 RedisModule_HashGet(key,REDISMODULE_HASH_NONE,argv[2],&oldval,NULL); in HelloHCopy_RedisCommand() 484 if (oldval) { in HelloHCopy_RedisCommand() 485 RedisModule_HashSet(key,REDISMODULE_HASH_NONE,argv[3],oldval,NULL); in HelloHCopy_RedisCommand() 487 RedisModule_ReplyWithLongLong(ctx,oldval != NULL); in HelloHCopy_RedisCommand()
|
| /f-stack/freebsd/sys/ |
| H A D | systm.h | 432 uint32_t casuword32(volatile uint32_t *base, uint32_t oldval, uint32_t newval); 433 u_long casuword(volatile u_long *p, u_long oldval, u_long newval); 434 int casueword32(volatile uint32_t *base, uint32_t oldval, uint32_t *oldvalp, 436 int casueword(volatile u_long *p, u_long oldval, u_long *oldvalp,
|
| /f-stack/freebsd/arm64/include/ |
| H A D | atomic.h | 173 uint##t##_t oldval; \ 176 oldval = cmpval; \ 184 : "r" (oldval), "r" (p), "r" (newval) \
|
| /f-stack/freebsd/x86/x86/ |
| H A D | x86_mem.c | 103 static int x86_mrt2mtrr(int flags, int oldval); 293 x86_mrt2mtrr(int flags, int oldval) in x86_mrt2mtrr() argument 298 return (oldval & 0xff); in x86_mrt2mtrr()
|
| /f-stack/freebsd/amd64/vmm/amd/ |
| H A D | svm.c | 400 uint32_t oldval; in svm_set_intercept() local 405 oldval = ctrl->intercept[idx]; in svm_set_intercept() 412 if (ctrl->intercept[idx] != oldval) { in svm_set_intercept() 415 "from %#x to %#x", idx, oldval, ctrl->intercept[idx]); in svm_set_intercept() 1067 int oldval, newval; in svm_modify_intr_shadow() local 1070 oldval = ctrl->intr_shadow; in svm_modify_intr_shadow() 1072 if (newval != oldval) { in svm_modify_intr_shadow() 1148 uint64_t changed, lma, oldval; in svm_write_efer() local 1153 oldval = state->efer; in svm_write_efer() 1154 VCPU_CTR2(sc->vm, vcpu, "wrmsr(efer) %#lx/%#lx", oldval, newval); in svm_write_efer() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | lvm.c | 143 TValue *oldval = cast(TValue *, luaH_get(h, key)); in luaV_settable() local 146 if (!ttisnil(oldval) || in luaV_settable() 150 (oldval != luaO_nilobject || in luaV_settable() 153 (oldval = luaH_newkey(L, h, key), 1)))) { in luaV_settable() 155 setobj2t(L, oldval, val); /* assign new value to that entry */ in luaV_settable()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_sig.c | 4102 uint32_t oldval; in sys_sigfastblock() local 4128 SIGFASTBLOCK_PEND, &oldval, 0); in sys_sigfastblock() 4137 if (oldval != SIGFASTBLOCK_PEND) { in sys_sigfastblock() 4176 if (!sigfastblock_fetch_sig(td, false, &oldval)) { in sys_sigfastblock() 4180 if (oldval != 0 && oldval != SIGFASTBLOCK_PEND) { in sys_sigfastblock() 4220 uint32_t oldval; in sigfastblock_setpend1() local 4224 res = fueword32((void *)td->td_sigblock_ptr, &oldval); in sigfastblock_setpend1() 4230 res = casueword32(td->td_sigblock_ptr, oldval, &oldval, in sigfastblock_setpend1() 4231 oldval | SIGFASTBLOCK_PEND); in sigfastblock_setpend1() 4237 td->td_sigblock_val = oldval & ~SIGFASTBLOCK_FLAGS; in sigfastblock_setpend1()
|
| /f-stack/freebsd/arm64/linux/ |
| H A D | linux.h | 88 l_uintptr_t oldval; member
|
| /f-stack/app/redis-5.0.5/deps/linenoise/ |
| H A D | linenoise.c | 1010 char *oldval = line; in linenoiseNoTTY() local 1013 if (oldval) free(oldval); in linenoiseNoTTY()
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | lvm.c | 141 TValue *oldval = luaH_set(L, h, key); /* do a primitive set */ in luaV_settable() local 142 if (!ttisnil(oldval) || /* result is no nil? */ in luaV_settable() 144 setobj2t(L, oldval, val); in luaV_settable()
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_rx.h | 107 nix_clear_data_off(uint64_t oldval) in nix_clear_data_off() argument 109 union mbuf_initializer mbuf_init = { .value = oldval }; in nix_clear_data_off()
|