/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 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 …]
|
H A 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/kernel/ |
H A D | cred.c | 175 struct cred *new; in cred_alloc_blank() local 210 struct cred *new; prepare_creds() local 259 struct cred *new; prepare_exec_creds() local 292 struct cred *new; copy_creds() local 392 commit_creds(struct cred * new) commit_creds() argument 469 abort_creds(struct cred * new) abort_creds() argument 486 override_creds(const struct cred * new) override_creds() argument 583 set_cred_ucounts(struct cred * new) set_cred_ucounts() argument 632 struct cred *new; prepare_kernel_cred() local 688 set_security_override(struct cred * new,u32 secid) set_security_override() argument 704 set_security_override_from_ctx(struct cred * new,const char * secctx) set_security_override_from_ctx() argument 726 set_create_files_as(struct cred * new,struct inode * inode) set_create_files_as() argument [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/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/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 | 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/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/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/kernel/printk/ |
H A D | nbcon.c | 128 static inline void nbcon_state_set(struct console *con, struct nbcon_state *new) in nbcon_state_set() 152 struct nbcon_state *new) in nbcon_state_try_cmpxchg() 242 struct nbcon_state new; in nbcon_context_try_acquire_direct() local 340 struct nbcon_state new; in nbcon_context_try_acquire_requested() local 423 struct nbcon_state new; in nbcon_context_try_acquire_handover() local 529 struct nbcon_state new; in nbcon_context_try_acquire_hostile() local 656 struct nbcon_state new; in nbcon_context_release() local 810 struct nbcon_state new; in __nbcon_context_update_unsafe() local
|
/linux/drivers/android/ |
H A D | dbitmap.h | 69 dbitmap_replace(struct dbitmap *dmap, unsigned long *new, unsigned int nbits) in dbitmap_replace() 78 dbitmap_shrink(struct dbitmap *dmap, unsigned long *new, unsigned int nbits) in dbitmap_shrink() 103 dbitmap_grow(struct dbitmap *dmap, unsigned long *new, unsigned int nbits) in dbitmap_grow()
|
/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/drivers/gpu/drm/i915/gvt/ |
H A D | cfg_space.c | 73 u8 mask, new, old; in vgpu_pci_cfg_mem_write() local 149 u8 new = *(u8 *)p_data; in emulate_pci_command_write() local 171 u32 new = *(u32 *)(p_data); in emulate_pci_rom_bar_write() local 184 u32 new = *(u32 *)(p_data); in emulate_pci_bar_write() local
|
/linux/security/safesetid/ |
H A D | lsm.c | 191 static int safesetid_task_fix_setuid(struct cred *new, in safesetid_task_fix_setuid() 215 static int safesetid_task_fix_setgid(struct cred *new, 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/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() argument 88 static void __proxy_share(struct aa_label *old, struct aa_label *new) in __proxy_share() argument 392 label_free_or_put_new(struct aa_label * label,struct aa_label * new) label_free_or_put_new() argument 428 struct aa_label *new; aa_label_alloc() local 595 __label_remove(struct aa_label * label,struct aa_label * new) __label_remove() argument 631 __label_replace(struct aa_label * old,struct aa_label * new) __label_replace() argument 670 struct rb_node **new, *parent = NULL; __label_insert() local 797 aa_label_replace(struct aa_label * old,struct aa_label * new) aa_label_replace() argument 863 struct aa_label *new; vec_create_and_insert_label() local 1051 label_merge_insert(struct aa_label * new,struct aa_label * a,struct aa_label * b) label_merge_insert() argument 1238 struct aa_label *new; aa_label_merge() local 2054 struct aa_label *new, *tmp; __label_update() local [all...] |
/linux/scripts/include/ |
H A D | list.h | 63 static inline void __list_add(struct list_head *new, in __list_add() 81 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() 94 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() 138 struct list_head *new) in list_replace() 154 struct list_head *new) in list_replace_init()
|