/linux-6.6.21/include/linux/ |
D | atomic.h | 60 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/ |
D | atomic_lse.h | 54 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, )
|
D | atomic_ll_sc.h | 87 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__) \
|
D | atomic.h | 41 ATOMIC_FETCH_OP(_relaxed, op) \ 80 ATOMIC64_FETCH_OP(_relaxed, op) \
|
/linux-6.6.21/arch/csky/include/asm/ |
D | atomic.h | 50 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/ |
D | atomic_t.txt | 25 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/ |
D | release | 3 ${retstmt}arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
|
D | acquire | 2 ${ret} ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
|
D | fence | 4 ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | cmpxchg.h | 82 XCHG_GEN(u8, _relaxed, "cc"); 84 XCHG_GEN(u16, _relaxed, "cc"); 276 CMPXCHG_GEN(u8, _relaxed, , , "cc"); 280 CMPXCHG_GEN(u16, _relaxed, , , "cc");
|
D | atomic.h | 81 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/ |
D | rseq-bits-template.h | 32 # define RSEQ_TEMPLATE_SUFFIX _relaxed
|
/linux-6.6.21/arch/alpha/include/asm/ |
D | atomic.h | 77 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/ |
D | atomic.h | 60 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/ |
D | atomic-llsc.h | 46 static inline int arch_atomic_fetch_##op##_relaxed(int i, atomic_t *v) \
|
D | atomic64-arcv2.h | 89 static inline s64 arch_atomic64_fetch_##op##_relaxed(s64 a, atomic64_t *v) \
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | atomic.h | 90 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/ |
D | cheatsheet.txt | 21 a *_relaxed() RMW operation, an unsuccessful RMW
|
D | ordering.txt | 63 _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/ |
D | atomic.h | 76 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/ |
D | coresight-etm4x-core.c | 94 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()
|
D | coresight-etm4x.h | 1087 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/ |
D | atomic.h | 107 arch_##pfx##_fetch_##op##_relaxed(type i, pfx##_t * v) \
|
/linux-6.6.21/lib/ |
D | atomic64_test.c | 41 test(bit, op##_relaxed, ##args); \
|
/linux-6.6.21/drivers/gpu/drm/rockchip/ |
D | rockchip_vop_reg.c | 21 #define _VOP_REG(off, _mask, _shift, _write_mask, _relaxed) \ argument 27 .relaxed = _relaxed, \
|