/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() argument 305 __cmpxchg_u8_local(volatile unsigned char *p, unsigned long old, in __cmpxchg_u8_local() argument 325 __cmpxchg_u8_relaxed(u8 *p, unsigned long old, unsigne argument 344 __cmpxchg_u8_acquire(u8 * p,unsigned long old,unsigned long new) __cmpxchg_u8_acquire() argument 364 __cmpxchg_u16(volatile unsigned short * p,unsigned long old,unsigned long new) __cmpxchg_u16() argument 385 __cmpxchg_u16_local(volatile unsigned short * p,unsigned long old,unsigned long new) __cmpxchg_u16_local() argument 405 __cmpxchg_u16_relaxed(u16 * p,unsigned long old,unsigned long new) __cmpxchg_u16_relaxed() argument 424 __cmpxchg_u16_acquire(u16 * p,unsigned long old,unsigned long new) __cmpxchg_u16_acquire() argument 445 __cmpxchg_u32(volatile unsigned int * p,unsigned long old,unsigned long new) __cmpxchg_u32() argument 467 __cmpxchg_u32_local(volatile unsigned int * p,unsigned long old,unsigned long new) __cmpxchg_u32_local() argument 488 __cmpxchg_u32_relaxed(u32 * p,unsigned long old,unsigned long new) __cmpxchg_u32_relaxed() argument 515 __cmpxchg_u32_acquire(u32 * p,unsigned long old,unsigned long new) __cmpxchg_u32_acquire() argument 537 __cmpxchg_u64(volatile unsigned long * p,unsigned long old,unsigned long new) __cmpxchg_u64() argument 559 __cmpxchg_u64_local(volatile unsigned long * p,unsigned long old,unsigned long new) __cmpxchg_u64_local() argument 580 __cmpxchg_u64_relaxed(u64 * p,unsigned long old,unsigned long new) __cmpxchg_u64_relaxed() argument 599 __cmpxchg_u64_acquire(u64 * p,unsigned long old,unsigned long new) __cmpxchg_u64_acquire() argument 621 __cmpxchg(volatile void * ptr,unsigned long old,unsigned long new,unsigned int size) __cmpxchg() argument 641 __cmpxchg_local(void * ptr,unsigned long old,unsigned long new,unsigned int size) __cmpxchg_local() argument 661 __cmpxchg_relaxed(void * ptr,unsigned long old,unsigned long new,unsigned int size) __cmpxchg_relaxed() argument 681 __cmpxchg_acquire(void * ptr,unsigned long old,unsigned long new,unsigned int size) __cmpxchg_acquire() argument [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() argument 16 unsigned mask, old; in set_bit() local 28 unsigned mask, old; in clear_bit() local 40 unsigned mask, old; change_bit() local 52 unsigned mask, old; test_and_set_bit() local 66 unsigned mask, old; test_and_clear_bit() local 80 unsigned mask, old; test_and_change_bit() local [all...] |
H A D | spinlock-cas.h | 13 static inline unsigned __sl_cas(volatile unsigned *p, unsigned old, unsigned new) in __sl_cas() argument 54 unsigned old; in arch_read_lock() local 61 unsigned old; in arch_read_unlock() local 78 unsigned old; arch_read_trylock() local [all...] |
/linux/arch/s390/include/asm/ |
H A D | cmpxchg.h | 18 static __always_inline u32 __cs_asm(u64 ptr, u32 old, u32 new) in __cs_asm() argument 28 static __always_inline u64 __csg_asm(u64 ptr, u64 old, u64 new) in __csg_asm() argument 38 __arch_cmpxchg1(u64 ptr,u8 old,u8 new) __arch_cmpxchg1() argument 61 __arch_cmpxchg2(u64 ptr,u16 old,u16 new) __arch_cmpxchg2() argument 84 __arch_cmpxchg(u64 ptr,u64 old,u64 new,int size) __arch_cmpxchg() argument 179 u32 mask, old, new; __arch_xchg1() local 194 u32 mask, old, new; __arch_xchg2() local 214 u32 old = READ_ONCE(*(u32 *)ptr); __arch_xchg() local 221 u64 old = READ_ONCE(*(u64 *)ptr); __arch_xchg() local 241 arch_cmpxchg128(volatile u128 * ptr,u128 old,u128 new) arch_cmpxchg128() argument [all...] |
H A D | spinlock.h | 76 int old = 0; in arch_spin_trylock_once() local 126 int old; in arch_read_lock() local 140 int old = 0; in arch_write_lock() local 154 int old; in arch_read_trylock() local 162 int old; arch_write_trylock() local [all...] |
/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() argument 59 u32 old, new; in ftrace_make_nop() local 69 u32 old, new; in ftrace_make_call() local 79 u32 old, new; ftrace_update_ftrace_func() local 95 u32 old, new; ftrace_enable_ftrace_graph_caller() local 105 u32 old, new; ftrace_disable_ftrace_graph_caller() local [all...] |
/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() 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 425 dummy_copy(struct rb_node * old,struct rb_node * new) dummy_copy() argument 426 dummy_rotate(struct rb_node * old,struct rb_node * new) dummy_rotate() argument 457 __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...] |
H A D | errseq.c | 64 errseq_t cur, old; in errseq_set() local 126 errseq_t old = READ_ONCE(*eseq); errseq_sample() local 179 errseq_t old, new; errseq_check_and_advance() local [all...] |
/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, ne argument 151 arch_sync_cmpxchg(ptr,old,new) global() argument 154 arch_cmpxchg_local(ptr,old,new) global() argument [all...] |
/linux/drivers/input/joystick/iforce/ |
H A D | iforce-ff.c | 178 struct ff_effect *old, in need_condition_modifier() argument 206 struct ff_effect *old, in need_magnitude_modifier() argument 222 static int need_envelope_modifier(struct iforce *iforce, struct ff_effect *old, in need_envelope_modifier() argument 254 need_period_modifier(struct iforce * iforce,struct ff_effect * old,struct ff_effect * new) need_period_modifier() argument 272 need_core(struct ff_effect * old,struct ff_effect * new) need_core() argument 334 iforce_upload_periodic(struct iforce * iforce,struct ff_effect * effect,struct ff_effect * old) iforce_upload_periodic() argument 405 iforce_upload_constant(struct iforce * iforce,struct ff_effect * effect,struct ff_effect * old) iforce_upload_constant() argument 461 iforce_upload_condition(struct iforce * iforce,struct ff_effect * effect,struct ff_effect * old) iforce_upload_condition() argument [all...] |
/linux/arch/loongarch/kernel/ |
H A D | ftrace_dyn.c | 15 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, bool validate) in ftrace_modify_code() argument 119 u32 old, new; in ftrace_modify_call() local 171 u32 old, new; in ftrace_init_nop() local 183 u32 old, new; in ftrace_make_call() local 199 u32 old, new; ftrace_make_nop() local 227 unsigned long old; prepare_ftrace_return() local 246 unsigned long old; ftrace_graph_func() local [all...] |
/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() argument 177 #define arch_cmpxchg_local(ptr, old, new) \ argument 184 arch_cmpxchg(ptr,old,new) global() argument 229 __cmpxchg64(volatile void * ptr,unsigned long long old,unsigned long long new) __cmpxchg64() argument [all...] |
/linux/arch/arm/kernel/ |
H A D | ftrace.c | 98 static int ftrace_modify_code(unsigned long pc, unsigned long old, in ftrace_modify_code() argument 147 unsigned long new, old; in ftrace_make_call() local 174 unsigned long new, old; in ftrace_modify_call() local 191 unsigned long old; ftrace_make_nop() local 232 unsigned long old; prepare_ftrace_return() local 288 unsigned long old = enable ? nop : branch; __ftrace_modify_caller() local [all...] |
/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() argument 163 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, unsigned int size) in __cmpxchg() argument 185 arch_cmpxchg_local(ptr,old,new) global() argument 192 arch_cmpxchg(ptr,old,new) global() argument [all...] |
/linux/arch/arm64/kernel/ |
H A D | ftrace.c | 213 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code() argument 389 u32 old, new; in ftrace_make_call() local 410 u32 old, new; in ftrace_modify_call() local 456 u32 old, ne in ftrace_init_nop() local 478 u32 old = 0, new; ftrace_make_nop() local 524 unsigned long old; prepare_ftrace_return() local 549 unsigned long old; ftrace_graph_func() local [all...] |
/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 [all...] |
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/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() argument 192 safesetid_task_fix_setuid(struct cred * new,const struct cred * old,int flags) safesetid_task_fix_setuid() argument 216 safesetid_task_fix_setgid(struct cred * new,const struct cred * old,int flags) safesetid_task_fix_setgid() argument 239 safesetid_task_fix_setgroups(struct cred * new,const struct cred * old) safesetid_task_fix_setgroups() argument [all...] |
/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/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; ftrace_make_call() local 318 unsigned long old; prepare_ftrace_return() local [all...] |
/linux/arch/sparc/include/asm/ |
H A D | cmpxchg_64.h | 11 __cmpxchg_u32(volatile int *m, int old, int new) in __cmpxchg_u32() argument 115 __cmpxchg_u64(volatile long *m, unsigned long old, unsigned long new) in __cmpxchg_u64() argument 131 __cmpxchg_u8(volatile unsigned char *m, unsigned char old, unsigned char new) in __cmpxchg_u8() argument 157 __cmpxchg(volatile void *ptr, unsigned long old, unsigne argument 185 __cmpxchg_local(volatile void * ptr,unsigned long old,unsigned long new,int size) __cmpxchg_local() argument [all...] |
/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/s390/mm/ |
H A D | pgtable.c | 83 pte_t old; in ptep_flush_direct() local 102 pte_t old; in ptep_flush_lazy() local 252 ptep_xchg_commit(struct mm_struct * mm,unsigned long addr,pte_t * ptep,pgste_t pgste,pte_t old,pte_t new) ptep_xchg_commit() argument 275 pte_t old; ptep_xchg_direct() local 317 pte_t old; ptep_xchg_lazy() local 334 pte_t old; ptep_modify_prot_start() local 400 pmd_t old; pmdp_flush_direct() local 418 pmd_t old; pmdp_flush_lazy() local 474 pmd_t old; pmdp_xchg_direct() local 487 pmd_t old; pmdp_xchg_lazy() local 526 pud_t old; pudp_flush_direct() local 544 pud_t old; pudp_xchg_direct() local 797 pgste_t old, new; set_guest_storage_key() local 907 pgste_t old, new; reset_guest_reference_bit() local [all...] |
/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() argument 143 ____cmpxchg_u16(volatile short *m, unsigned short old, unsigned short new) in ____cmpxchg_u16() argument 169 ____cmpxchg_u32(volatile int *m, int old, int new) in ____cmpxchg_u32() argument 191 ____cmpxchg_u64(volatile long *m, unsigned long old, unsigned long new) in ____cmpxchg_u64() argument 217 ____cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in ____cmpxchg() argument [all...] |