Home
last modified time | relevance | path

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

12345678910>>...39

/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.c175 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 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()
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 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/loongarch/include/asm/
H A Dcmpxchg.h95 #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/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/security/
H A Dcommoncap.c271 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/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/arch/arm64/kernel/
H A Dftrace.c213 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 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/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/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/tools/include/nolibc/
H A Dsys.h250 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...]

12345678910>>...39