Home
last modified time | relevance | path

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

12345678910>>...44

/Linux-v6.6/arch/x86/include/asm/
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
221 #define __try_cmpxchg(ptr, pold, new, size) \ argument
224 #define __try_cmpxchg_local(ptr, pold, new, size) \ argument
227 #define arch_try_cmpxchg(ptr, pold, new) \ argument
[all …]
Dcmpxchg_64.h44 static __always_inline u128 arch_cmpxchg128(volatile u128 *ptr, u128 old, u128 new) in arch_cmpxchg128()
50 static __always_inline u128 arch_cmpxchg128_local(volatile u128 *ptr, u128 old, u128 new) in arch_cmpxchg128_local()
76 static __always_inline bool arch_try_cmpxchg128(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128()
82 static __always_inline bool arch_try_cmpxchg128_local(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128_local()
/Linux-v6.6/arch/powerpc/include/asm/
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-v6.6/kernel/
Dcred.c221 struct cred *new; in cred_alloc_blank() local
259 struct cred *new; in prepare_creds() local
312 struct cred *new; in prepare_exec_creds() local
345 struct cred *new; in copy_creds() local
450 int commit_creds(struct cred *new) in commit_creds()
536 void abort_creds(struct cred *new) in abort_creds()
557 const struct cred *override_creds(const struct cred *new) in override_creds()
669 int set_cred_ucounts(struct cred *new) in set_cred_ucounts()
718 struct cred *new; in prepare_kernel_cred() local
777 int set_security_override(struct cred *new, u32 secid) in set_security_override()
[all …]
/Linux-v6.6/lib/
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-v6.6/tools/lib/
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()
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-v6.6/arch/sparc/kernel/
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-v6.6/arch/riscv/include/asm/
Dcmpxchg.h14 #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 __arch_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-v6.6/security/keys/
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-v6.6/arch/ia64/include/asm/
Dbitops.h42 __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-v6.6/arch/mips/include/asm/
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-v6.6/arch/arm/kernel/
Dftrace.c99 unsigned long new, bool validate) in ftrace_modify_code()
125 unsigned long new; in ftrace_update_ftrace_func() local
147 unsigned long new, old; in ftrace_make_call() local
174 unsigned long new, old; in ftrace_modify_call() local
192 unsigned long new; in ftrace_make_nop() local
276 unsigned long new = enable ? branch : nop; in __ftrace_modify_caller() local
/Linux-v6.6/include/linux/atomic/
Datomic-instrumented.h1116 atomic_xchg(atomic_t *v, int new) in atomic_xchg()
1135 atomic_xchg_acquire(atomic_t *v, int new) in atomic_xchg_acquire()
1153 atomic_xchg_release(atomic_t *v, int new) in atomic_xchg_release()
1172 atomic_xchg_relaxed(atomic_t *v, int new) in atomic_xchg_relaxed()
1191 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg()
1211 atomic_cmpxchg_acquire(atomic_t *v, int old, int new) in atomic_cmpxchg_acquire()
1230 atomic_cmpxchg_release(atomic_t *v, int old, int new) in atomic_cmpxchg_release()
1250 atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) in atomic_cmpxchg_relaxed()
1270 atomic_try_cmpxchg(atomic_t *v, int *old, int new) in atomic_try_cmpxchg()
1292 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) in atomic_try_cmpxchg_acquire()
[all …]
Datomic-long.h1276 raw_atomic_long_xchg(atomic_long_t *v, long new) in raw_atomic_long_xchg()
1297 raw_atomic_long_xchg_acquire(atomic_long_t *v, long new) in raw_atomic_long_xchg_acquire()
1318 raw_atomic_long_xchg_release(atomic_long_t *v, long new) in raw_atomic_long_xchg_release()
1339 raw_atomic_long_xchg_relaxed(atomic_long_t *v, long new) in raw_atomic_long_xchg_relaxed()
1361 raw_atomic_long_cmpxchg(atomic_long_t *v, long old, long new) in raw_atomic_long_cmpxchg()
1383 raw_atomic_long_cmpxchg_acquire(atomic_long_t *v, long old, long new) in raw_atomic_long_cmpxchg_acquire()
1405 raw_atomic_long_cmpxchg_release(atomic_long_t *v, long old, long new) in raw_atomic_long_cmpxchg_release()
1427 raw_atomic_long_cmpxchg_relaxed(atomic_long_t *v, long old, long new) in raw_atomic_long_cmpxchg_relaxed()
1450 raw_atomic_long_try_cmpxchg(atomic_long_t *v, long *old, long new) in raw_atomic_long_try_cmpxchg()
1473 raw_atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) in raw_atomic_long_try_cmpxchg_acquire()
[all …]
/Linux-v6.6/arch/csky/include/asm/
Dcmpxchg.h10 #define __xchg_relaxed(new, ptr, size) \ argument
56 #define __cmpxchg_relaxed(ptr, old, new, size) \ argument
86 #define __cmpxchg_acquire(ptr, old, new, size) \ argument
117 #define __cmpxchg(ptr, old, new, size) \ argument
/Linux-v6.6/arch/loongarch/include/asm/
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-v6.6/arch/sparc/lib/
Datomic32.c70 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-v6.6/arch/loongarch/kernel/
Dftrace_dyn.c15 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, bool validate) in ftrace_modify_code()
120 u32 old, new; in ftrace_modify_call() local
140 u32 new; in ftrace_update_ftrace_func() local
172 u32 old, new; in ftrace_init_nop() local
184 u32 old, new; in ftrace_make_call() local
200 u32 old, new; in ftrace_make_nop() local
/Linux-v6.6/arch/sparc/include/asm/
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-v6.6/tools/arch/x86/include/asm/
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-v6.6/arch/arc/include/asm/
Dcmpxchg.h21 #define __cmpxchg(ptr, old, new) \ argument
41 #define arch_cmpxchg_relaxed(ptr, old, new) \ argument
60 #define arch_cmpxchg(ptr, old, new) \ argument
/Linux-v6.6/arch/s390/include/asm/
Datomic_ops.h157 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-v6.6/security/
Dcommoncap.c242 int cap_capset(struct cred *new, in cap_capset()
591 struct cred *new = bprm->cred; in bprm_caps_from_vfs_caps() local
792 struct cred *new = bprm->cred; in handle_privileged_root() local
829 static inline bool __is_setuid(struct cred *new, const struct cred *old) in __is_setuid()
832 static inline bool __is_setgid(struct cred *new, const struct cred *old) in __is_setgid()
852 static inline bool nonroot_raised_pE(struct cred *new, const struct cred *old, in nonroot_raised_pE()
889 struct cred *new = bprm->cred; in cap_bprm_creds_from_file() local
1084 static inline void cap_emulate_setxuid(struct cred *new, const struct cred *old) in cap_emulate_setxuid()
1123 int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags) in cap_task_fix_setuid()
1236 struct cred *new; in cap_prctl_drop() local
[all …]
/Linux-v6.6/arch/arm64/kernel/
Dftrace.c150 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code()
182 u32 new; in ftrace_update_ftrace_func() local
327 u32 old, new; in ftrace_make_call() local
348 u32 old, new; in ftrace_modify_call() local
394 u32 old, new; in ftrace_init_nop() local
416 u32 old = 0, new; in ftrace_make_nop() local
/Linux-v6.6/arch/alpha/include/asm/
Dxchg.h129 ____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()

12345678910>>...44