/arch/sh/include/asm/ |
D | bitops-cas.h | 5 static inline unsigned __bo_cas(volatile unsigned *p, unsigned old, unsigned new) in __bo_cas() 16 unsigned mask, old; in set_bit() local 28 unsigned mask, old; in clear_bit() local 40 unsigned mask, old; in change_bit() local 52 unsigned mask, old; in test_and_set_bit() local 66 unsigned mask, old; in test_and_clear_bit() local 80 unsigned mask, old; in test_and_change_bit() local
|
D | spinlock-cas.h | 13 static inline unsigned __sl_cas(volatile unsigned *p, unsigned old, unsigned new) in __sl_cas() 54 unsigned old; in arch_read_lock() local 61 unsigned old; in arch_read_unlock() local 78 unsigned old; in arch_read_trylock() local
|
D | cmpxchg-cas.h | 6 __cmpxchg_u32(volatile u32 *m, unsigned long old, unsigned long new) in __cmpxchg_u32() 17 unsigned long old; in xchg_u32() local
|
/arch/powerpc/include/asm/ |
D | cmpxchg.h | 283 __cmpxchg_u8(volatile unsigned char *p, unsigned long old, unsigned long new) in __cmpxchg_u8() 305 __cmpxchg_u8_local(volatile unsigned char *p, unsigned long old, in __cmpxchg_u8_local() 325 __cmpxchg_u8_relaxed(u8 *p, unsigned long old, unsigned long new) in __cmpxchg_u8_relaxed() 344 __cmpxchg_u8_acquire(u8 *p, unsigned long old, unsigned long new) in __cmpxchg_u8_acquire() 364 __cmpxchg_u16(volatile unsigned short *p, unsigned long old, unsigned long new) in __cmpxchg_u16() 385 __cmpxchg_u16_local(volatile unsigned short *p, unsigned long old, in __cmpxchg_u16_local() 405 __cmpxchg_u16_relaxed(u16 *p, unsigned long old, unsigned long new) in __cmpxchg_u16_relaxed() 424 __cmpxchg_u16_acquire(u16 *p, unsigned long old, unsigned long new) in __cmpxchg_u16_acquire() 445 __cmpxchg_u32(volatile unsigned int *p, unsigned long old, unsigned long new) in __cmpxchg_u32() 467 __cmpxchg_u32_local(volatile unsigned int *p, unsigned long old, in __cmpxchg_u32_local() [all …]
|
/arch/sparc/kernel/ |
D | ftrace.c | 26 static int ftrace_modify_code(unsigned long ip, u32 old, u32 new) in ftrace_modify_code() 59 u32 old, new; in ftrace_make_nop() local 69 u32 old, new; in ftrace_make_call() local 79 u32 old, new; in ftrace_update_ftrace_func() local 95 u32 old, new; in ftrace_enable_ftrace_graph_caller() local 105 u32 old, new; in ftrace_disable_ftrace_graph_caller() local
|
/arch/arc/include/asm/ |
D | cmpxchg.h | 21 #define __cmpxchg(ptr, old, new) \ argument 41 #define arch_cmpxchg_relaxed(ptr, old, new) \ argument 60 #define arch_cmpxchg(ptr, old, new) \ argument
|
/arch/x86/include/asm/ |
D | cmpxchg.h | 85 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument 133 #define __cmpxchg(ptr, old, new, size) \ argument 136 #define __sync_cmpxchg(ptr, old, new, size) \ argument 139 #define __cmpxchg_local(ptr, old, new, size) \ argument 148 #define arch_cmpxchg(ptr, old, new) \ argument 151 #define arch_sync_cmpxchg(ptr, old, new) \ argument 154 #define arch_cmpxchg_local(ptr, old, new) \ argument
|
D | cmpxchg_32.h | 22 static inline u64 __cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64() 35 static inline u64 __cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64_local() 51 u64 old = *pold; in __try_cmpxchg64() local
|
/arch/sparc/lib/ |
D | atomic32.c | 83 int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() 125 unsigned long old, flags; in sp32___set_bit() local 138 unsigned long old, flags; in sp32___clear_bit() local 151 unsigned long old, flags; in sp32___change_bit() local 162 unsigned long __cmpxchg_u32(volatile u32 *ptr, u32 old, u32 new) in __cmpxchg_u32() 176 u64 __cmpxchg_u64(u64 *ptr, u64 old, u64 new) in __cmpxchg_u64()
|
/arch/mips/include/asm/ |
D | cmpxchg.h | 112 #define __cmpxchg_asm(ld, st, m, old, new) \ argument 152 unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() 177 #define arch_cmpxchg_local(ptr, old, new) \ argument 184 #define arch_cmpxchg(ptr, old, new) \ argument 229 unsigned long long old, in __cmpxchg64()
|
/arch/ia64/include/asm/ |
D | bitops.h | 42 __u32 bit, old, new; in set_bit() local 83 __u32 mask, old, new; in clear_bit() local 107 __u32 mask, old, new; in clear_bit_unlock() local 164 __u32 bit, old, new; in change_bit() local 203 __u32 bit, old, new; in test_and_set_bit() local 257 __u32 mask, old, new; in test_and_clear_bit() local 302 __u32 bit, old, new; in test_and_change_bit() local 326 __u32 old, bit = (1 << (nr & 31)); in arch___test_and_change_bit() local
|
D | acenv.h | 22 unsigned int old, new, val; in ia64_acpi_acquire_global_lock() local 34 unsigned int old, new, val; in ia64_acpi_release_global_lock() local
|
/arch/arm/kernel/ |
D | ftrace.c | 98 static int ftrace_modify_code(unsigned long pc, unsigned long old, in ftrace_modify_code() 147 unsigned long new, old; in ftrace_make_call() local 174 unsigned long new, old; in ftrace_modify_call() local 191 unsigned long old; in ftrace_make_nop() local 232 unsigned long old; in prepare_ftrace_return() local 275 unsigned long old = enable ? nop : branch; in __ftrace_modify_caller() local
|
/arch/loongarch/include/asm/ |
D | cmpxchg.h | 95 #define __cmpxchg_asm(ld, st, m, old, new) \ argument 114 static inline unsigned int __cmpxchg_small(volatile void *ptr, unsigned int old, in __cmpxchg_small() 163 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, unsigned int size) in __cmpxchg() 185 #define arch_cmpxchg_local(ptr, old, new) \ argument 192 #define arch_cmpxchg(ptr, old, new) \ argument
|
/arch/s390/include/asm/ |
D | atomic_ops.h | 157 static inline int __atomic_cmpxchg(int *ptr, int old, int new) in __atomic_cmpxchg() 167 static inline bool __atomic_cmpxchg_bool(int *ptr, int old, int new) in __atomic_cmpxchg_bool() 179 static inline long __atomic64_cmpxchg(long *ptr, long old, long new) in __atomic64_cmpxchg() 189 static inline bool __atomic64_cmpxchg_bool(long *ptr, long old, long new) in __atomic64_cmpxchg_bool()
|
D | cmpxchg.h | 20 unsigned long old; in __arch_xchg() local 88 unsigned long old, in __cmpxchg() 195 static __always_inline u128 arch_cmpxchg128(volatile u128 *ptr, u128 old, u128 new) in arch_cmpxchg128()
|
D | spinlock.h | 107 int old; in arch_read_lock() local 133 int old; in arch_read_trylock() local 142 int old; in arch_write_trylock() local
|
/arch/parisc/lib/ |
D | bitops.c | 59 u64 notrace __cmpxchg_u64(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg_u64() 71 unsigned long notrace __cmpxchg_u32(volatile unsigned int *ptr, unsigned int old, unsigned int new) in __cmpxchg_u32() 83 u8 notrace __cmpxchg_u8(volatile u8 *ptr, u8 old, u8 new) in __cmpxchg_u8()
|
/arch/loongarch/kernel/ |
D | ftrace_dyn.c | 15 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, bool validate) in ftrace_modify_code() 120 u32 old, new; in ftrace_modify_call() local 172 u32 old, new; in ftrace_init_nop() local 184 u32 old, new; in ftrace_make_call() local 200 u32 old, new; in ftrace_make_nop() local 228 unsigned long old; in prepare_ftrace_return() local
|
/arch/sparc/include/asm/ |
D | cmpxchg_64.h | 11 __cmpxchg_u32(volatile int *m, int old, int new) in __cmpxchg_u32() 115 __cmpxchg_u64(volatile long *m, unsigned long old, unsigned long new) in __cmpxchg_u64() 131 __cmpxchg_u8(volatile unsigned char *m, unsigned char old, unsigned char new) in __cmpxchg_u8() 157 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() 185 unsigned long old, in __cmpxchg_local()
|
/arch/sh/kernel/ |
D | ftrace.c | 102 int old = atomic_read(&nmi_running); in clear_mod_flag() local 225 unsigned char old[MCOUNT_INSN_SIZE], *new; in ftrace_update_ftrace_func() local 236 unsigned char *new, *old; in ftrace_make_nop() local 247 unsigned char *new, *old; in ftrace_make_call() local 318 unsigned long old; in prepare_ftrace_return() local
|
/arch/alpha/include/asm/ |
D | xchg.h | 129 ____cmpxchg(_u8, volatile char *m, unsigned char old, unsigned char new) in ____cmpxchg() 155 ____cmpxchg(_u16, volatile short *m, unsigned short old, unsigned short new) in ____cmpxchg() 181 ____cmpxchg(_u32, volatile int *m, int old, int new) in ____cmpxchg() 203 ____cmpxchg(_u64, volatile long *m, unsigned long old, unsigned long new) in ____cmpxchg()
|
/arch/csky/include/asm/ |
D | cmpxchg.h | 56 #define __cmpxchg_relaxed(ptr, old, new, size) \ argument 86 #define __cmpxchg_acquire(ptr, old, new, size) \ argument 117 #define __cmpxchg(ptr, old, new, size) \ argument
|
/arch/openrisc/include/asm/bitops/ |
D | atomic.h | 67 unsigned long old; in test_and_set_bit() local 87 unsigned long old; in test_and_clear_bit() local 107 unsigned long old; in test_and_change_bit() local
|
/arch/arm64/kernel/ |
D | ftrace.c | 150 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code() 327 u32 old, new; in ftrace_make_call() local 348 u32 old, new; in ftrace_modify_call() local 394 u32 old, new; in ftrace_init_nop() local 416 u32 old = 0, new; in ftrace_make_nop() local 462 unsigned long old; in prepare_ftrace_return() local
|