/linux-6.14.4/arch/powerpc/include/asm/ |
D | cmpxchg.h | 87 __xchg_u8_local(volatile void *p, unsigned long val) in __xchg_u8_local() 103 __xchg_u8_relaxed(u8 *p, unsigned long val) in __xchg_u8_relaxed() 119 __xchg_u16_local(volatile void *p, unsigned long val) in __xchg_u16_local() 135 __xchg_u16_relaxed(u16 *p, unsigned long val) in __xchg_u16_relaxed() 152 __xchg_u32_local(volatile void *p, unsigned long val) in __xchg_u32_local() 168 __xchg_u32_relaxed(u32 *p, unsigned long val) in __xchg_u32_relaxed() 185 __xchg_u64_local(volatile void *p, unsigned long val) in __xchg_u64_local() 201 __xchg_u64_relaxed(u64 *p, unsigned long val) in __xchg_u64_relaxed() 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() [all …]
|
/linux-6.14.4/arch/arc/include/asm/ |
D | cmpxchg.h | 22 #define __cmpxchg(ptr, old, new) \ argument 42 #define arch_cmpxchg_relaxed(ptr, old, new) \ argument 64 #define arch_cmpxchg(ptr, old, new) \ argument 90 #define __arch_xchg(ptr, val) \ argument 100 #define arch_xchg_relaxed(ptr, val) \ argument 124 #define arch_xchg(ptr, val) \ argument
|
/linux-6.14.4/arch/alpha/include/asm/ |
D | cmpxchg.h | 12 ____xchg_u8(volatile char *m, unsigned long val) in ____xchg_u8() 35 ____xchg_u16(volatile short *m, unsigned long val) in ____xchg_u16() 58 ____xchg_u32(volatile int *m, unsigned long val) in ____xchg_u32() 77 ____xchg_u64(volatile long *m, unsigned long val) in ____xchg_u64() 117 ____cmpxchg_u8(volatile char *m, unsigned char old, unsigned char new) in ____cmpxchg_u8() 143 ____cmpxchg_u16(volatile short *m, unsigned short old, unsigned short new) in ____cmpxchg_u16() 169 ____cmpxchg_u32(volatile int *m, int old, int new) in ____cmpxchg_u32() 191 ____cmpxchg_u64(volatile long *m, unsigned long old, unsigned long new) in ____cmpxchg_u64() 217 ____cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in ____cmpxchg()
|
/linux-6.14.4/arch/sparc/include/asm/ |
D | cmpxchg_64.h | 11 __cmpxchg_u32(volatile int *m, int old, int new) in __cmpxchg_u32() 21 static inline unsigned long xchg32(__volatile__ unsigned int *m, unsigned int val) in xchg32() 38 static inline unsigned long xchg64(__volatile__ unsigned long *m, unsigned long val) in xchg64() 70 xchg16(__volatile__ unsigned short *m, unsigned short val) in xchg16() 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-6.14.4/arch/loongarch/include/asm/ |
D | cmpxchg.h | 12 #define __xchg_asm(amswap_db, m, val) \ argument 25 static inline unsigned int __xchg_small(volatile void *ptr, unsigned int val, in __xchg_small() 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
|
/linux-6.14.4/sound/pci/ice1712/ |
D | wtm.c | 36 unsigned char val) in stac9460_put() 50 unsigned char val) in stac9460_2_put() 67 unsigned char new, old; in stac9460_dac_mute_all() local 118 unsigned char val; in stac9460_dac_mute_get() local 144 unsigned char new, old; in stac9460_dac_mute_put() local 262 unsigned char val; in stac9460_adc_mute_get() local 284 unsigned char new, old; in stac9460_adc_mute_put() local 399 unsigned char val; in stac9460_mic_sw_get() local 415 unsigned char new, old; in stac9460_mic_sw_put() local 440 unsigned char old, new; in stac9460_set_rate_val() local
|
D | prodigy192.c | 61 static inline void stac9460_put(struct snd_ice1712 *ice, int reg, unsigned char val) in stac9460_put() 81 unsigned char new, old; in stac9460_dac_mute() local 97 unsigned char val; in stac9460_dac_mute_get() local 187 unsigned char val; in stac9460_adc_mute_get() local 201 unsigned char new, old; in stac9460_adc_mute_put() local 276 unsigned char val; in stac9460_mic_sw_get() local 287 unsigned char new, old; in stac9460_mic_sw_put() local 301 unsigned char old, new; in stac9460_set_rate_val() local 547 unsigned char val; in ak4114_input_sw_get() local 561 unsigned char new, old, itemvalue; in ak4114_input_sw_put() local [all …]
|
D | quartet.c | 237 unsigned char val) in qtet_ak4113_write() 453 static void set_scr(struct snd_ice1712 *ice, unsigned int val) in set_scr() 460 static void set_mcr(struct snd_ice1712 *ice, unsigned int val) in set_mcr() 467 static void set_cpld(struct snd_ice1712 *ice, unsigned int val) in set_cpld() 497 unsigned int val; in qtet_mute_get() local 507 unsigned int old, new, smute; in qtet_mute_put() local 543 unsigned int val, result; in qtet_ain12_sw_get() local 568 unsigned int old, new, tmp, masked_old; in qtet_ain12_sw_put() local 612 unsigned int val; in qtet_php_get() local 623 unsigned int old, new; in qtet_php_put() local [all …]
|
/linux-6.14.4/include/linux/ |
D | iversion.h | 111 inode_set_iversion_raw(struct inode *inode, u64 val) in inode_set_iversion_raw() 142 inode_set_max_iversion_raw(struct inode *inode, u64 val) in inode_set_max_iversion_raw() 165 inode_set_iversion(struct inode *inode, u64 val) in inode_set_iversion() 187 inode_set_iversion_queried(struct inode *inode, u64 val) in inode_set_iversion_queried() 279 inode_eq_iversion_raw(const struct inode *inode, u64 old) in inode_eq_iversion_raw() 296 inode_eq_iversion(const struct inode *inode, u64 old) in inode_eq_iversion()
|
/linux-6.14.4/drivers/hwmon/ |
D | bt1-pvt.c | 119 u32 old; in pvt_update() local 136 u32 old; in pvt_set_mode() local 154 u32 old; in pvt_set_trim() local 165 u32 old; in pvt_set_tout() local 209 u32 val, thres_sts, old; in pvt_soft_isr() local 291 long *val) in pvt_read_data() 311 bool is_low, long *val) in pvt_read_limit() 332 bool is_low, long val) in pvt_write_limit() 372 bool is_low, long *val) in pvt_read_alarm() 412 u32 val; in pvt_hard_isr() local [all …]
|
/linux-6.14.4/arch/arm64/kvm/hyp/ |
D | exception.c | 25 u64 val; in __vcpu_read_sys_reg() local 35 static inline void __vcpu_write_sys_reg(struct kvm_vcpu *vcpu, u64 val, int reg) in __vcpu_write_sys_reg() 44 u64 val) in __vcpu_write_spsr() 58 static void __vcpu_write_spsr_abt(struct kvm_vcpu *vcpu, u64 val) in __vcpu_write_spsr_abt() 66 static void __vcpu_write_spsr_und(struct kvm_vcpu *vcpu, u64 val) in __vcpu_write_spsr_und() 94 unsigned long sctlr, vbar, old, new, mode; in enter_exception64() local 195 unsigned long old, new; in get_except32_cpsr() local
|
/linux-6.14.4/arch/sh/include/asm/ |
D | cmpxchg-cas.h | 6 __cmpxchg_u32(volatile u32 *m, unsigned long old, unsigned long new) in __cmpxchg_u32() 15 static inline unsigned long xchg_u32(volatile u32 *m, unsigned long val) in xchg_u32() 17 unsigned long old; in xchg_u32() local
|
D | cmpxchg-grb.h | 5 static inline unsigned long xchg_u32(volatile u32 *m, unsigned long val) in xchg_u32() 27 static inline unsigned long xchg_u16(volatile u16 *m, unsigned long val) in xchg_u16() 49 static inline unsigned long xchg_u8(volatile u8 *m, unsigned long val) in xchg_u8() 71 static inline unsigned long __cmpxchg_u32(volatile int *m, unsigned long old, in __cmpxchg_u32()
|
D | cmpxchg-irq.h | 7 static inline unsigned long xchg_u32(volatile u32 *m, unsigned long val) in xchg_u32() 18 static inline unsigned long xchg_u16(volatile u16 *m, unsigned long val) in xchg_u16() 29 static inline unsigned long xchg_u8(volatile u8 *m, unsigned long val) in xchg_u8() 40 static inline unsigned long __cmpxchg_u32(volatile int *m, unsigned long old, in __cmpxchg_u32()
|
/linux-6.14.4/arch/mips/include/asm/ |
D | cmpxchg.h | 34 #define __xchg_asm(ld, st, m, val) \ argument 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()
|
/linux-6.14.4/tools/include/linux/ |
D | refcount.h | 78 unsigned int old, new, val = atomic_read(&r->refs); in refcount_inc_not_zero() local 123 unsigned int old, new, val = atomic_read(&r->refs); in refcount_sub_and_test() local
|
/linux-6.14.4/arch/openrisc/include/asm/ |
D | cmpxchg.h | 26 unsigned long old, unsigned long new) in cmpxchg_u32() 45 unsigned long val) in xchg_u32() 59 static inline u32 cmpxchg_small(volatile void *ptr, u32 old, u32 new, in cmpxchg_small() 121 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
|
/linux-6.14.4/kernel/locking/ |
D | qspinlock_paravirt.h | 88 int val = atomic_read(&lock->val); in pv_hybrid_queued_unfair_trylock() local 89 u8 old = 0; in pv_hybrid_queued_unfair_trylock() local 122 u16 old = _Q_PENDING_VAL; in trylock_clear_pending() local 135 int old, new; in trylock_clear_pending() local 215 struct qspinlock *old = NULL; in pv_hash() local 360 u8 old = VCPU_HALTED; in pv_kick_node() local
|
/linux-6.14.4/include/asm-generic/bitops/ |
D | generic-non-atomic.h | 77 unsigned long old = *p; in generic___test_and_set_bit() local 97 unsigned long old = *p; in generic___test_and_clear_bit() local 109 unsigned long old = *p; in generic___test_and_change_bit() local 170 unsigned long val = *p; in const_test_bit() local
|
/linux-6.14.4/arch/xtensa/include/asm/ |
D | cmpxchg.h | 25 __cmpxchg_u32(volatile int *p, int old, int new) in __cmpxchg_u32() 75 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() 95 unsigned long old, in __cmpxchg_local() 128 static inline unsigned long xchg_u32(volatile int * m, unsigned long val) in xchg_u32()
|
/linux-6.14.4/tools/testing/shared/linux/ |
D | percpu.h | 2 #define DECLARE_PER_CPU(type, val) extern type val argument 3 #define DEFINE_PER_CPU(type, val) type val argument 8 #define this_cpu_xchg(var, val) uatomic_xchg(&var, val) argument 9 #define this_cpu_cmpxchg(var, old, new) uatomic_cmpxchg(&var, old, new) argument
|
/linux-6.14.4/include/asm-generic/ |
D | ticket_spinlock.h | 35 u32 val = atomic_fetch_add(1<<16, &lock->val); in ticket_spin_lock() local 55 u32 old = atomic_read(&lock->val); in ticket_spin_trylock() local 66 u32 val = atomic_read(&lock->val); in ticket_spin_unlock() local 73 u32 val = lock.val.counter; in ticket_spin_value_unlocked() local 80 arch_spinlock_t val = READ_ONCE(*lock); in ticket_spin_is_locked() local 87 u32 val = atomic_read(&lock->val); in ticket_spin_is_contended() local
|
/linux-6.14.4/arch/x86/include/asm/ |
D | atomic.h | 99 static __always_inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() 105 static __always_inline bool arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() 127 int val = arch_atomic_read(v); in arch_atomic_fetch_and() local 145 int val = arch_atomic_read(v); in arch_atomic_fetch_or() local 163 int val = arch_atomic_read(v); in arch_atomic_fetch_xor() local
|
D | atomic64_64.h | 93 static __always_inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in arch_atomic64_cmpxchg() 99 static __always_inline bool arch_atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new) in arch_atomic64_try_cmpxchg() 121 s64 val = arch_atomic64_read(v); in arch_atomic64_fetch_and() local 139 s64 val = arch_atomic64_read(v); in arch_atomic64_fetch_or() local 157 s64 val = arch_atomic64_read(v); in arch_atomic64_fetch_xor() local
|
D | atomic64_32.h | 15 #define ATOMIC64_INIT(val) { (val) } argument 91 static __always_inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in arch_atomic64_cmpxchg() 97 static __always_inline bool arch_atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new) in arch_atomic64_try_cmpxchg() 229 s64 val = arch_atomic64_read_nonatomic(v); in arch_atomic64_and() local 236 s64 val = arch_atomic64_read_nonatomic(v); in arch_atomic64_fetch_and() local 246 s64 val = arch_atomic64_read_nonatomic(v); in arch_atomic64_or() local 253 s64 val = arch_atomic64_read_nonatomic(v); in arch_atomic64_fetch_or() local 263 s64 val = arch_atomic64_read_nonatomic(v); in arch_atomic64_xor() local 270 s64 val = arch_atomic64_read_nonatomic(v); in arch_atomic64_fetch_xor() local 280 s64 val = arch_atomic64_read_nonatomic(v); in arch_atomic64_fetch_add() local
|