Home
last modified time | relevance | path

Searched defs:old (Results 1 – 25 of 181) sorted by relevance

12345678

/arch/sh/include/asm/
Dbitops-cas.h5 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
Dspinlock-cas.h13 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
Dcmpxchg-cas.h6 __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/
Dcmpxchg.h283 __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/
Dftrace.c26 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/
Dcmpxchg.h21 #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/
Dcmpxchg.h85 #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
Dcmpxchg_32.h22 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/
Datomic32.c83 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/
Dcmpxchg.h112 #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/
Dbitops.h42 __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
Dacenv.h22 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/
Dftrace.c98 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/
Dcmpxchg.h95 #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/
Datomic_ops.h157 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()
Dcmpxchg.h20 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()
Dspinlock.h107 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/
Dbitops.c59 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/
Dftrace_dyn.c15 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/
Dcmpxchg_64.h11 __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/
Dftrace.c102 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/
Dxchg.h129 ____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/
Dcmpxchg.h56 #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/
Datomic.h67 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/
Dftrace.c150 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

12345678