/linux/arch/sparc/lib/ |
H A D | atomic32.c | 83 int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() argument 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; sp32___change_bit() local [all...] |
/linux/arch/s390/lib/ |
H A D | spinlock.c | 106 static inline int arch_try_cmpxchg_niai8(int *lock, int old, int new) in arch_try_cmpxchg_niai8() argument 121 static inline int arch_try_cmpxchg_niai8(int *lock, int old, int new) in arch_try_cmpxchg_niai8() argument 159 int lockval, ix, node_id, tail_id, old, new, owner, count; arch_spin_lock_queued() local 252 int lockval, old, new, owner, count; arch_spin_lock_classic() local 331 int old; arch_write_lock_wait() local [all...] |
H A D | uaccess.c | 154 unsigned int old, unsigned int new, in __cmpxchg_user_key_small() argument 208 unsigned char old, unsigned char new, unsigned long key) in __cmpxchg_user_key1() argument 225 unsigned short old, unsigned short new, unsigned long key) in __cmpxchg_user_key2() argument 242 unsigned int old, unsigned int new, unsigned long key) in __cmpxchg_user_key4() argument 274 unsigned long old, unsigned long new, unsigned long key) in __cmpxchg_user_key8() argument 306 __cmpxchg_user_key16(unsigned long address,__uint128_t * uval,__uint128_t old,__uint128_t new,unsigned long key) __cmpxchg_user_key16() argument [all...] |
/linux/include/linux/ |
H A D | refcount.h | 176 int old = refcount_read(r); in __refcount_add_not_zero() local 219 int old = refcount_read(r); __refcount_add_not_zero_limited_acquire() local 283 int old = atomic_fetch_add_relaxed(i, &r->refs); __refcount_add() local 389 int old = atomic_fetch_sub_release(i, &r->refs); __refcount_sub_and_test() local 455 int old = atomic_fetch_sub_release(1, &r->refs); __refcount_dec() local [all...] |
/linux/kernel/locking/ |
H A D | qspinlock_paravirt.h | 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 in pv_hash() local 360 u8 old = VCPU_HALTED; pv_kick_node() local [all...] |
/linux/tools/include/asm-generic/bitops/ |
H A D | non-atomic.h | 66 unsigned long old = *p; in ___test_and_set_bit() local 86 unsigned long old = *p; in ___test_and_clear_bit() local 98 unsigned long old = *p; in ___test_and_change_bit() local [all...] |
/linux/arch/x86/include/asm/ |
H A D | cmpxchg_32.h | 32 static __always_inline u64 __cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64() argument 37 static __always_inline u64 __cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64_local() argument 106 static __always_inline u64 arch_cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in arch_cmpxchg64() argument 112 static __always_inline u64 arch_cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in arch_cmpxchg64_local() argument
|
/linux/sound/soc/sof/ |
H A D | ops.c | 19 unsigned int old, new; in snd_sof_pci_update_bits_unlocked() local 54 unsigned int old, new; in snd_sof_dsp_update_bits_unlocked() local 74 u64 old, ne in snd_sof_dsp_update_bits64_unlocked() local 122 unsigned int old, new; snd_sof_dsp_update_bits_forced_unlocked() local [all...] |
/linux/arch/csky/include/asm/ |
H A D | cmpxchg.h | 57 #define __cmpxchg_relaxed(ptr, old, new, size) \ argument 90 #define __cmpxchg_acquire(ptr, old, new, size) \ argument 124 #define __cmpxchg(ptr, old, new, size) \ argument
|
/linux/arch/openrisc/include/asm/bitops/ |
H A 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
|
/linux/tools/include/nolibc/ |
H A D | sys.h | 238 int sys_dup2(int old, int new) in sys_dup2() argument 250 int dup2(int old, int new) in dup2() argument 262 int sys_dup3(int old, int new, int flags) in sys_dup3() argument 268 dup3(int old,int new,int flags) dup3() argument 568 sys_link(const char * old,const char * new) sys_link() argument 580 link(const char * old,const char * new) link() argument 731 sys_pivot_root(const char * new,const char * old) sys_pivot_root() argument 737 pivot_root(const char * new,const char * old) pivot_root() argument 873 sys_symlink(const char * old,const char * new) sys_symlink() argument 885 symlink(const char * old,const char * new) symlink() argument [all...] |
/linux/arch/sh/include/asm/ |
H A D | cmpxchg-cas.h | 6 __cmpxchg_u32(volatile u32 *m, unsigned long old, unsigned long new) in __cmpxchg_u32() argument 17 unsigned long old; in xchg_u32() local
|
H A D | bitops-op32.h | 100 unsigned long old = *p; in arch___test_and_set_bit() local 120 unsigned long old = *p; in arch___test_and_clear_bit() local 132 unsigned long old = *p; in arch___test_and_change_bit() local [all...] |
/linux/drivers/gpu/drm/i915/ |
H A D | i915_hwmon.h | 23 static inline void i915_hwmon_power_max_disable(struct drm_i915_private *i915, bool *old) { }; in i915_hwmon_power_max_disable() argument 24 static inline void i915_hwmon_power_max_restore(struct drm_i915_private *i915, bool old) { }; in i915_hwmon_power_max_restore() argument
|
/linux/include/asm-generic/ |
H A D | cmpxchg-local.h | 16 unsigned long old, unsigned long new, int size) in __generic_cmpxchg_local() argument 55 u64 old, u64 new) in __generic_cmpxchg64_local() argument
|
/linux/include/trace/events/ |
H A D | power.h | 523 #define trace_guest_halt_poll_ns_grow(new, old) \ argument 525 #define trace_guest_halt_poll_ns_shrink(new, old) \ argument [all...] |
/linux/tools/testing/selftests/arm64/bti/ |
H A D | signal.c | 29 int sigaction(int n, struct sigaction *sa, const struct sigaction *old) in sigaction() argument 34 int sigprocmask(int how, const sigset_t *mask, sigset_t *old) in sigprocmask() argument
|
/linux/arch/powerpc/kernel/trace/ |
H A D | ftrace_64_pg.c | 59 ftrace_modify_code(unsigned long ip, ppc_inst_t old, ppc_inst_t new) in ftrace_modify_code() argument 369 ppc_inst_t old, new; in ftrace_make_nop() local 517 ppc_inst_t old, new; in ftrace_make_call() local 641 ppc_inst_t old, new; ftrace_modify_call() local 671 ppc_inst_t old, new; ftrace_update_ftrace_func() local 762 ppc_inst_t old, new; ftrace_modify_ftrace_graph_caller() local [all...] |
H A D | ftrace.c | 85 static inline int ftrace_modify_code(unsigned long ip, ppc_inst_t old, ppc_inst_t new) in ftrace_modify_code() argument 330 ppc_inst_t old, new; in ftrace_make_call() local 372 ppc_inst_t old, new, call_inst, new_call_inst; in ftrace_replace_code() local 455 ppc_inst_t old, new; ftrace_init_nop() local 529 ppc_inst_t old, new; ftrace_update_ftrace_func() local [all...] |
/linux/arch/openrisc/include/asm/ |
H A D | cmpxchg.h | 26 unsigned long old, unsigned long new) in cmpxchg_u32() argument 59 static inline u32 cmpxchg_small(volatile void *ptr, u32 old, u32 new, in cmpxchg_small() argument 121 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() argument [all...] |
/linux/include/linux/atomic/ |
H A D | atomic-instrumented.h | 1192 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() argument 1213 atomic_cmpxchg_acquire(atomic_t *v, int old, int new) in atomic_cmpxchg_acquire() argument 1233 atomic_cmpxchg_release(atomic_t * v,int old,int new) atomic_cmpxchg_release() argument 1254 atomic_cmpxchg_relaxed(atomic_t * v,int old,int new) atomic_cmpxchg_relaxed() argument 1275 atomic_try_cmpxchg(atomic_t * v,int * old,int new) atomic_try_cmpxchg() argument 1298 atomic_try_cmpxchg_acquire(atomic_t * v,int * old,int new) atomic_try_cmpxchg_acquire() argument 1320 atomic_try_cmpxchg_release(atomic_t * v,int * old,int new) atomic_try_cmpxchg_release() argument 1343 atomic_try_cmpxchg_relaxed(atomic_t * v,int * old,int new) atomic_try_cmpxchg_relaxed() argument 2770 atomic64_cmpxchg(atomic64_t * v,s64 old,s64 new) atomic64_cmpxchg() argument 2791 atomic64_cmpxchg_acquire(atomic64_t * v,s64 old,s64 new) atomic64_cmpxchg_acquire() argument 2811 atomic64_cmpxchg_release(atomic64_t * v,s64 old,s64 new) atomic64_cmpxchg_release() argument 2832 atomic64_cmpxchg_relaxed(atomic64_t * v,s64 old,s64 new) atomic64_cmpxchg_relaxed() argument 2853 atomic64_try_cmpxchg(atomic64_t * v,s64 * old,s64 new) atomic64_try_cmpxchg() argument 2876 atomic64_try_cmpxchg_acquire(atomic64_t * v,s64 * old,s64 new) atomic64_try_cmpxchg_acquire() argument 2898 atomic64_try_cmpxchg_release(atomic64_t * v,s64 * old,s64 new) atomic64_try_cmpxchg_release() argument 2921 atomic64_try_cmpxchg_relaxed(atomic64_t * v,s64 * old,s64 new) atomic64_try_cmpxchg_relaxed() argument 4348 atomic_long_cmpxchg(atomic_long_t * v,long old,long new) atomic_long_cmpxchg() argument 4369 atomic_long_cmpxchg_acquire(atomic_long_t * v,long old,long new) atomic_long_cmpxchg_acquire() argument 4389 atomic_long_cmpxchg_release(atomic_long_t * v,long old,long new) atomic_long_cmpxchg_release() argument 4410 atomic_long_cmpxchg_relaxed(atomic_long_t * v,long old,long new) atomic_long_cmpxchg_relaxed() argument 4431 atomic_long_try_cmpxchg(atomic_long_t * v,long * old,long new) atomic_long_try_cmpxchg() argument 4454 atomic_long_try_cmpxchg_acquire(atomic_long_t * v,long * old,long new) atomic_long_try_cmpxchg_acquire() argument 4476 atomic_long_try_cmpxchg_release(atomic_long_t * v,long * old,long new) atomic_long_try_cmpxchg_release() argument 4499 atomic_long_try_cmpxchg_relaxed(atomic_long_t * v,long * old,long new) atomic_long_try_cmpxchg_relaxed() argument [all...] |
/linux/arch/s390/kernel/ |
H A D | ftrace.c | 86 struct ftrace_insn old; in ftrace_init_nop() local 159 struct ftrace_insn old; in ftrace_patch_branch_insn() local 177 u64 old; ftrace_modify_trampoline_call() local 201 u16 old; ftrace_patch_branch_mask() local [all...] |
/linux/include/asm-generic/bitops/ |
H A 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 [all...] |
/linux/arch/xtensa/include/asm/ |
H A D | cmpxchg.h | 25 __cmpxchg_u32(volatile int *p, int old, int new) in __cmpxchg_u32() argument 75 __cmpxchg(volatile void *ptr, unsigned long old, unsigne argument 95 __cmpxchg_local(volatile void * ptr,unsigned long old,unsigned long new,int size) __cmpxchg_local() argument [all...] |
/linux/arch/arm/include/asm/ |
H A D | cmpxchg.h | 158 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() argument 224 unsigned long old, in __cmpxchg_local() argument 251 unsigned long long old, in __cmpxchg64() argument [all...] |