Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/scripts/atomic/fallbacks/
Drelease3 ${retstmt}arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
Dacquire2 ${ret} ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
Dfence4 ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
/linux-6.6.21/arch/powerpc/include/asm/
Dcmpxchg.h82 XCHG_GEN(u8, _relaxed, "cc");
84 XCHG_GEN(u16, _relaxed, "cc");
276 CMPXCHG_GEN(u8, _relaxed, , , "cc");
280 CMPXCHG_GEN(u16, _relaxed, , , "cc");
Datomic.h81 static inline int arch_atomic_fetch_##op##_relaxed(int a, atomic_t *v) \
249 arch_atomic64_fetch_##op##_relaxed(s64 a, atomic64_t *v) \
/linux-6.6.21/tools/testing/selftests/rseq/
Drseq-bits-template.h32 # define RSEQ_TEMPLATE_SUFFIX _relaxed
/linux-6.6.21/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.6.21/arch/loongarch/include/asm/
Datomic.h60 static inline int arch_atomic_fetch_##op##_relaxed(int i, atomic_t *v) \
195 static inline long arch_atomic64_fetch_##op##_relaxed(long i, atomic64_t *v) \
/linux-6.6.21/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.6.21/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.6.21/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(),
/linux-6.6.21/arch/arm/include/asm/
Datomic.h76 static inline int arch_atomic_fetch_##op##_relaxed(int i, atomic_t *v) \
355 arch_atomic64_fetch_##op##_relaxed(s64 i, atomic64_t *v) \
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-etm4x-core.c94 u64 etm4x_sysreg_read(u32 offset, bool _relaxed, bool _64bit) in etm4x_sysreg_read() argument
105 if (!_relaxed) in etm4x_sysreg_read()
111 void etm4x_sysreg_write(u64 val, u32 offset, bool _relaxed, bool _64bit) in etm4x_sysreg_write() argument
113 if (!_relaxed) in etm4x_sysreg_write()
126 static u64 ete_sysreg_read(u32 offset, bool _relaxed, bool _64bit) in ete_sysreg_read() argument
137 if (!_relaxed) in ete_sysreg_read()
143 static void ete_sysreg_write(u64 val, u32 offset, bool _relaxed, bool _64bit) in ete_sysreg_write() argument
145 if (!_relaxed) in ete_sysreg_write()
Dcoresight-etm4x.h1087 u64 etm4x_sysreg_read(u32 offset, bool _relaxed, bool _64bit);
1088 void etm4x_sysreg_write(u64 val, u32 offset, bool _relaxed, bool _64bit);
/linux-6.6.21/arch/mips/include/asm/
Datomic.h107 arch_##pfx##_fetch_##op##_relaxed(type i, pfx##_t * v) \
/linux-6.6.21/lib/
Datomic64_test.c41 test(bit, op##_relaxed, ##args); \
/linux-6.6.21/drivers/gpu/drm/rockchip/
Drockchip_vop_reg.c21 #define _VOP_REG(off, _mask, _shift, _write_mask, _relaxed) \ argument
27 .relaxed = _relaxed, \

12