Home
last modified time | relevance | path

Searched defs:new (Results 1 – 25 of 911) sorted by relevance

12345678910>>...37

/linux/arch/x86/include/asm/
H A Dcmpxchg.h85 #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
217 #define __try_cmpxchg(ptr, pold, new, size) \ argument
220 #define __sync_try_cmpxchg(ptr, pold, new, size) \ argument
223 #define __try_cmpxchg_local(ptr, pold, new, size) \ argument
[all …]
H A Dcmpxchg_32.h32 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()
61 static __always_inline bool __try_cmpxchg64(volatile u64 *ptr, u64 *oldp, u64 new) in __try_cmpxchg64()
66 static __always_inline bool __try_cmpxchg64_local(volatile u64 *ptr, u64 *oldp, u64 new) in __try_cmpxchg64_local()
105 static __always_inline u64 arch_cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in arch_cmpxchg64()
111 static __always_inline u64 arch_cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in arch_cmpxchg64_local()
139 static __always_inline bool arch_try_cmpxchg64(volatile u64 *ptr, u64 *oldp, u64 new) in arch_try_cmpxchg64()
145 static __always_inline bool arch_try_cmpxchg64_local(volatile u64 *ptr, u64 *oldp, u64 new) in arch_try_cmpxchg64_local()
H A Dcmpxchg_64.h50 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()
81 static __always_inline bool arch_try_cmpxchg128(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128()
87 static __always_inline bool arch_try_cmpxchg128_local(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128_local()
/linux/kernel/
H A Dcred.c148 struct cred *new; in cred_alloc_blank() local
183 struct cred *new; in prepare_creds() local
232 struct cred *new; in prepare_exec_creds() local
265 struct cred *new; in copy_creds() local
368 int commit_creds(struct cred *new) in commit_creds()
448 void abort_creds(struct cred *new) in abort_creds()
512 int set_cred_ucounts(struct cred *new) in set_cred_ucounts()
561 struct cred *new; in prepare_kernel_cred() local
617 int set_security_override(struct cred *new, u32 secid) in set_security_override()
633 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 Dcmpxchg.h283 __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/arch/s390/include/asm/
H A Dcmpxchg.h18 static __always_inline u32 __cs_asm(u64 ptr, u32 old, u32 new) in __cs_asm()
28 static __always_inline u64 __csg_asm(u64 ptr, u64 old, u64 new) in __csg_asm()
38 static inline u8 __arch_cmpxchg1(u64 ptr, u8 old, u8 new) in __arch_cmpxchg1()
61 static inline u16 __arch_cmpxchg2(u64 ptr, u16 old, u16 new) in __arch_cmpxchg2()
84 static __always_inline u64 __arch_cmpxchg(u64 ptr, u64 old, u64 new, int size) in __arch_cmpxchg()
110 #define arch_try_cmpxchg(ptr, oldp, new) \ argument
155 #define arch_try_cmpxchg(ptr, oldp, new) \ argument
179 u32 mask, old, new; in __arch_xchg1() local
194 u32 mask, old, new; in __arch_xchg2() local
241 static __always_inline u128 arch_cmpxchg128(volatile u128 *ptr, u128 old, u128 new) in arch_cmpxchg128()
[all …]
/linux/lib/
H A Drbtree.c75 __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()
524 void rb_replace_node(struct rb_node *victim, struct rb_node *new, in rb_replace_node()
541 void rb_replace_node_rcu(struct rb_node *victim, struct rb_node *new, in rb_replace_node_rcu()
/linux/tools/lib/
H A Drbtree.c75 __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 Dftrace.c26 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 Dbpf_atomic.h47 #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 Dprocess_keys.c221 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 Datomic.c380 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 Dcmpxchg.h112 #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 Dcmpxchg.h11 #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 Dcmpxchg.h121 #define __cmpxchg_asm(ld, st, m, old, new) \ argument
141 unsigned int new, unsigned int size) in __cmpxchg_small()
189 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, unsigned int size) in __cmpxchg()
211 #define arch_cmpxchg_local(ptr, old, new) \ argument
218 #define arch_cmpxchg(ptr, old, new) \ argument
/linux/arch/sparc/include/asm/
H A Dcmpxchg_64.h11 __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/tools/arch/x86/include/asm/
H A Dcmpxchg.h35 #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 Dcmpxchg.h22 #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 Dcmpxchg.h117 ____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/mm/
H A Dvma_init.c82 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/tools/include/nolibc/
H A Dsys.h247 int sys_dup2(int old, int new) in sys_dup2()
270 int dup2(int old, int new) in dup2()
282 int sys_dup3(int old, int new, int flags) in sys_dup3()
288 int dup3(int old, int new, int flags) in dup3()
585 int sys_link(const char *old, const char *new) in sys_link()
595 int link(const char *old, const char *new) in link()
723 int sys_pivot_root(const char *new, const char *old) in sys_pivot_root()
729 int pivot_root(const char *new, const char *old) in pivot_root()
818 int sys_symlink(const char *old, const char *new) in sys_symlink()
828 int symlink(const char *old, const char *new) in symlink()
/linux/arch/s390/lib/
H A Duaccess.c154 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/arch/s390/mm/
H A Dpageattr.c61 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
124 pmd_t new; in split_pmd_page() local
152 pmd_t new = *pmdp; in modify_pmd_page() local
211 pud_t new; in split_pud_page() local
239 pud_t new = *pudp; in modify_pud_page() local
/linux/sound/soc/sof/
H A Dops.c19 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/security/
H A Dcommoncap.c272 int cap_capset(struct cred *new, in cap_capset()
631 struct cred *new = bprm->cred; in bprm_caps_from_vfs_caps() local
832 struct cred *new = bprm->cred; in handle_privileged_root() local
886 static inline bool nonroot_raised_pE(struct cred *new, const struct cred *old, in nonroot_raised_pE()
923 struct cred *new = bprm->cred; in cap_bprm_creds_from_file() local
1120 static inline void cap_emulate_setxuid(struct cred *new, const struct cred *old) in cap_emulate_setxuid()
1159 int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags) in cap_task_fix_setuid()
1272 struct cred *new; in cap_prctl_drop() local
1305 struct cred *new; in cap_task_prctl() local

12345678910>>...37