/freebsd-current/sys/i386/linux/ |
H A D | linux_copyout.c | 50 int *oldval; member in struct:futex_st0 59 *st->oldval = atomic_swap_int((int *)kva, st->oparg); 63 futex_xchgl(int oparg, uint32_t *uaddr, int *oldval) argument 68 st.oldval = oldval; 81 *st->oldval = atomic_fetchadd_int((int *)kva, st->oparg); 85 futex_addl(int oparg, uint32_t *uaddr, int *oldval) argument 90 st.oldval = oldval; 107 *st->oldval 111 futex_orl(int oparg, uint32_t *uaddr, int *oldval) argument 137 futex_andl(int oparg, uint32_t *uaddr, int *oldval) argument 163 futex_xorl(int oparg, uint32_t *uaddr, int *oldval) argument [all...] |
/freebsd-current/sys/compat/linux/ |
H A D | linux_futex.h | 68 #define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */ 69 #define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */ 70 #define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */ 71 #define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */ 72 #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */ 73 #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */ 91 int futex_xchgl(int oparg, uint32_t *uaddr, int *oldval); 92 int futex_addl(int oparg, uint32_t *uaddr, int *oldval); 93 int futex_orl(int oparg, uint32_t *uaddr, int *oldval); 94 int futex_andl(int oparg, uint32_t *uaddr, int *oldval); [all...] |
H A D | linux_sysctl.c | 81 if (la->oldval != 0) { 83 error = copyout(value, PTRIN(la->oldval), len + 1);
|
/freebsd-current/tests/sys/kern/ |
H A D | sigsys.c | 67 int oldval; local 70 ATF_REQUIRE(sysctlbyname(name, &oldval, &oldlen, NULL, 0) == 0); 73 snprintf(buf, sizeof(buf), "%d", oldval); 83 int n, oldval; local 88 if (sscanf(buf, "%d", &oldval) == 1) { 89 oldlen = sizeof(oldval); 91 &oldval, oldlen);
|
/freebsd-current/lib/libthr/thread/ |
H A D | thr_cancel.c | 86 int oldval; local 88 oldval = curthread->cancel_enable; 103 *oldstate = oldval ? PTHREAD_CANCEL_ENABLE : 113 int oldval; local 115 oldval = curthread->cancel_async; 129 *oldtype = oldval ? PTHREAD_CANCEL_ASYNCHRONOUS :
|
/freebsd-current/contrib/mandoc/ |
H A D | manpath.c | 237 char *oldval; local 265 oldval = mandoc_strdup(conf->includes); 272 oldval = mandoc_strdup(conf->man); 279 oldval = mandoc_strdup(conf->paper); 286 oldval = mandoc_strdup(conf->style); 293 mandoc_asprintf(&oldval, "%zu", conf->indent); 304 mandoc_asprintf(&oldval, "%zu", conf->width); 315 oldval = mandoc_strdup(conf->outfilename); 322 oldval = mandoc_strdup(conf->tagfilename); 333 oldval [all...] |
/freebsd-current/contrib/atf/atf-c/detail/ |
H A D | env_test.c | 93 char *oldval; local 96 RE(atf_text_format(&oldval, "%s", atf_env_get("PATH"))); 98 ATF_REQUIRE(strcmp(atf_env_get("PATH"), oldval) != 0); 100 free(oldval);
|
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_atomic.c | 111 uint64_t oldval; local 114 oldval = *target; 115 if (oldval == cmp) 118 return (oldval);
|
/freebsd-current/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_atomic.c | 111 uint64_t oldval; local 114 oldval = *target; 115 if (oldval == cmp) 118 return (oldval);
|
/freebsd-current/tests/sys/cddl/zfs/tests/delegate/ |
H A D | delegate_common.kshlib | 391 typeset oldval 422 typeset oldval 511 typeset oldval 514 oldval=$(get_prop $perm $dtst) 515 if [[ $oldval == "on" ]]; then 517 elif [[ $oldval == "off" ]]; then 535 typeset oldval 538 oldval=$(get_prop $perm $dtst) 539 if [[ $oldval -eq 1 ]]; then 541 elif [[ $oldval [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/ |
H A D | delegate_common.kshlib | 334 typeset oldval 451 typeset oldval 454 oldval=$(get_prop $perm $dtst) 455 if [[ $oldval == "on" ]]; then 457 elif [[ $oldval == "off" ]]; then 475 typeset oldval 478 oldval=$(get_prop $perm $dtst) 479 if [[ $oldval -eq 1 ]]; then 481 elif [[ $oldval -eq 2 ]]; then 483 elif [[ $oldval [all...] |
/freebsd-current/contrib/atf/atf-c++/detail/ |
H A D | env_test.cpp | 68 const std::string& oldval = atf::env::get("PATH"); local 70 ATF_REQUIRE(atf::env::get("PATH") != oldval);
|
/freebsd-current/sys/arm64/arm64/ |
H A D | support_ifunc.c | 50 DEFINE_IFUNC(, int, casueword32, (volatile uint32_t *base, uint32_t oldval, argument 59 DEFINE_IFUNC(, int, casueword, (volatile u_long *base, u_long oldval, argument
|
/freebsd-current/tests/sys/vm/ |
H A D | shared_shadow_inval_test.c | 170 child_verify(struct shared_state *ss, int depth, int newval, int oldval) argument 176 expectval = i < ss->modlen ? newval : oldval; 181 depth, foundval, expectval, oldval); 188 pid_t mypid, oldval, pid; local 252 oldval = atomic_load_acq_int(ss->p); 269 child_verify(ss, depth, pid, oldval); 299 oldval = atomic_load_acq_int(ss->p); 301 child_verify(ss, depth, oldval, oldval);
|
/freebsd-current/sys/amd64/amd64/ |
H A D | copyout.c | 127 int casueword32_nosmap(volatile uint32_t *base, uint32_t oldval, 129 int casueword32_smap(volatile uint32_t *base, uint32_t oldval, 139 int casueword_nosmap(volatile u_long *p, u_long oldval, u_long *oldvalp, 141 int casueword_smap(volatile u_long *p, u_long oldval, u_long *oldvalp,
|
/freebsd-current/sys/amd64/linux/ |
H A D | linux_machdep.c | 175 int futex_xchgl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 176 int futex_xchgl_smap(int oparg, uint32_t *uaddr, int *oldval); 184 int futex_addl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 185 int futex_addl_smap(int oparg, uint32_t *uaddr, int *oldval); 193 int futex_orl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 194 int futex_orl_smap(int oparg, uint32_t *uaddr, int *oldval); 202 int futex_andl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 203 int futex_andl_smap(int oparg, uint32_t *uaddr, int *oldval); 211 int futex_xorl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 212 int futex_xorl_smap(int oparg, uint32_t *uaddr, int *oldval); [all...] |
/freebsd-current/sys/i386/i386/ |
H A D | copyout.c | 425 uint32_t oldval; member in struct:casueword_arg0 436 ca->res = 1 - atomic_fcmpset_int((u_int *)kva, &ca->oldval, 441 casueword32(volatile uint32_t *base, uint32_t oldval, uint32_t *oldvalp, argument 447 ca.oldval = oldval; 452 *oldvalp = ca.oldval; 459 casueword(volatile u_long *base, u_long oldval, u_long *oldvalp, u_long newval) argument 464 ca.oldval = oldval; 469 *oldvalp = ca.oldval; [all...] |
/freebsd-current/sys/amd64/linux32/ |
H A D | linux32_machdep.c | 553 int futex_xchgl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 554 int futex_xchgl_smap(int oparg, uint32_t *uaddr, int *oldval); 562 int futex_addl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 563 int futex_addl_smap(int oparg, uint32_t *uaddr, int *oldval); 571 int futex_orl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 572 int futex_orl_smap(int oparg, uint32_t *uaddr, int *oldval); 580 int futex_andl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 581 int futex_andl_smap(int oparg, uint32_t *uaddr, int *oldval); 589 int futex_xorl_nosmap(int oparg, uint32_t *uaddr, int *oldval); 590 int futex_xorl_smap(int oparg, uint32_t *uaddr, int *oldval); [all...] |
/freebsd-current/sys/amd64/vmm/io/ |
H A D | vrtc.c | 594 uint8_t oldval, changed; local 610 oldval = rtc->reg_c; 612 changed = oldval ^ rtc->reg_c; 615 oldval, rtc->reg_c); 634 uint8_t oldval, changed; local 639 oldval = rtc->reg_b; 643 changed = oldval ^ newval; 646 oldval, newval); 707 uint8_t oldval, changed; local 712 oldval [all...] |
H A D | vhpet.c | 400 uint64_t oldval, newval; local 408 oldval = vhpet->timer[n].cap_config; 410 newval = oldval; 413 newval |= oldval & HPET_TCAP_RO_MASK; 415 if (newval == oldval) 475 uint64_t data, mask, oldval, val64; local 521 oldval = vhpet->config; 530 if ((oldval ^ vhpet->config) & HPET_CNF_ENABLE) {
|
/freebsd-current/contrib/jemalloc/src/ |
H A D | ctl.c | 1478 t oldval; \ 1487 oldval = (v); \ 1488 READ(oldval, t); \ 1503 t oldval; \ 1510 oldval = (v); \ 1511 READ(oldval, t); \ 1524 t oldval; \ 1528 oldval = (v); \ 1529 READ(oldval, t); \ 1546 t oldval; \ 1639 bool oldval; local 1691 size_t oldval; local 1872 bool oldval; local 1947 bool oldval; local 2323 size_t oldval = dirty ? arena_dirty_decay_ms_get(arena) : local 2516 size_t oldval = (dirty ? arena_dirty_decay_ms_default_get() : local 2642 bool oldval; local 2669 bool oldval; local 2718 bool oldval; local [all...] |
/freebsd-current/usr.sbin/pkg/ |
H A D | config.c | 182 const char *oldval; local 185 oldval = c[PACKAGESITE].value; 187 oldval = c[PACKAGESITE].val; 189 if ((variable_string = strstr(oldval, "${ABI}")) == NULL) 193 (int)(variable_string - oldval), oldval, abi,
|
/freebsd-current/sys/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) { \
|
/freebsd-current/contrib/kyua/utils/ |
H A D | env_test.cpp | 132 const std::string oldval = utils::getenv("PATH").get(); local 134 ATF_REQUIRE(utils::getenv("PATH").get() != oldval);
|
/freebsd-current/sys/dev/nvme/ |
H A D | nvme_sysctl.c | 99 uint32_t oldval = ctrlr->int_coal_time; local 106 if (oldval != ctrlr->int_coal_time) 118 uint32_t oldval = ctrlr->int_coal_threshold; local 125 if (oldval != ctrlr->int_coal_threshold)
|