/linux/arch/powerpc/include/asm/ |
H A D | cmpxchg.h | 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() 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 …]
|
/linux/arch/sh/include/asm/ |
H A 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
|
H A 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/arch/sparc/kernel/ |
H A 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 95 u32 old, new; in ftrace_enable_ftrace_graph_caller() local 105 u32 old, new; in ftrace_disable_ftrace_graph_caller() local
|
/linux/tools/lib/ |
H A D | rbtree.c | 75 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, in __rb_rotate_set_parents() argument 86 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert() argument 228 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in ____rb_erase_color() argument 411 void (*augment_rotate)(struct rb_node *old, struc in __rb_erase_color() argument 424 dummy_copy(struct rb_node * old,struct rb_node * new) dummy_copy() argument 425 dummy_rotate(struct rb_node * old,struct rb_node * new) dummy_rotate() argument 454 __rb_insert_augmented(struct rb_node * node,struct rb_root * root,void (* augment_rotate)(struct rb_node * old,struct rb_node * new)) __rb_insert_augmented() argument [all...] |
/linux/lib/ |
H A 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()
|
H A D | errseq.c | 61 errseq_t cur, old; in errseq_set() local 125 errseq_t old = READ_ONCE(*eseq); in errseq_sample() local 178 errseq_t old, new; in errseq_check_and_advance() local
|
/linux/drivers/input/joystick/iforce/ |
H A D | iforce-ff.c | 178 struct ff_effect *old, in need_condition_modifier() 206 struct ff_effect *old, in need_magnitude_modifier() 222 static int need_envelope_modifier(struct iforce *iforce, struct ff_effect *old, in need_envelope_modifier() 254 static int need_period_modifier(struct iforce *iforce, struct ff_effect *old, in need_period_modifier() 272 static int need_core(struct ff_effect *old, struct ff_effect *new) in need_core() 334 int iforce_upload_periodic(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old) in iforce_upload_periodic() 405 int iforce_upload_constant(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old) in iforce_upload_constant() 461 int iforce_upload_condition(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old) in iforce_upload_condition()
|
/linux/arch/x86/include/asm/ |
H A D | cmpxchg.h | 85 #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
|
/linux/arch/mips/include/asm/ |
H A D | cmpxchg.h | 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/arch/loongarch/include/asm/ |
H A D | cmpxchg.h | 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/security/safesetid/ |
H A D | lsm.c | 148 static bool id_permitted_for_cred(const struct cred *old, kid_t new_id, enum setid_type new_type) in id_permitted_for_cred() 192 const struct cred *old, in safesetid_task_fix_setuid() 216 const struct cred *old, in safesetid_task_fix_setgid() 239 static int safesetid_task_fix_setgroups(struct cred *new, const struct cred *old) in safesetid_task_fix_setgroups()
|
/linux/include/asm-generic/bitops/ |
H A D | lock.h | 21 long old; in arch_test_and_set_bit_lock() local 61 unsigned long old; in arch___clear_bit_unlock() local 73 long old; in arch_xor_unlock_is_negative_byte() local
|
H A D | atomic.h | 38 long old; in arch_test_and_set_bit() local 49 long old; in arch_test_and_clear_bit() local 60 long old; in arch_test_and_change_bit() local
|
/linux/arch/sh/kernel/ |
H A D | ftrace.c | 102 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
|
/linux/arch/sparc/include/asm/ |
H A 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/tools/arch/x86/include/asm/ |
H A D | cmpxchg.h | 35 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument 83 #define __cmpxchg(ptr, old, new, size) \ argument 86 #define cmpxchg(ptr, old, new) \ argument
|
/linux/arch/arc/include/asm/ |
H A 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
|
/linux/arch/alpha/include/asm/ |
H A D | cmpxchg.h | 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/arch/sparc/lib/ |
H A D | atomic32.c | 83 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
|
/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 = NULL; in pv_hash() local 360 u8 old = VCPU_HALTED; in pv_kick_node() local
|
/linux/include/linux/ |
H A D | refcount.h | 142 int old = refcount_read(r); in __refcount_add_not_zero() local 184 int old = atomic_fetch_add_relaxed(i, &r->refs); in __refcount_add() local 264 int old = atomic_fetch_sub_release(i, &r->refs); in __refcount_sub_and_test() local 330 int old = atomic_fetch_sub_release(1, &r->refs); in __refcount_dec() local
|
/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, new; in snd_sof_dsp_update_bits64_unlocked() local 122 unsigned int old, new; in snd_sof_dsp_update_bits_forced_unlocked() local
|
/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
|
/linux/security/ |
H A D | commoncap.c | 272 const struct cred *old, in cap_capset() 820 const struct cred *old = current_cred(); in handle_privileged_root() local 858 static inline bool __is_setuid(struct cred *new, const struct cred *old) in __is_setuid() 861 static inline bool __is_setgid(struct cred *new, const struct cred *old) in __is_setgid() 881 static inline bool nonroot_raised_pE(struct cred *new, const struct cred *old, in nonroot_raised_pE() 917 const struct cred *old = current_cred(); in cap_bprm_creds_from_file() local 1113 static inline void cap_emulate_setxuid(struct cred *new, const struct cred *old) in cap_emulate_setxuid() 1152 int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags) in cap_task_fix_setuid() 1297 const struct cred *old = current_cred(); in cap_task_prctl() local
|