/linux/kernel/ |
A D | cred.c | 218 struct cred *new; in cred_alloc_blank() local 256 struct cred *new; in prepare_creds() local 309 struct cred *new; in prepare_exec_creds() local 342 struct cred *new; in copy_creds() local 447 int commit_creds(struct cred *new) in commit_creds() 533 void abort_creds(struct cred *new) in abort_creds() 554 const struct cred *override_creds(const struct cred *new) in override_creds() 666 int set_cred_ucounts(struct cred *new) in set_cred_ucounts() 720 struct cred *new; in prepare_kernel_cred() local 780 int set_security_override(struct cred *new, u32 secid) in set_security_override() [all …]
|
/linux/lib/ |
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() 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/arch/x86/include/asm/ |
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 221 #define __try_cmpxchg(ptr, pold, new, size) \ argument 224 #define arch_try_cmpxchg(ptr, pold, new) \ argument
|
/linux/arch/powerpc/include/asm/ |
A D | cmpxchg.h | 216 __cmpxchg_u32(volatile unsigned int *p, unsigned long old, unsigned long new) in __cmpxchg_u32() 239 unsigned long new) in __cmpxchg_u32_local() 259 __cmpxchg_u32_relaxed(u32 *p, unsigned long old, unsigned long new) in __cmpxchg_u32_relaxed() 286 __cmpxchg_u32_acquire(u32 *p, unsigned long old, unsigned long new) in __cmpxchg_u32_acquire() 331 unsigned long new) in __cmpxchg_u64_local() 351 __cmpxchg_u64_relaxed(u64 *p, unsigned long old, unsigned long new) in __cmpxchg_u64_relaxed() 370 __cmpxchg_u64_acquire(u64 *p, unsigned long old, unsigned long new) in __cmpxchg_u64_acquire() 392 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg() 412 __cmpxchg_local(void *ptr, unsigned long old, unsigned long new, in __cmpxchg_local() 432 __cmpxchg_relaxed(void *ptr, unsigned long old, unsigned long new, in __cmpxchg_relaxed() [all …]
|
/linux/arch/sparc/kernel/ |
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/ |
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() 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/arch/riscv/include/asm/ |
A D | cmpxchg.h | 14 #define __xchg_relaxed(ptr, new, size) \ argument 47 #define __xchg_acquire(ptr, new, size) \ argument 82 #define __xchg_release(ptr, new, size) \ argument 117 #define __xchg(ptr, new, size) \ argument 166 #define __cmpxchg_relaxed(ptr, old, new, size) \ argument 210 #define __cmpxchg_acquire(ptr, old, new, size) \ argument 256 #define __cmpxchg_release(ptr, old, new, size) \ argument 302 #define __cmpxchg(ptr, old, new, size) \ argument
|
/linux/arch/arm64/kernel/ |
A D | ftrace.c | 25 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code() 57 u32 new; in ftrace_update_ftrace_func() local 86 u32 old, new; in ftrace_make_call() local 133 u32 old, new; in ftrace_modify_call() local 167 u32 old, new; in ftrace_init_nop() local 185 u32 old = 0, new; in ftrace_make_nop() local
|
/linux/security/keys/ |
A 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/arch/ia64/include/asm/ |
A D | bitops.h | 42 __u32 bit, old, new; in set_bit() local 83 __u32 mask, old, new; in clear_bit() local 107 __u32 mask, old, new; in clear_bit_unlock() local 132 __u32 const new = *m & ~(1 << (nr & 31)); in __clear_bit_unlock() local 164 __u32 bit, old, new; in change_bit() local 203 __u32 bit, old, new; in test_and_set_bit() local 257 __u32 mask, old, new; in test_and_clear_bit() local 302 __u32 bit, old, new; in test_and_change_bit() local
|
/linux/arch/arm/kernel/ |
A D | ftrace.c | 78 unsigned long new, bool validate) in ftrace_modify_code() 104 unsigned long new; in ftrace_update_ftrace_func() local 126 unsigned long new, old; in ftrace_make_call() local 153 unsigned long new, old; in ftrace_modify_call() local 171 unsigned long new; in ftrace_make_nop() local 230 unsigned long new = enable ? branch : nop; in __ftrace_modify_caller() local
|
/linux/arch/mips/include/asm/ |
A D | cmpxchg.h | 113 #define __cmpxchg_asm(ld, st, m, old, new) \ argument 154 unsigned long new, unsigned int size) in __cmpxchg() 178 #define arch_cmpxchg_local(ptr, old, new) \ argument 185 #define arch_cmpxchg(ptr, old, new) \ argument 231 unsigned long long new) in __cmpxchg64()
|
/linux/arch/arm64/include/asm/ |
A D | atomic.h | 145 #define arch_atomic_xchg_relaxed(v, new) \ argument 147 #define arch_atomic_xchg_acquire(v, new) \ argument 149 #define arch_atomic_xchg_release(v, new) \ argument 151 #define arch_atomic_xchg(v, new) \ argument 154 #define arch_atomic_cmpxchg_relaxed(v, old, new) \ argument 156 #define arch_atomic_cmpxchg_acquire(v, old, new) \ argument 158 #define arch_atomic_cmpxchg_release(v, old, new) \ argument 160 #define arch_atomic_cmpxchg(v, old, new) \ argument
|
/linux/arch/sparc/lib/ |
A D | atomic32.c | 70 int arch_atomic_xchg(atomic_t *v, int new) in arch_atomic_xchg() 83 int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() 162 unsigned long __cmpxchg_u32(volatile u32 *ptr, u32 old, u32 new) in __cmpxchg_u32() 176 u64 __cmpxchg_u64(u64 *ptr, u64 old, u64 new) in __cmpxchg_u64() 190 unsigned long __xchg_u32(volatile u32 *ptr, u32 new) in __xchg_u32()
|
/linux/arch/alpha/include/asm/ |
A D | atomic.h | 203 #define arch_atomic64_cmpxchg(v, old, new) \ in ATOMIC_OPS() argument 205 #define arch_atomic64_xchg(v, new) \ in ATOMIC_OPS() argument 208 #define arch_atomic_cmpxchg(v, old, new) \ in ATOMIC_OPS() argument 210 #define arch_atomic_xchg(v, new) \ in ATOMIC_OPS() argument 224 int c, new, old; in ATOMIC_OPS() local 256 s64 c, new, old; in arch_atomic64_fetch_add_unless() local
|
A D | xchg.h | 129 ____cmpxchg(_u8, volatile char *m, unsigned char old, unsigned char new) in ____cmpxchg() 155 ____cmpxchg(_u16, volatile short *m, unsigned short old, unsigned short new) in ____cmpxchg() 181 ____cmpxchg(_u32, volatile int *m, int old, int new) in ____cmpxchg() 203 ____cmpxchg(_u64, volatile long *m, unsigned long old, unsigned long new) in ____cmpxchg()
|
/linux/tools/arch/x86/include/asm/ |
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/security/apparmor/ |
A D | task.c | 45 struct cred *new; in aa_replace_current_label() local 118 struct cred *new; in aa_set_current_hat() local 158 struct cred *new; in aa_restore_previous_label() local
|
/linux/arch/arc/include/asm/ |
A D | cmpxchg.h | 21 #define __cmpxchg(ptr, old, new) \ argument 41 #define arch_cmpxchg_relaxed(ptr, old, new) \ argument 60 #define arch_cmpxchg(ptr, old, new) \ argument
|
/linux/arch/sparc/include/asm/ |
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() 186 unsigned long new, int size) in __cmpxchg_local()
|
/linux/arch/s390/include/asm/ |
A D | atomic_ops.h | 157 static inline int __atomic_cmpxchg(int *ptr, int old, int new) in __atomic_cmpxchg() 167 static inline bool __atomic_cmpxchg_bool(int *ptr, int old, int new) in __atomic_cmpxchg_bool() 179 static inline long __atomic64_cmpxchg(long *ptr, long old, long new) in __atomic64_cmpxchg() 189 static inline bool __atomic64_cmpxchg_bool(long *ptr, long old, long new) in __atomic64_cmpxchg_bool()
|
/linux/arch/s390/mm/ |
A D | pageattr.c | 57 static void pgt_set(unsigned long *old, unsigned long new, unsigned long addr, in pgt_set() 87 pte_t *ptep, new; in walk_pte_level() local 116 pmd_t new; in split_pmd_page() local 144 pmd_t new = *pmdp; in modify_pmd_page() local 197 pud_t new; in split_pud_page() local 225 pud_t new = *pudp; in modify_pud_page() local
|
/linux/security/ |
A D | commoncap.c | 241 int cap_capset(struct cred *new, in cap_capset() 594 struct cred *new = bprm->cred; in bprm_caps_from_vfs_caps() local 795 struct cred *new = bprm->cred; in handle_privileged_root() local 832 static inline bool __is_setuid(struct cred *new, const struct cred *old) in __is_setuid() 835 static inline bool __is_setgid(struct cred *new, const struct cred *old) in __is_setgid() 855 static inline bool nonroot_raised_pE(struct cred *new, const struct cred *old, in nonroot_raised_pE() 892 struct cred *new = bprm->cred; in cap_bprm_creds_from_file() local 1087 static inline void cap_emulate_setxuid(struct cred *new, const struct cred *old) in cap_emulate_setxuid() 1126 int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags) in cap_task_fix_setuid() 1239 struct cred *new; in cap_prctl_drop() local [all …]
|
/linux/arch/hexagon/include/asm/ |
A D | atomic.h | 17 static inline void arch_atomic_set(atomic_t *v, int new) in arch_atomic_set() 44 #define arch_atomic_xchg(v, new) (arch_xchg(&((v)->counter), (new))) argument 64 static inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg()
|
/linux/arch/parisc/lib/ |
A D | bitops.c | 59 u64 notrace __cmpxchg_u64(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg_u64() 71 unsigned long notrace __cmpxchg_u32(volatile unsigned int *ptr, unsigned int old, unsigned int new) in __cmpxchg_u32() 83 u8 notrace __cmpxchg_u8(volatile u8 *ptr, u8 old, u8 new) in __cmpxchg_u8()
|