/linux-6.12.1/arch/x86/include/asm/ |
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 221 #define __try_cmpxchg(ptr, pold, new, size) \ argument 224 #define __sync_try_cmpxchg(ptr, pold, new, size) \ argument 227 #define __try_cmpxchg_local(ptr, pold, new, size) \ argument [all …]
|
D | cmpxchg_32.h | 32 static __always_inline u64 __cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64() 37 static __always_inline u64 __cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64_local() 62 static __always_inline bool __try_cmpxchg64(volatile u64 *ptr, u64 *oldp, u64 new) in __try_cmpxchg64() 67 static __always_inline bool __try_cmpxchg64_local(volatile u64 *ptr, u64 *oldp, u64 new) in __try_cmpxchg64_local() 104 static __always_inline u64 arch_cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in arch_cmpxchg64() 110 static __always_inline u64 arch_cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in arch_cmpxchg64_local() 137 static __always_inline bool arch_try_cmpxchg64(volatile u64 *ptr, u64 *oldp, u64 new) in arch_try_cmpxchg64() 143 static __always_inline bool arch_try_cmpxchg64_local(volatile u64 *ptr, u64 *oldp, u64 new) in arch_try_cmpxchg64_local()
|
D | cmpxchg_64.h | 50 static __always_inline u128 arch_cmpxchg128(volatile u128 *ptr, u128 old, u128 new) in arch_cmpxchg128() 56 static __always_inline u128 arch_cmpxchg128_local(volatile u128 *ptr, u128 old, u128 new) in arch_cmpxchg128_local() 82 static __always_inline bool arch_try_cmpxchg128(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128() 88 static __always_inline bool arch_try_cmpxchg128_local(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128_local()
|
/linux-6.12.1/kernel/ |
D | cred.c | 175 struct cred *new; in cred_alloc_blank() local 210 struct cred *new; in prepare_creds() local 259 struct cred *new; in prepare_exec_creds() local 292 struct cred *new; in copy_creds() local 392 int commit_creds(struct cred *new) in commit_creds() 469 void abort_creds(struct cred *new) in abort_creds() 486 const struct cred *override_creds(const struct cred *new) in override_creds() 583 int set_cred_ucounts(struct cred *new) in set_cred_ucounts() 632 struct cred *new; in prepare_kernel_cred() local 688 int set_security_override(struct cred *new, u32 secid) in set_security_override() [all …]
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | cmpxchg.h | 283 __cmpxchg_u8(volatile unsigned char *p, unsigned long old, unsigned long new) in __cmpxchg_u8() 306 unsigned long new) 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() 386 unsigned long new) 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() 468 unsigned long new) in __cmpxchg_u32_local() [all …]
|
/linux-6.12.1/lib/ |
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() 553 void rb_replace_node(struct rb_node *victim, struct rb_node *new, in rb_replace_node() 570 void rb_replace_node_rcu(struct rb_node *victim, struct rb_node *new, in rb_replace_node_rcu()
|
/linux-6.12.1/tools/lib/ |
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() 424 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {} in dummy_copy() 425 static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {} in dummy_rotate() 454 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert_augmented() 545 void rb_replace_node(struct rb_node *victim, struct rb_node *new, in rb_replace_node()
|
/linux-6.12.1/arch/sparc/kernel/ |
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-6.12.1/arch/s390/include/asm/ |
D | atomic_ops.h | 172 static __always_inline int __atomic_cmpxchg(int *ptr, int old, int new) in __atomic_cmpxchg() 182 static __always_inline long __atomic64_cmpxchg(long *ptr, long old, long new) in __atomic64_cmpxchg() 195 static __always_inline bool __atomic_cmpxchg_bool(int *ptr, int old, int new) in __atomic_cmpxchg_bool() 207 static __always_inline bool __atomic64_cmpxchg_bool(long *ptr, long old, long new) in __atomic64_cmpxchg_bool() 221 static __always_inline bool __atomic_cmpxchg_bool(int *ptr, int old, int new) in __atomic_cmpxchg_bool() 233 static __always_inline bool __atomic64_cmpxchg_bool(long *ptr, long old, long new) in __atomic64_cmpxchg_bool()
|
/linux-6.12.1/security/keys/ |
D | process_keys.c | 221 int install_thread_keyring_to_cred(struct cred *new) in install_thread_keyring_to_cred() 246 struct cred *new; in install_thread_keyring() local 268 int install_process_keyring_to_cred(struct cred *new) in install_process_keyring_to_cred() 293 struct cred *new; in install_process_keyring() local 358 struct cred *new; in install_session_keyring() local 840 struct cred *new; in join_session_keyring() local 914 struct cred *new = container_of(twork, struct cred, rcu); in key_change_session_keyring() local
|
/linux-6.12.1/arch/mips/include/asm/ |
D | cmpxchg.h | 112 #define __cmpxchg_asm(ld, st, m, old, new) \ argument 153 unsigned long new, unsigned int size) in __cmpxchg() 177 #define arch_cmpxchg_local(ptr, old, new) \ argument 184 #define arch_cmpxchg(ptr, old, new) \ argument 230 unsigned long long new) in __cmpxchg64()
|
/linux-6.12.1/arch/arm/kernel/ |
D | ftrace.c | 99 unsigned long new, bool validate) in ftrace_modify_code() 125 unsigned long new; in ftrace_update_ftrace_func() local 147 unsigned long new, old; in ftrace_make_call() local 174 unsigned long new, old; in ftrace_modify_call() local 192 unsigned long new; in ftrace_make_nop() local 289 unsigned long new = enable ? branch : nop; in __ftrace_modify_caller() local
|
/linux-6.12.1/include/linux/atomic/ |
D | atomic-instrumented.h | 1116 atomic_xchg(atomic_t *v, int new) in atomic_xchg() 1135 atomic_xchg_acquire(atomic_t *v, int new) in atomic_xchg_acquire() 1153 atomic_xchg_release(atomic_t *v, int new) in atomic_xchg_release() 1172 atomic_xchg_relaxed(atomic_t *v, int new) in atomic_xchg_relaxed() 1192 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() 1213 atomic_cmpxchg_acquire(atomic_t *v, int old, int new) in atomic_cmpxchg_acquire() 1233 atomic_cmpxchg_release(atomic_t *v, int old, int new) in atomic_cmpxchg_release() 1254 atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) in atomic_cmpxchg_relaxed() 1275 atomic_try_cmpxchg(atomic_t *v, int *old, int new) in atomic_try_cmpxchg() 1298 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire() [all …]
|
D | atomic-long.h | 1276 raw_atomic_long_xchg(atomic_long_t *v, long new) in raw_atomic_long_xchg() 1297 raw_atomic_long_xchg_acquire(atomic_long_t *v, long new) in raw_atomic_long_xchg_acquire() 1318 raw_atomic_long_xchg_release(atomic_long_t *v, long new) in raw_atomic_long_xchg_release() 1339 raw_atomic_long_xchg_relaxed(atomic_long_t *v, long new) in raw_atomic_long_xchg_relaxed() 1362 raw_atomic_long_cmpxchg(atomic_long_t *v, long old, long new) in raw_atomic_long_cmpxchg() 1385 raw_atomic_long_cmpxchg_acquire(atomic_long_t *v, long old, long new) in raw_atomic_long_cmpxchg_acquire() 1408 raw_atomic_long_cmpxchg_release(atomic_long_t *v, long old, long new) in raw_atomic_long_cmpxchg_release() 1431 raw_atomic_long_cmpxchg_relaxed(atomic_long_t *v, long old, long new) in raw_atomic_long_cmpxchg_relaxed() 1455 raw_atomic_long_try_cmpxchg(atomic_long_t *v, long *old, long new) in raw_atomic_long_try_cmpxchg() 1479 raw_atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) in raw_atomic_long_try_cmpxchg_acquire() [all …]
|
D | atomic-arch-fallback.h | 1910 raw_atomic_xchg(atomic_t *v, int new) in raw_atomic_xchg() 1937 raw_atomic_xchg_acquire(atomic_t *v, int new) in raw_atomic_xchg_acquire() 1964 raw_atomic_xchg_release(atomic_t *v, int new) in raw_atomic_xchg_release() 1990 raw_atomic_xchg_relaxed(atomic_t *v, int new) in raw_atomic_xchg_relaxed() 2015 raw_atomic_cmpxchg(atomic_t *v, int old, int new) in raw_atomic_cmpxchg() 2044 raw_atomic_cmpxchg_acquire(atomic_t *v, int old, int new) in raw_atomic_cmpxchg_acquire() 2073 raw_atomic_cmpxchg_release(atomic_t *v, int old, int new) in raw_atomic_cmpxchg_release() 2101 raw_atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) in raw_atomic_cmpxchg_relaxed() 2127 raw_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in raw_atomic_try_cmpxchg() 2161 raw_atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in raw_atomic_try_cmpxchg_acquire() [all …]
|
/linux-6.12.1/arch/csky/include/asm/ |
D | cmpxchg.h | 11 #define __xchg_relaxed(new, ptr, size) \ argument 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-6.12.1/arch/loongarch/kernel/ |
D | ftrace_dyn.c | 15 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, bool validate) in ftrace_modify_code() 120 u32 old, new; in ftrace_modify_call() local 140 u32 new; in ftrace_update_ftrace_func() local 172 u32 old, new; in ftrace_init_nop() local 184 u32 old, new; in ftrace_make_call() local 200 u32 old, new; in ftrace_make_nop() local
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | cmpxchg.h | 95 #define __cmpxchg_asm(ld, st, m, old, new) \ argument 115 unsigned int new, unsigned int size) 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.12.1/arch/sparc/include/asm/ |
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() 186 unsigned long new, int size) in __cmpxchg_local()
|
/linux-6.12.1/tools/arch/x86/include/asm/ |
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-6.12.1/security/ |
D | commoncap.c | 243 int cap_capset(struct cred *new, in cap_capset() 592 struct cred *new = bprm->cred; in bprm_caps_from_vfs_caps() local 793 struct cred *new = bprm->cred; in handle_privileged_root() local 830 static inline bool __is_setuid(struct cred *new, const struct cred *old) in __is_setuid() 833 static inline bool __is_setgid(struct cred *new, const struct cred *old) in __is_setgid() 853 static inline bool nonroot_raised_pE(struct cred *new, const struct cred *old, in nonroot_raised_pE() 890 struct cred *new = bprm->cred; in cap_bprm_creds_from_file() local 1085 static inline void cap_emulate_setxuid(struct cred *new, const struct cred *old) in cap_emulate_setxuid() 1124 int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags) in cap_task_fix_setuid() 1237 struct cred *new; in cap_prctl_drop() local [all …]
|
/linux-6.12.1/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
|
/linux-6.12.1/arch/arm64/kernel/ |
D | ftrace.c | 150 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code() 182 u32 new; in ftrace_update_ftrace_func() local 327 u32 old, new; in ftrace_make_call() local 348 u32 old, new; in ftrace_modify_call() local 394 u32 old, new; in ftrace_init_nop() local 416 u32 old = 0, new; in ftrace_make_nop() local
|
/linux-6.12.1/arch/alpha/include/asm/ |
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-6.12.1/arch/s390/mm/ |
D | pageattr.c | 59 static void pgt_set(unsigned long *old, unsigned long new, unsigned long addr, in pgt_set() 89 pte_t *ptep, new; in walk_pte_level() local 126 pmd_t new; in split_pmd_page() local 154 pmd_t new = *pmdp; in modify_pmd_page() local 215 pud_t new; in split_pud_page() local 243 pud_t new = *pudp; in modify_pud_page() local
|