/arch/x86/kernel/cpu/ |
D | cmpxchg.c | 10 unsigned long cmpxchg_386_u8(volatile void *ptr, u8 old, u8 new) in cmpxchg_386_u8() 25 unsigned long cmpxchg_386_u16(volatile void *ptr, u16 old, u16 new) in cmpxchg_386_u16() 40 unsigned long cmpxchg_386_u32(volatile void *ptr, u32 old, u32 new) in cmpxchg_386_u32() 57 unsigned long long cmpxchg_486_u64(volatile void *ptr, u64 old, u64 new) in cmpxchg_486_u64()
|
/arch/s390/include/asm/ |
D | rwsem.h | 123 signed long old, new; in __down_read() local 151 signed long old, new; in __down_read_trylock() local 182 signed long old, new, tmp; in __down_write_nested() local 244 signed long old, new; in __up_read() local 274 signed long old, new, tmp; in __up_write() local 304 signed long old, new, tmp; in __downgrade_write() local 333 signed long old, new; in rwsem_atomic_add() local 359 signed long old, new; in rwsem_atomic_update() local
|
D | spinlock.h | 20 unsigned int old, unsigned int new) in _raw_compare_and_swap() 34 unsigned int old, unsigned int new) in _raw_compare_and_swap()
|
/arch/mips/include/asm/ |
D | cmpxchg.h | 15 #define __cmpxchg_asm(ld, st, m, old, new) \ argument 75 #define __cmpxchg(ptr, old, new, barrier) \ argument 104 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_llsc_mb()) argument 105 #define cmpxchg_local(ptr, old, new) __cmpxchg(ptr, old, new, ) argument
|
/arch/avr32/include/asm/ |
D | system.h | 101 unsigned long new) in __cmpxchg_u32() 130 unsigned long new, int size) in __cmpxchg() 143 #define cmpxchg(ptr, old, new) \ argument 152 unsigned long new, int size) in __cmpxchg_local() 164 #define cmpxchg_local(ptr, old, new) \ argument
|
/arch/sh/kernel/ |
D | ftrace.c | 96 unsigned char old[MCOUNT_INSN_SIZE], *new; in ftrace_update_ftrace_func() local 107 unsigned char *new, *old; in ftrace_make_nop() local 118 unsigned char *new, *old; in ftrace_make_call() local
|
/arch/ia64/include/asm/ |
D | atomic.h | 33 __s32 old, new; in ia64_atomic_add() local 47 __s64 old, new; in ia64_atomic64_add() local 61 __s32 old, new; in ia64_atomic_sub() local 75 __s64 old, new; in ia64_atomic64_sub() local 86 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) argument 87 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) argument 89 #define atomic64_cmpxchg(v, old, new) \ argument 91 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) argument
|
D | bitops.h | 40 __u32 bit, old, new; in set_bit() local 87 __u32 mask, old, new; in clear_bit() local 111 __u32 mask, old, new; in clear_bit_unlock() local 136 __u32 const new = *m & ~(1 << (nr & 31)); in __clear_bit_unlock() local 168 __u32 bit, old, new; in change_bit() local 207 __u32 bit, old, new; in test_and_set_bit() local 261 __u32 mask, old, new; in test_and_clear_bit() local 306 __u32 bit, old, new; in test_and_change_bit() local
|
D | rwsem.h | 87 long old, new; in __down_write() local 116 long old, new; in __up_write() local 159 long old, new; in __downgrade_write() local
|
D | gcc_intrin.h | 309 #define ia64_cmpxchg1_acq(ptr, new, old) \ argument 318 #define ia64_cmpxchg1_rel(ptr, new, old) \ argument 327 #define ia64_cmpxchg2_acq(ptr, new, old) \ argument 336 #define ia64_cmpxchg2_rel(ptr, new, old) \ argument 346 #define ia64_cmpxchg4_acq(ptr, new, old) \ argument 355 #define ia64_cmpxchg4_rel(ptr, new, old) \ argument 364 #define ia64_cmpxchg8_acq(ptr, new, old) \ argument 373 #define ia64_cmpxchg8_rel(ptr, new, old) \ argument
|
/arch/x86/include/asm/ |
D | cmpxchg_32.h | 137 unsigned long new, int size) in __cmpxchg() 170 unsigned long new, int size) in __sync_cmpxchg() 198 unsigned long new, int size) in __cmpxchg_local() 226 unsigned long long new) in __cmpxchg64() 241 unsigned long long new) in __cmpxchg64_local() 266 unsigned long new, int size) in cmpxchg_386()
|
D | cmpxchg_64.h | 64 unsigned long new, int size) in __cmpxchg() 103 unsigned long new, int size) in __sync_cmpxchg() 131 unsigned long new, int size) in __cmpxchg_local()
|
/arch/sparc/kernel/ |
D | ftrace.c | 33 u32 new = *(u32 *)new_code; in ftrace_modify_code() local 65 unsigned char old[MCOUNT_INSN_SIZE], *new; in ftrace_update_ftrace_func() local
|
/arch/arm/kernel/ |
D | ftrace.c | 52 unsigned long err = 0, replaced = 0, old, new; in ftrace_modify_code() local 89 unsigned char *new; in ftrace_update_ftrace_func() local
|
/arch/parisc/lib/ |
D | bitops.c | 60 unsigned long __cmpxchg_u64(volatile unsigned long *ptr, unsigned long old, unsigned long new) in __cmpxchg_u64() 73 unsigned long __cmpxchg_u32(volatile unsigned int *ptr, unsigned int old, unsigned int new) in __cmpxchg_u32()
|
/arch/powerpc/include/asm/ |
D | system.h | 364 __cmpxchg_u32(volatile unsigned int *p, unsigned long old, unsigned long new) in __cmpxchg_u32() 388 unsigned long new) in __cmpxchg_u32_local() 410 __cmpxchg_u64(volatile unsigned long *p, unsigned long old, unsigned long new) in __cmpxchg_u64() 433 unsigned long new) in __cmpxchg_u64_local() 458 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg() 474 __cmpxchg_local(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg_local()
|
/arch/powerpc/boot/dtc-src/ |
D | livetree.c | 29 struct property *new = xmalloc(sizeof(*new)); in build_property() local 66 struct node *new = xmalloc(sizeof(*new)); in build_node() local 130 struct reserve_info *new = xmalloc(sizeof(*new)); in build_reserve_entry() local 152 struct reserve_info *new) in add_reserve_entry()
|
/arch/sparc/include/asm/ |
D | system_64.h | 261 __cmpxchg_u32(volatile int *m, int old, int new) in __cmpxchg_u32() 272 __cmpxchg_u64(volatile long *m, unsigned long old, unsigned long new) in __cmpxchg_u64() 287 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() 314 unsigned long new, int size) in __cmpxchg_local()
|
/arch/xtensa/include/asm/ |
D | system.h | 86 __cmpxchg_u32(volatile int *p, int old, int new) in __cmpxchg_u32() 106 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() 126 unsigned long new, int size) in __cmpxchg_local()
|
/arch/sh/include/asm/ |
D | atomic.h | 49 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() 78 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) argument
|
D | cmpxchg-grb.h | 47 unsigned long new) in __cmpxchg_u32()
|
/arch/alpha/include/asm/ |
D | system.h | 556 __cmpxchg_u8(volatile char *m, long old, long new) in __cmpxchg_u8() 585 __cmpxchg_u16(volatile short *m, long old, long new) in __cmpxchg_u16() 614 __cmpxchg_u32(volatile int *m, int old, int new) in __cmpxchg_u32() 639 __cmpxchg_u64(volatile long *m, unsigned long old, unsigned long new) in __cmpxchg_u64() 668 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() 698 __cmpxchg_u8_local(volatile char *m, long old, long new) in __cmpxchg_u8_local() 724 __cmpxchg_u16_local(volatile short *m, long old, long new) in __cmpxchg_u16_local() 750 __cmpxchg_u32_local(volatile int *m, int old, int new) in __cmpxchg_u32_local() 772 __cmpxchg_u64_local(volatile long *m, unsigned long old, unsigned long new) in __cmpxchg_u64_local() 794 __cmpxchg_local(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg_local()
|
/arch/um/sys-i386/ |
D | bugs.c | 26 struct sigaction old, new; in arch_check_bugs() local
|
/arch/sparc/lib/ |
D | atomic32.c | 43 int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() 122 unsigned long __cmpxchg_u32(volatile u32 *ptr, u32 old, u32 new) in __cmpxchg_u32()
|
/arch/powerpc/kernel/ |
D | ftrace.c | 337 unsigned char *old, *new; in ftrace_make_nop() local 470 unsigned char *old, *new; in ftrace_make_call() local 501 unsigned char old[MCOUNT_INSN_SIZE], *new; in ftrace_update_ftrace_func() local
|