/linux/kernel/ |
H A 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() 533 int set_cred_ucounts(struct cred *new) in set_cred_ucounts() 582 struct cred *new; in prepare_kernel_cred() local 638 int set_security_override(struct cred *new, u32 secid) in set_security_override() 654 int set_security_override_from_ctx(struct cred *new, const char *secctx) in set_security_override_from_ctx() [all …]
|
/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() 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/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() 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/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, struct rb_node *new)) in __rb_erase_color() argument 424 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {} in 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 545 rb_replace_node(struct rb_node * victim,struct rb_node * new,struct rb_root * root) rb_replace_node() argument [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() 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/testing/selftests/bpf/ |
H A D | bpf_atomic.h | 47 #define cmpxchg(p, old, new) __sync_val_compare_and_swap((p), old, new) argument 49 #define try_cmpxchg(p, pold, new) \ argument 58 #define try_cmpxchg_relaxed(p, pold, new) try_cmpxchg(p, pold, new) argument 60 #define try_cmpxchg_acquire(p, pold, new) try_cmpxchg(p, pold, new) argument 134 #define atomic_try_cmpxchg_relaxed(p, pold, new) \ argument 137 #define atomic_try_cmpxchg_acquire(p, pold, new) \ argument
|
/linux/security/keys/ |
H 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/rust/helpers/ |
H A D | atomic.c | 380 rust_helper_atomic_xchg(atomic_t *v, int new) in rust_helper_atomic_xchg() 386 rust_helper_atomic_xchg_acquire(atomic_t *v, int new) in rust_helper_atomic_xchg_acquire() 392 rust_helper_atomic_xchg_release(atomic_t *v, int new) in rust_helper_atomic_xchg_release() 398 rust_helper_atomic_xchg_relaxed(atomic_t *v, int new) in rust_helper_atomic_xchg_relaxed() 404 rust_helper_atomic_cmpxchg(atomic_t *v, int old, int new) in rust_helper_atomic_cmpxchg() 410 rust_helper_atomic_cmpxchg_acquire(atomic_t *v, int old, int new) in rust_helper_atomic_cmpxchg_acquire() 416 rust_helper_atomic_cmpxchg_release(atomic_t *v, int old, int new) in rust_helper_atomic_cmpxchg_release() 422 rust_helper_atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) in rust_helper_atomic_cmpxchg_relaxed() 428 rust_helper_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in rust_helper_atomic_try_cmpxchg() 434 rust_helper_atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in rust_helper_atomic_try_cmpxchg_acquire() [all …]
|
/linux/arch/mips/include/asm/ |
H A 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/arch/csky/include/asm/ |
H A 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/arch/loongarch/include/asm/ |
H A 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/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() 186 unsigned long new, int size) in __cmpxchg_local()
|
/linux/security/ |
H A D | commoncap.c | 271 cap_capset(struct cred * new,const struct cred * old,const kernel_cap_t * effective,const kernel_cap_t * inheritable,const kernel_cap_t * permitted) cap_capset() argument 620 struct cred *new = bprm->cred; bprm_caps_from_vfs_caps() local 821 struct cred *new = bprm->cred; handle_privileged_root() local 858 __is_setuid(struct cred * new,const struct cred * old) __is_setuid() argument 861 __is_setgid(struct cred * new,const struct cred * old) __is_setgid() argument 881 nonroot_raised_pE(struct cred * new,const struct cred * old,kuid_t root,bool has_fcap) nonroot_raised_pE() argument 918 struct cred *new = bprm->cred; cap_bprm_creds_from_file() local 1113 cap_emulate_setxuid(struct cred * new,const struct cred * old) cap_emulate_setxuid() argument 1152 cap_task_fix_setuid(struct cred * new,const struct cred * old,int flags) cap_task_fix_setuid() argument 1265 struct cred *new; cap_prctl_drop() local 1298 struct cred *new; cap_task_prctl() local [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/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/arm64/kernel/ |
H A D | ftrace.c | 213 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code() 245 u32 new; in ftrace_update_ftrace_func() local 396 u32 old, new; in ftrace_make_call() local 417 u32 old, new; in ftrace_modify_call() local 463 u32 old, new; in ftrace_init_nop() local 485 u32 old = 0, new; in ftrace_make_nop() local
|
/linux/mm/ |
H A D | vma_init.c | 82 struct vm_area_struct *new) in vma_pfnmap_track_ctx_dup() 112 struct vm_area_struct *new) in vma_pfnmap_track_ctx_dup() 123 struct vm_area_struct *new = kmem_cache_alloc(vm_area_cachep, GFP_KERNEL); in vm_area_dup() local
|
/linux/arch/s390/lib/ |
H A D | uaccess.c | 154 unsigned int old, unsigned int new, in __cmpxchg_user_key_small() 208 unsigned char old, unsigned char new, unsigned long key) in __cmpxchg_user_key1() 225 unsigned short old, unsigned short new, unsigned long key) in __cmpxchg_user_key2() 242 unsigned int old, unsigned int new, unsigned long key) in __cmpxchg_user_key4() 274 unsigned long old, unsigned long new, unsigned long key) in __cmpxchg_user_key8() 306 __uint128_t old, __uint128_t new, unsigned long key) in __cmpxchg_user_key16()
|
/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/nolibc/ |
H A D | sys.h | 250 return my_syscall3(__NR_dup3, old, new, 0); in dup2() argument 238 sys_dup2(int old,int new) sys_dup2() argument 262 sys_dup3(int old,int new,int flags) 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/kernel/printk/ |
H A D | nbcon.c | 129 static inline void nbcon_state_set(struct console *con, struct nbcon_state *new) in nbcon_state_set() 153 struct nbcon_state *new) in nbcon_state_try_cmpxchg() 244 struct nbcon_state new; in nbcon_context_try_acquire_direct() local 349 struct nbcon_state new; in nbcon_context_try_acquire_requested() local 432 struct nbcon_state new; in nbcon_context_try_acquire_handover() local 548 struct nbcon_state new; in nbcon_context_try_acquire_hostile() local 675 struct nbcon_state new; in nbcon_context_release() local 829 struct nbcon_state new; in __nbcon_context_update_unsafe() local
|
/linux/arch/sh/kernel/ |
H A D | ftrace.c | 105 int new = old & ~MOD_CODE_WRITE_FLAG; 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
|
/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_misc.h | 52 static inline void __sym_que_add(struct sym_quehead * new, in __sym_que_add() 113 #define sym_insque(new, pos) __sym_que_add(new, pos, (pos)->flink) argument 117 #define sym_insque_head(new, head) __sym_que_add(new, head, (head)->flink) argument 130 #define sym_insque_tail(new, head) __sym_que_add(new, (head)->blink, head) argument
|
/linux/security/apparmor/ |
H A D | label.c | 62 struct aa_proxy *new; in aa_alloc_proxy() local 73 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new) in __aa_proxy_redirect() 88 static void __proxy_share(struct aa_label *old, struct aa_label *new) in __proxy_share() 201 static void accum_label_info(struct aa_label *new) in accum_label_info() 396 static void label_free_or_put_new(struct aa_label *label, struct aa_label *new) in label_free_or_put_new() 432 struct aa_label *new; in aa_label_alloc() local 599 static bool __label_remove(struct aa_label *label, struct aa_label *new) in __label_remove() 635 static bool __label_replace(struct aa_label *old, struct aa_label *new) in __label_replace() 675 struct rb_node **new, *parent = NULL; in __label_insert() local 803 bool aa_label_replace(struct aa_label *old, struct aa_label *new) in aa_label_replace() [all …]
|