Home
last modified time | relevance | path

Searched refs:__old (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/arch/x86/include/asm/
H A Dcmpxchg.h88 __typeof__(*(ptr)) __old = (old); \
96 : "q" (__new), "0" (__old) \
105 : "r" (__new), "0" (__old) \
114 : "r" (__new), "0" (__old) \
123 : "r" (__new), "0" (__old) \
162 __typeof__(*(_ptr)) __old = *_old; \
172 [old] "+a" (__old) \
184 [old] "+a" (__old) \
196 [old] "+a" (__old) \
208 [old] "+a" (__old) \
[all …]
H A Duaccess.h376 __typeof__(*(_ptr)) __old = *_old; \
383 [old] "+a" (__old) \
388 *_old = __old; \
395 __typeof__(*(_ptr)) __old = *_old; \
401 "+A" (__old), \
408 *_old = __old; \
416 __typeof__(*(_ptr)) __old = *_old; \
427 [old] "+a" (__old) \
433 *_old = __old; \
447 __typeof__(*(_ptr)) __old = *_old; \
[all …]
H A Dcmpxchg_32.h75 __typeof__(*(ptr)) __old = (o); \
82 "S" ((ptr)), "0" (__old), \
92 __typeof__(*(ptr)) __old = (o); \
98 "S" ((ptr)), "0" (__old), \
/openbmc/linux/arch/riscv/include/asm/
H A Dcmpxchg.h169 __typeof__(*(ptr)) __old = (old); \
182 : "rJ" ((long)__old), "rJ" (__new) \
193 : "rJ" (__old), "rJ" (__new) \
213 __typeof__(*(ptr)) __old = (old); \
227 : "rJ" ((long)__old), "rJ" (__new) \
239 : "rJ" (__old), "rJ" (__new) \
259 __typeof__(*(ptr)) __old = (old); \
273 : "rJ" ((long)__old), "rJ" (__new) \
285 : "rJ" (__old), "rJ" (__new) \
305 __typeof__(*(ptr)) __old = (old); \
[all …]
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__intrusive_ptr.hpp122 auto __old = __ref_count_.fetch_add(__ref_count_increment, in __inc_ref_() local
124 return static_cast<__bits_t>(__old); in __inc_ref_()
129 auto __old = __ref_count_.fetch_sub(__ref_count_increment, in __dec_ref_() local
131 if (__count(static_cast<__bits_t>(__old)) == 1) in __dec_ref_()
135 return static_cast<__bits_t>(__old); in __dec_ref_()
142 auto __old = __ref_count_.load(std::memory_order_relaxed); in __is_set_() local
143 return __bit<_Bit>(static_cast<__bits_t>(__old)); in __is_set_()
151 auto __old = __ref_count_.fetch_or(__mask, std::memory_order_acq_rel); in __set_bit_() local
152 return static_cast<__bits_t>(__old); in __set_bit_()
161 auto __old = __ref_count_.fetch_and(~__mask, std::memory_order_acq_rel); in __clear_bit_() local
[all …]
H A D__on.hpp169 auto __old = query_or(get_scheduler, __env, __none_such{}); in __transform_sender_fn() local
170 if constexpr (__same_as<decltype(__old), __none_such>) in __transform_sender_fn()
189 static_cast<decltype(__old)&&>(__old)); in __transform_sender_fn()
196 auto __old = query_or( in __transform_sender_fn() local
199 if constexpr (__same_as<decltype(__old), __none_such>) in __transform_sender_fn()
211 __with_sched{__old}), // in __transform_sender_fn()
213 __old), in __transform_sender_fn()
H A D__shared.hpp281 auto __old = __self->__dec_ref(); in __detach() local
282 STDEXEC_ASSERT(__count(__old) >= 2); in __detach()
284 if (__count(__old) == 2) in __detach()
295 if (!__bit<__started_bit>(__old) || in __detach()
296 __bit<__completed_bit>(__old)) in __detach()
/openbmc/linux/tools/arch/x86/include/asm/
H A Dcmpxchg.h38 __typeof__(*(ptr)) __old = (old); \
46 : "q" (__new), "0" (__old) \
55 : "r" (__new), "0" (__old) \
64 : "r" (__new), "0" (__old) \
73 : "r" (__new), "0" (__old) \
/openbmc/linux/arch/csky/include/asm/
H A Dcmpxchg.h61 __typeof__(old) __old = (old); \
74 : "r" (__new), "r"(__ptr), "r"(__old) \
91 __typeof__(old) __old = (old); \
105 : "r" (__new), "r"(__ptr), "r"(__old) \
122 __typeof__(old) __old = (old); \
137 : "r" (__new), "r"(__ptr), "r"(__old) \
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-systemd/
H A D0001-Provide-implementation-of-strndupa-for-musl.patch29 + const char *__old = (s); \
30 + size_t __len = strnlen(__old, (n)); \
33 + (char *)memcpy(__new, __old, __len); \
/openbmc/linux/arch/hexagon/include/asm/
H A Dcmpxchg.h57 __typeof__(*(ptr)) __old = (old); \
69 : "r" (__ptr), "r" (__old), "r" (__new) \
/openbmc/linux/include/asm-generic/
H A Dpercpu.h94 typeof(pcp) __val, __old = *(ovalp); \
95 __val = _cmpxchg(pcp, __old, nval); \
96 if (__val != __old) \
98 __val == __old; \
118 typeof(pcp) __old = (oval); \
119 raw_cpu_generic_try_cmpxchg(pcp, &__old, nval); \
120 __old; \
/openbmc/linux/include/xen/interface/io/
H A Dring.h269 RING_IDX __old = (_r)->sring->req_prod; \
275 (RING_IDX)(__new - __old)); \
279 RING_IDX __old = (_r)->sring->rsp_prod; \
285 (RING_IDX)(__new - __old)); \
/openbmc/qemu/include/hw/xen/interface/io/
H A Dring.h308 RING_IDX __old = (_r)->sring->req_prod; \
314 (RING_IDX)(__new - __old)); \
318 RING_IDX __old = (_r)->sring->rsp_prod; \
324 (RING_IDX)(__new - __old)); \
/openbmc/linux/arch/mips/include/asm/
H A Dcmpxchg.h300 unsigned long long __old = (__typeof__(*(ptr)))(o); \
312 __res = __cmpxchg64((ptr), __old, __new); \
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0003-src-basic-missing.h-check-for-missing-strndupa.patch150 + const char *__old = (s); \
151 + size_t __len = strnlen(__old, (n)); \
154 + (char *)memcpy(__new, __old, __len); \
/openbmc/linux/drivers/media/common/
H A Dcx2341x.c1022 #define CMP_FIELD(__old, __new, __field) (__old->__field != __new->__field) argument