| /Linux-v5.4/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
 
 | 
| /Linux-v5.4/arch/powerpc/include/asm/ | 
| D | cmpxchg.h | 223 __cmpxchg_u32(volatile unsigned int *p, unsigned long old, unsigned long new)  in __cmpxchg_u32()246 __cmpxchg_u32_local(volatile unsigned int *p, unsigned long old,  in __cmpxchg_u32_local()
 268 __cmpxchg_u32_relaxed(u32 *p, unsigned long old, unsigned long new)  in __cmpxchg_u32_relaxed()
 296 __cmpxchg_u32_acquire(u32 *p, unsigned long old, unsigned long new)  in __cmpxchg_u32_acquire()
 319 __cmpxchg_u64(volatile unsigned long *p, unsigned long old, unsigned long new)  in __cmpxchg_u64()
 341 __cmpxchg_u64_local(volatile unsigned long *p, unsigned long old,  in __cmpxchg_u64_local()
 362 __cmpxchg_u64_relaxed(u64 *p, unsigned long old, unsigned long new)  in __cmpxchg_u64_relaxed()
 381 __cmpxchg_u64_acquire(u64 *p, unsigned long old, unsigned long new)  in __cmpxchg_u64_acquire()
 403 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new,  in __cmpxchg()
 423 __cmpxchg_local(void *ptr, unsigned long old, unsigned long new,  in __cmpxchg_local()
 [all …]
 
 | 
| /Linux-v5.4/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
 100 	u32 old, new;  in ftrace_enable_ftrace_graph_caller()  local
 110 	u32 old, new;  in ftrace_disable_ftrace_graph_caller()  local
 
 | 
| /Linux-v5.4/tools/lib/ | 
| D | rbtree.c | 75 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new,  in __rb_rotate_set_parents()86 	    void (*augment_rotate)(struct rb_node *old, struct rb_node *new))  in __rb_insert()
 228 	void (*augment_rotate)(struct rb_node *old, struct rb_node *new))  in ____rb_erase_color()
 411 	void (*augment_rotate)(struct rb_node *old, struct rb_node *new))  in __rb_erase_color()
 424 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {}  in dummy_copy()
 425 static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {}  in dummy_rotate()
 454 	void (*augment_rotate)(struct rb_node *old, struct rb_node *new))  in __rb_insert_augmented()
 
 | 
| /Linux-v5.4/lib/ | 
| D | rbtree.c | 75 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new,  in __rb_rotate_set_parents()86 	    void (*augment_rotate)(struct rb_node *old, struct rb_node *new))  in __rb_insert()
 228 	void (*augment_rotate)(struct rb_node *old, struct rb_node *new))  in ____rb_erase_color()
 411 	void (*augment_rotate)(struct rb_node *old, struct rb_node *new))  in __rb_erase_color()
 425 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {}  in dummy_copy()
 426 static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {}  in dummy_rotate()
 457 	void (*augment_rotate)(struct rb_node *old, struct rb_node *new))  in __rb_insert_augmented()
 
 | 
| D | errseq.c | 60 	errseq_t cur, old;  in errseq_set()  local124 	errseq_t old = READ_ONCE(*eseq);  in errseq_sample()  local
 177 	errseq_t old, new;  in errseq_check_and_advance()  local
 
 | 
| /Linux-v5.4/include/linux/ | 
| D | iversion.h | 126 	u64 cur, old;  in inode_set_max_iversion_raw()  local200 	u64 cur, old, new;  in inode_maybe_inc_iversion()  local
 307 	u64 cur, old, new;  in inode_query_iversion()  local
 340 inode_eq_iversion_raw(const struct inode *inode, u64 old)  in inode_eq_iversion_raw()
 357 inode_eq_iversion(const struct inode *inode, u64 old)  in inode_eq_iversion()
 
 | 
| /Linux-v5.4/arch/sparc/lib/ | 
| D | atomic32.c | 83 int atomic_cmpxchg(atomic_t *v, int old, int new)  in atomic_cmpxchg()125 	unsigned long old, flags;  in ___set_bit()  local
 138 	unsigned long old, flags;  in ___clear_bit()  local
 151 	unsigned long old, flags;  in ___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()
 
 | 
| /Linux-v5.4/drivers/input/joystick/iforce/ | 
| D | iforce-ff.c | 182 				   struct ff_effect *old,  in need_condition_modifier()210 				   struct ff_effect *old,  in need_magnitude_modifier()
 226 static int need_envelope_modifier(struct iforce *iforce, struct ff_effect *old,  in need_envelope_modifier()
 258 static int need_period_modifier(struct iforce *iforce, struct ff_effect *old,  in need_period_modifier()
 276 static int need_core(struct ff_effect *old, struct ff_effect *new)  in need_core()
 338 int iforce_upload_periodic(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old)  in iforce_upload_periodic()
 409 int iforce_upload_constant(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old)  in iforce_upload_constant()
 465 int iforce_upload_condition(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old)  in iforce_upload_condition()
 
 | 
| /Linux-v5.4/arch/x86/include/asm/ | 
| D | cmpxchg.h | 85 #define __raw_cmpxchg(ptr, old, new, size, lock)			\  argument133 #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 | atomic64_32.h | 269 	s64 old, c = 0;  in arch_atomic64_and()  local277 	s64 old, c = 0;  in arch_atomic64_fetch_and()  local
 287 	s64 old, c = 0;  in arch_atomic64_or()  local
 295 	s64 old, c = 0;  in arch_atomic64_fetch_or()  local
 305 	s64 old, c = 0;  in arch_atomic64_xor()  local
 313 	s64 old, c = 0;  in arch_atomic64_fetch_xor()  local
 323 	s64 old, c = 0;  in arch_atomic64_fetch_add()  local
 
 | 
| /Linux-v5.4/arch/ia64/include/asm/ | 
| D | bitops.h | 42 	__u32 bit, old, new;  in set_bit()  local83 	__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 __test_and_change_bit()  local
 
 | 
| /Linux-v5.4/arch/s390/include/asm/ | 
| D | atomic_ops.h | 123 static inline int __atomic_cmpxchg(int *ptr, int old, int new)  in __atomic_cmpxchg()128 static inline int __atomic_cmpxchg_bool(int *ptr, int old, int new)  in __atomic_cmpxchg_bool()
 133 static inline long __atomic64_cmpxchg(long *ptr, long old, long new)  in __atomic64_cmpxchg()
 138 static inline long __atomic64_cmpxchg_bool(long *ptr, long old, long new)  in __atomic64_cmpxchg_bool()
 
 | 
| /Linux-v5.4/arch/arm/kernel/ | 
| D | ftrace.c | 79 static int ftrace_modify_code(unsigned long pc, unsigned long old,  in ftrace_modify_code()133 	unsigned long new, old;  in ftrace_make_call()  local
 148 	unsigned long new, old;  in ftrace_modify_call()  local
 164 	unsigned long old;  in ftrace_make_nop()  local
 186 	unsigned long old;  in prepare_ftrace_return()  local
 212 	unsigned long old = enable ? nop : branch;  in __ftrace_modify_caller()  local
 
 | 
| /Linux-v5.4/arch/mips/include/asm/ | 
| D | cmpxchg.h | 116 #define __cmpxchg_asm(ld, st, m, old, new)				\  argument157 unsigned long __cmpxchg(volatile void *ptr, unsigned long old,  in __cmpxchg()
 182 #define cmpxchg_local(ptr, old, new)					\  argument
 189 #define cmpxchg(ptr, old, new)						\  argument
 220 					unsigned long long old,  in __cmpxchg64()
 
 | 
| /Linux-v5.4/include/asm-generic/bitops/ | 
| D | lock.h | 21 	long old;  in test_and_set_bit_lock()  local60 	unsigned long old;  in __clear_bit_unlock()  local
 81 	long old;  in clear_bit_unlock_is_negative_byte()  local
 
 | 
| D | atomic.h | 34 	long old;  in test_and_set_bit()  local47 	long old;  in test_and_clear_bit()  local
 60 	long old;  in test_and_change_bit()  local
 
 | 
| /Linux-v5.4/arch/s390/mm/ | 
| D | pgtable.c | 73 	pte_t old;  in ptep_flush_direct()  local92 	pte_t old;  in ptep_flush_lazy()  local
 112 	unsigned long old;  in pgste_get_lock()  local
 251 				    pgste_t pgste, pte_t old, pte_t new)  in ptep_xchg_commit()
 274 	pte_t old;  in ptep_xchg_direct()  local
 291 	pte_t old;  in ptep_xchg_lazy()  local
 308 	pte_t old;  in ptep_modify_prot_start()  local
 376 	pmd_t old;  in pmdp_flush_direct()  local
 394 	pmd_t old;  in pmdp_flush_lazy()  local
 436 	pmd_t old;  in pmdp_xchg_direct()  local
 [all …]
 
 | 
| /Linux-v5.4/tools/arch/x86/include/asm/ | 
| D | cmpxchg.h | 35 #define __raw_cmpxchg(ptr, old, new, size, lock)			\  argument83 #define __cmpxchg(ptr, old, new, size)					\  argument
 86 #define cmpxchg(ptr, old, new)						\  argument
 
 | 
| /Linux-v5.4/arch/arm64/kernel/ | 
| D | ftrace.c | 24 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new,  in ftrace_modify_code()71 	u32 old, new;  in ftrace_make_call()  local
 155 	u32 old = 0, new;  in ftrace_make_nop()  local
 230 	unsigned long old;  in prepare_ftrace_return()  local
 
 | 
| /Linux-v5.4/arch/sh/kernel/ | 
| D | ftrace.c | 102 	int old = atomic_read(&nmi_running);  in clear_mod_flag()  local225 	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
 323 	unsigned long old;  in prepare_ftrace_return()  local
 
 | 
| /Linux-v5.4/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()
 
 | 
| /Linux-v5.4/drivers/gpu/drm/ | 
| D | drm_lock.c | 62 	unsigned int old, new, prev;  in drm_lock_take()  local111 	unsigned int old, new, prev;  in drm_lock_transfer()  local
 126 	unsigned int old, new, prev;  in drm_legacy_lock_free()  local
 312 	unsigned int old, prev;  in drm_legacy_idlelock_release()  local
 
 | 
| /Linux-v5.4/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()
 
 |