Home
last modified time | relevance | path

Searched refs:_relaxed (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.1.9/include/linux/
Datomic.h60 typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \
68 op##_relaxed(args); \
73 typeof(op##_relaxed(args)) __ret; \
75 __ret = op##_relaxed(args); \
/linux-6.1.9/arch/arm64/include/asm/
Datomic_lse.h54 ATOMIC_FETCH_OP(_relaxed, , op, asm_op) \
74 ATOMIC_FETCH_OP_SUB(_relaxed)
94 ATOMIC_OP_ADD_SUB_RETURN(_relaxed)
113 ATOMIC_FETCH_OP_AND(_relaxed, )
161 ATOMIC64_FETCH_OP(_relaxed, , op, asm_op) \
181 ATOMIC64_FETCH_OP_SUB(_relaxed)
201 ATOMIC64_OP_ADD_SUB_RETURN(_relaxed)
220 ATOMIC64_FETCH_OP_AND(_relaxed, )
Datomic_ll_sc.h87 ATOMIC_OP_RETURN(_relaxed, , , , , __VA_ARGS__)\
91 ATOMIC_FETCH_OP (_relaxed, , , , , __VA_ARGS__)\
102 ATOMIC_FETCH_OP (_relaxed, , , , , __VA_ARGS__)\ in ATOMIC_OPS()
183 ATOMIC64_OP_RETURN(_relaxed,, , , , __VA_ARGS__) \
187 ATOMIC64_FETCH_OP (_relaxed,, , , , __VA_ARGS__) \
198 ATOMIC64_FETCH_OP (_relaxed,, , , , __VA_ARGS__) \
Datomic.h41 ATOMIC_FETCH_OP(_relaxed, op) \
80 ATOMIC64_FETCH_OP(_relaxed, op) \
/linux-6.1.9/arch/powerpc/include/asm/
Dcmpxchg.h81 XCHG_GEN(u8, _relaxed, "cc");
83 XCHG_GEN(u16, _relaxed, "cc");
209 CMPXCHG_GEN(u8, _relaxed, , , "cc");
213 CMPXCHG_GEN(u16, _relaxed, , , "cc");
Datomic.h73 static inline int arch_atomic_fetch_##op##_relaxed(int a, atomic_t *v) \
274 arch_atomic64_fetch_##op##_relaxed(s64 a, atomic64_t *v) \
/linux-6.1.9/Documentation/
Datomic_t.txt25 atomic_{add,sub,inc,dec}_return{,_relaxed,_acquire,_release}()
26 atomic_fetch_{add,sub,inc,dec}{,_relaxed,_acquire,_release}()
32 atomic_fetch_{and,or,xor,andnot}{,_relaxed,_acquire,_release}()
37 atomic_xchg{,_relaxed,_acquire,_release}()
38 atomic_cmpxchg{,_relaxed,_acquire,_release}()
39 atomic_try_cmpxchg{,_relaxed,_acquire,_release}()
176 {}_relaxed: unordered
/linux-6.1.9/arch/csky/include/asm/
Datomic.h50 int arch_atomic_fetch_##op##_relaxed(int i, atomic_t *v) \ in ATOMIC_OP()
69 return arch_atomic_fetch_##op##_relaxed(i, v) c_op i; \
/linux-6.1.9/scripts/atomic/fallbacks/
Drelease6 ${retstmt}arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
Dacquire5 ${ret} ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
Dfence7 ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
/linux-6.1.9/arch/alpha/include/asm/
Datomic.h77 static inline int arch_atomic_fetch_##op##_relaxed(int i, atomic_t *v) \
132 arch_atomic64_fetch_##op##_relaxed(s64 i, atomic64_t * v) \
/linux-6.1.9/arch/loongarch/include/asm/
Datomic.h74 static inline int arch_atomic_fetch_##op##_relaxed(int i, atomic_t *v) \
235 static inline long arch_atomic64_fetch_##op##_relaxed(long i, atomic64_t *v) \
/linux-6.1.9/arch/arc/include/asm/
Datomic-llsc.h46 static inline int arch_atomic_fetch_##op##_relaxed(int i, atomic_t *v) \
Datomic64-arcv2.h89 static inline s64 arch_atomic64_fetch_##op##_relaxed(s64 a, atomic64_t *v) \
/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-etm4x-core.c89 u64 etm4x_sysreg_read(u32 offset, bool _relaxed, bool _64bit) in etm4x_sysreg_read() argument
100 if (!_relaxed) in etm4x_sysreg_read()
106 void etm4x_sysreg_write(u64 val, u32 offset, bool _relaxed, bool _64bit) in etm4x_sysreg_write() argument
108 if (!_relaxed) in etm4x_sysreg_write()
121 static u64 ete_sysreg_read(u32 offset, bool _relaxed, bool _64bit) in ete_sysreg_read() argument
132 if (!_relaxed) in ete_sysreg_read()
138 static void ete_sysreg_write(u64 val, u32 offset, bool _relaxed, bool _64bit) in ete_sysreg_write() argument
140 if (!_relaxed) in ete_sysreg_write()
Dcoresight-etm4x.h1091 u64 etm4x_sysreg_read(u32 offset, bool _relaxed, bool _64bit);
1092 void etm4x_sysreg_write(u64 val, u32 offset, bool _relaxed, bool _64bit);
/linux-6.1.9/tools/memory-model/Documentation/
Dcheatsheet.txt21 a *_relaxed() RMW operation, an unsuccessful RMW
Dordering.txt63 _acquire, _release, or _relaxed.
85 or _relaxed. Examples include atomic_add_return(), atomic_dec_and_test(),
102 value-returning RMW atomic operations whose names end in _relaxed.
478 end in _relaxed. Examples include atomic_add(), atomic_or(),
Dglossary.txt161 name ends in "_relaxed".
/linux-6.1.9/arch/arm/include/asm/
Datomic.h76 static inline int arch_atomic_fetch_##op##_relaxed(int i, atomic_t *v) \
348 arch_atomic64_fetch_##op##_relaxed(s64 i, atomic64_t *v) \
/linux-6.1.9/arch/riscv/include/asm/
Datomic.h90 c_type arch_atomic##prefix##_fetch_##op##_relaxed(c_type i, \ in ATOMIC_OPS()
118 return arch_atomic##prefix##_fetch_##op##_relaxed(i, v) c_op I; \
/linux-6.1.9/arch/mips/include/asm/
Datomic.h118 arch_##pfx##_fetch_##op##_relaxed(type i, pfx##_t * v) \
/linux-6.1.9/lib/
Datomic64_test.c41 test(bit, op##_relaxed, ##args); \
/linux-6.1.9/drivers/gpu/drm/rockchip/
Drockchip_vop_reg.c21 #define _VOP_REG(off, _mask, _shift, _write_mask, _relaxed) \ argument
27 .relaxed = _relaxed, \

12