Searched refs:oldval (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-11-stable/contrib/gcclibs/libgomp/config/linux/
H A Dmutex.c41 int oldval = __sync_val_compare_and_swap (mutex, 1, 2); local
42 if (oldval != 0)
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_atomic.c111 uint64_t oldval; local
114 oldval = *target;
115 if (oldval == cmp)
118 return (oldval);
124 uint32_t oldval; local
127 oldval = *target;
128 if (oldval == cmp)
131 return (oldval);
/freebsd-11-stable/sys/mips/nlm/hal/
H A Dmips-extns.h38 int32_t oldval = 0; local
48 : "+m" (*loc), "=r" (oldval)
52 return oldval;
57 uint32_t oldval; local
67 : "+m" (*loc), "=r" (oldval)
71 return oldval;
77 uint64_t oldval; local
87 : "+m" (*loc), "=r" (oldval)
91 return oldval;
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_cancel.c81 int oldval; local
83 oldval = curthread->cancel_enable;
98 *oldstate = oldval ? PTHREAD_CANCEL_ENABLE :
108 int oldval; local
110 oldval = curthread->cancel_async;
124 *oldtype = oldval ? PTHREAD_CANCEL_ASYNCHRONOUS :
/freebsd-11-stable/contrib/atf/atf-c/detail/
H A Denv_test.c93 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-11-stable/contrib/mdocml/
H A Dmanpath.c240 char *oldval; local
268 oldval = mandoc_strdup(conf->includes);
275 oldval = mandoc_strdup(conf->man);
282 oldval = mandoc_strdup(conf->paper);
289 oldval = mandoc_strdup(conf->style);
296 mandoc_asprintf(&oldval, "%zu", conf->indent);
306 mandoc_asprintf(&oldval, "%zu", conf->width);
330 toks[tok], cp, oldval);
331 free(oldval);
/freebsd-11-stable/contrib/atf/atf-c++/detail/
H A Denv_test.cpp68 const std::string& oldval = atf::env::get("PATH"); local
70 ATF_REQUIRE(atf::env::get("PATH") != oldval);
/freebsd-11-stable/sys/dev/nvme/
H A Dnvme_sysctl.c104 uint32_t oldval = ctrlr->int_coal_time; local
111 if (oldval != ctrlr->int_coal_time)
123 uint32_t oldval = ctrlr->int_coal_threshold; local
130 if (oldval != ctrlr->int_coal_threshold)
142 uint32_t oldval = ctrlr->timeout_period; local
150 ctrlr->timeout_period = oldval;
/freebsd-11-stable/contrib/jemalloc/src/
H A Dctl.c1102 t oldval; \
1109 oldval = (v); \
1110 READ(oldval, t); \
1125 t oldval; \
1131 oldval = (v); \
1132 READ(oldval, t); \
1146 t oldval; \
1150 oldval = (v); \
1151 READ(oldval, t); \
1169 t oldval; \
1370 bool oldval; local
1444 bool oldval; local
1719 size_t oldval = arena_lg_dirty_mult_get(tsd_tsdn(tsd), arena); local
1754 size_t oldval = arena_decay_time_get(tsd_tsdn(tsd), arena); local
1880 size_t oldval = arena_lg_dirty_mult_default_get(); local
1906 size_t oldval = arena_decay_time_default_get(); local
1994 bool oldval; local
2020 bool oldval; local
2068 bool oldval; local
[all...]
/freebsd-11-stable/sys/amd64/vmm/io/
H A Dvrtc.c593 uint8_t oldval, changed; local
609 oldval = rtc->reg_c;
611 changed = oldval ^ rtc->reg_c;
614 oldval, rtc->reg_c);
633 uint8_t oldval, changed; local
638 oldval = rtc->reg_b;
642 changed = oldval ^ newval;
645 oldval, newval);
706 uint8_t oldval, changed; local
711 oldval
[all...]
H A Dvhpet.c399 uint64_t oldval, newval; local
407 oldval = vhpet->timer[n].cap_config;
409 newval = oldval;
412 newval |= oldval & HPET_TCAP_RO_MASK;
414 if (newval == oldval)
474 uint64_t data, mask, oldval, val64; local
520 oldval = vhpet->config;
529 if ((oldval ^ vhpet->config) & HPET_CNF_ENABLE) {
/freebsd-11-stable/sys/netinet/
H A Dsctp_os_bsd.h466 int32_t oldval; \
467 oldval = atomic_fetchadd_int(addr, -val); \
468 if (oldval < val) { \
475 int32_t oldval; \
476 oldval = atomic_fetchadd_int(addr, -val); \
477 if (oldval < val) { \
/freebsd-11-stable/usr.sbin/pkg/
H A Dconfig.c173 const char *oldval; local
176 oldval = c[PACKAGESITE].value;
178 oldval = c[PACKAGESITE].val;
180 if ((variable_string = strstr(oldval, "${ABI}")) == NULL)
184 sbuf_bcat(newval, oldval, variable_string - oldval);
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_futex.c275 int futex_xchgl(int oparg, uint32_t *uaddr, int *oldval);
276 int futex_addl(int oparg, uint32_t *uaddr, int *oldval);
277 int futex_orl(int oparg, uint32_t *uaddr, int *oldval);
278 int futex_andl(int oparg, uint32_t *uaddr, int *oldval);
279 int futex_xorl(int oparg, uint32_t *uaddr, int *oldval);
677 int oldval = 0, ret; local
692 ret = futex_xchgl(oparg, uaddr, &oldval);
695 ret = futex_addl(oparg, uaddr, &oldval);
698 ret = futex_orl(oparg, uaddr, &oldval);
701 ret = futex_andl(~oparg, uaddr, &oldval);
[all...]
H A Dlinux_sysctl.c97 if (la->oldval != 0) {
99 error = copyout(value, PTRIN(la->oldval), len + 1);
/freebsd-11-stable/sys/mips/rmi/
H A Drmi_mips_exts.h353 int oldval = 0; local
364 : "+m"(*lock), "=r"(oldval)
369 return (oldval == 0 ? 1 /* success */ : 0 /* failure */);
/freebsd-11-stable/contrib/amd/amd/
H A Dinfo_nis.c304 char *oldval = *pval; local
305 *pval = sun_entry2amd(key, oldval);
307 XFREE(oldval);
/freebsd-11-stable/sys/sys/
H A Dsystm.h293 uint32_t casuword32(volatile uint32_t *base, uint32_t oldval, uint32_t newval);
294 u_long casuword(volatile u_long *p, u_long oldval, u_long newval);
295 int casueword32(volatile uint32_t *base, uint32_t oldval, uint32_t *oldvalp,
297 int casueword(volatile u_long *p, u_long oldval, u_long *oldvalp,
/freebsd-11-stable/contrib/gcc/cp/
H A Dname-lookup.c2069 do_nonmember_using_decl (tree scope, tree name, tree oldval, tree oldtype,
2088 if (oldval && DECL_IMPLICIT_TYPEDEF_P (oldval))
2090 oldtype = oldval;
2091 oldval = NULL_TREE;
2104 if (oldval
2105 && TREE_CODE (oldval) == FUNCTION_DECL
2106 && DECL_ANTICIPATED (oldval)
2107 && !DECL_HIDDEN_FRIEND_P (oldval))
2108 oldval
2066 do_nonmember_using_decl(tree scope, tree name, tree oldval, tree oldtype, tree *newval, tree *newtype) argument
2220 tree oldval, oldtype, newval, newtype; local
3331 tree oldval, oldtype, newval, newtype; local
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Ddve3900-rom.c506 unsigned long oldval, newval; local
517 oldval = fetch_fields (bf);
528 oldbits = (oldval >> bf->start) & mask;
/freebsd-11-stable/sys/dev/pbio/
H A Dpbio.c107 char oldval; /* Last value read */ member in struct:portdata
359 if (*val != scp->pd[port].oldval) {
360 scp->pd[port].oldval = *val;
/freebsd-11-stable/sys/kern/
H A Dsubr_uio.c547 casueword32(volatile uint32_t *base, uint32_t oldval, uint32_t *oldvalp, argument
552 ov = casuword32(base, oldval, newval);
560 casueword(volatile u_long *p, u_long oldval, u_long *oldvalp, u_long newval) argument
564 ov = casuword(p, oldval, newval);
/freebsd-11-stable/sys/amd64/vmm/amd/
H A Dsvm.c378 uint32_t oldval; local
383 oldval = ctrl->intercept[idx];
390 if (ctrl->intercept[idx] != oldval) {
393 "from %#x to %#x", idx, oldval, ctrl->intercept[idx]);
1046 int oldval, newval; local
1049 oldval = ctrl->intr_shadow;
1051 if (newval != oldval) {
1127 uint64_t changed, lma, oldval; local
1132 oldval = state->efer;
1133 VCPU_CTR2(sc->vm, vcpu, "wrmsr(efer) %#lx/%#lx", oldval, newva
[all...]
/freebsd-11-stable/sys/arm/include/
H A Datomic-v4.h327 int done, oldval, ras_start = ARM_RAS_START; local
347 , "+r" (cmpval), "+r" (newval), "+r" (oldval) : : "cc", "memory");
/freebsd-11-stable/sys/x86/x86/
H A Dx86_mem.c103 static int x86_mrt2mtrr(int flags, int oldval);
293 x86_mrt2mtrr(int flags, int oldval) argument
298 return (oldval & 0xff);

Completed in 242 milliseconds

12