Home
last modified time | relevance | path

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

12345678910>>...36

/Linux-v4.19/include/asm-generic/
Datomic-long.h83 #define atomic_long_cmpxchg_relaxed(l, old, new) \ argument
86 #define atomic_long_cmpxchg_acquire(l, old, new) \ argument
89 #define atomic_long_cmpxchg_release(l, old, new) \ argument
92 #define atomic_long_cmpxchg(l, old, new) \ argument
96 #define atomic_long_try_cmpxchg_relaxed(l, old, new) \ argument
99 #define atomic_long_try_cmpxchg_acquire(l, old, new) \ argument
102 #define atomic_long_try_cmpxchg_release(l, old, new) \ argument
105 #define atomic_long_try_cmpxchg(l, old, new) \ argument
110 #define atomic_long_xchg_relaxed(v, new) \ argument
112 #define atomic_long_xchg_acquire(v, new) \ argument
[all …]
Datomic-instrumented.h55 static __always_inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg()
61 static __always_inline s64 atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg()
69 static __always_inline bool atomic_try_cmpxchg(atomic_t *v, int *old, int new) in atomic_try_cmpxchg()
79 static __always_inline bool atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new) in atomic64_try_cmpxchg()
411 #define xchg(ptr, new) \ argument
418 #define cmpxchg(ptr, old, new) \ argument
425 #define sync_cmpxchg(ptr, old, new) \ argument
432 #define cmpxchg_local(ptr, old, new) \ argument
439 #define cmpxchg64(ptr, old, new) \ argument
446 #define cmpxchg64_local(ptr, old, new) \ argument
/Linux-v4.19/kernel/
Dcred.c209 struct cred *new; in cred_alloc_blank() local
248 struct cred *new; in prepare_creds() local
295 struct cred *new; in prepare_exec_creds() local
325 struct cred *new; in copy_creds() local
423 int commit_creds(struct cred *new) in commit_creds()
500 void abort_creds(struct cred *new) in abort_creds()
521 const struct cred *override_creds(const struct cred *new) in override_creds()
598 struct cred *new; in prepare_kernel_cred() local
653 int set_security_override(struct cred *new, u32 secid) in set_security_override()
669 int set_security_override_from_ctx(struct cred *new, const char *secctx) in set_security_override_from_ctx()
[all …]
/Linux-v4.19/lib/
Drbtree.c87 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, in __rb_rotate_set_parents()
99 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert()
244 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in ____rb_erase_color()
427 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_erase_color()
441 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {} in dummy_copy()
442 static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {} in dummy_rotate()
493 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert_augmented()
589 void rb_replace_node(struct rb_node *victim, struct rb_node *new, in rb_replace_node()
606 void rb_replace_node_cached(struct rb_node *victim, struct rb_node *new, in rb_replace_node_cached()
616 void rb_replace_node_rcu(struct rb_node *victim, struct rb_node *new, in rb_replace_node_rcu()
Drefcount.c63 unsigned int new, val = atomic_read(&r->refs); in refcount_add_not_zero_checked() local
120 unsigned int new, val = atomic_read(&r->refs); in refcount_inc_not_zero_checked() local
179 unsigned int new, val = atomic_read(&r->refs); in refcount_sub_and_test_checked() local
269 unsigned int new, val = atomic_read(&r->refs); in refcount_dec_not_one() local
/Linux-v4.19/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(ptr, pold, new) \ argument
/Linux-v4.19/arch/powerpc/include/asm/
Dcmpxchg.h223 __cmpxchg_u32(volatile unsigned int *p, unsigned long old, unsigned long new) in __cmpxchg_u32()
247 unsigned long new) in __cmpxchg_u32_local()
268 __cmpxchg_u32_relaxed(u32 *p, unsigned long old, unsigned long new) in __cmpxchg_u32_relaxed()
296 __cmpxchg_u32_acquire(u32 *p, unsigned long old, unsigned long new) in __cmpxchg_u32_acquire()
319 __cmpxchg_u64(volatile unsigned long *p, unsigned long old, unsigned long new) in __cmpxchg_u64()
342 unsigned long new) in __cmpxchg_u64_local()
362 __cmpxchg_u64_relaxed(u64 *p, unsigned long old, unsigned long new) in __cmpxchg_u64_relaxed()
381 __cmpxchg_u64_acquire(u64 *p, unsigned long old, unsigned long new) in __cmpxchg_u64_acquire()
403 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg()
423 __cmpxchg_local(void *ptr, unsigned long old, unsigned long new, in __cmpxchg_local()
[all …]
/Linux-v4.19/tools/lib/
Drbtree.c62 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, in __rb_rotate_set_parents()
73 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert()
202 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in ____rb_erase_color()
364 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_erase_color()
377 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {} in dummy_copy()
378 static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {} in dummy_rotate()
405 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert_augmented()
496 void rb_replace_node(struct rb_node *victim, struct rb_node *new, in rb_replace_node()
/Linux-v4.19/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
100 u32 old, new; in ftrace_enable_ftrace_graph_caller() local
110 u32 old, new; in ftrace_disable_ftrace_graph_caller() local
/Linux-v4.19/arch/riscv/include/asm/
Dcmpxchg.h22 #define __xchg_relaxed(ptr, new, size) \ argument
55 #define __xchg_acquire(ptr, new, size) \ argument
90 #define __xchg_release(ptr, new, size) \ argument
125 #define __xchg(ptr, new, size) \ argument
174 #define __cmpxchg_relaxed(ptr, old, new, size) \ argument
218 #define __cmpxchg_acquire(ptr, old, new, size) \ argument
264 #define __cmpxchg_release(ptr, old, new, size) \ argument
310 #define __cmpxchg(ptr, old, new, size) \ argument
/Linux-v4.19/security/keys/
Dprocess_keys.c138 int install_thread_keyring_to_cred(struct cred *new) in install_thread_keyring_to_cred()
163 struct cred *new; in install_thread_keyring() local
185 int install_process_keyring_to_cred(struct cred *new) in install_process_keyring_to_cred()
210 struct cred *new; in install_process_keyring() local
274 struct cred *new; in install_session_keyring() local
773 struct cred *new; in join_session_keyring() local
847 struct cred *new = container_of(twork, struct cred, rcu); in key_change_session_keyring() local
/Linux-v4.19/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-v4.19/arch/arm64/include/asm/
Datomic.h88 #define atomic_xchg_relaxed(v, new) xchg_relaxed(&((v)->counter), (new)) argument
89 #define atomic_xchg_acquire(v, new) xchg_acquire(&((v)->counter), (new)) argument
90 #define atomic_xchg_release(v, new) xchg_release(&((v)->counter), (new)) argument
91 #define atomic_xchg(v, new) xchg(&((v)->counter), (new)) argument
93 #define atomic_cmpxchg_relaxed(v, old, new) \ argument
95 #define atomic_cmpxchg_acquire(v, old, new) \ argument
97 #define atomic_cmpxchg_release(v, old, new) \ argument
99 #define atomic_cmpxchg(v, old, new) cmpxchg(&((v)->counter), (old), (new)) argument
/Linux-v4.19/arch/s390/include/asm/
Datomic_ops.h123 static inline int __atomic_cmpxchg(int *ptr, int old, int new) in __atomic_cmpxchg()
128 static inline int __atomic_cmpxchg_bool(int *ptr, int old, int new) in __atomic_cmpxchg_bool()
133 static inline long __atomic64_cmpxchg(long *ptr, long old, long new) in __atomic64_cmpxchg()
138 static inline long __atomic64_cmpxchg_bool(long *ptr, long old, long new) in __atomic64_cmpxchg_bool()
/Linux-v4.19/arch/arm/kernel/
Dftrace.c105 unsigned long new, bool validate) in ftrace_modify_code()
136 unsigned long new; in ftrace_update_ftrace_func() local
167 unsigned long new, old; in ftrace_make_call() local
182 unsigned long new, old; in ftrace_modify_call() local
199 unsigned long new; in ftrace_make_nop() local
272 unsigned long new = enable ? branch : nop; in __ftrace_modify_caller() local
/Linux-v4.19/arch/sparc/lib/
Datomic32.c70 int atomic_xchg(atomic_t *v, int new) in atomic_xchg()
83 int atomic_cmpxchg(atomic_t *v, int old, int new) in 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-v4.19/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-v4.19/arch/alpha/include/asm/
Datomic.h202 #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() argument
203 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() argument
205 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() argument
206 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() argument
219 int c, new, old; in ATOMIC_OPS() local
251 long c, new, old; in atomic64_fetch_add_unless() local
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()
/Linux-v4.19/security/apparmor/
Dtask.c49 struct cred *new; in aa_replace_current_label() local
122 struct cred *new; in aa_set_current_hat() local
162 struct cred *new; in aa_restore_previous_label() local
/Linux-v4.19/arch/arc/include/asm/
Dcmpxchg.h20 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg()
50 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg()
70 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg()
219 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) argument
/Linux-v4.19/arch/sparc/include/asm/
Dcmpxchg_64.h11 __cmpxchg_u32(volatile int *m, int old, int new) in __cmpxchg_u32()
110 __cmpxchg_u64(volatile long *m, unsigned long old, unsigned long new) in __cmpxchg_u64()
126 __cmpxchg_u8(volatile unsigned char *m, unsigned char old, unsigned char new) in __cmpxchg_u8()
152 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg()
181 unsigned long new, int size) in __cmpxchg_local()
/Linux-v4.19/arch/powerpc/kernel/trace/
Dftrace.c47 ftrace_modify_code(unsigned long ip, unsigned int old, unsigned int new) in ftrace_modify_code()
277 unsigned int old, new; in ftrace_make_nop() local
462 unsigned int old, new; local
594 unsigned int old, new; local
628 unsigned int old, new; local
673 unsigned int old, new; local
686 unsigned int old, new; local
/Linux-v4.19/arch/mips/include/asm/
Dcmpxchg.h112 #define __cmpxchg_asm(ld, st, m, old, new) \ argument
150 unsigned long new, unsigned int size) in __cmpxchg()
174 #define cmpxchg_local(ptr, old, new) \ argument
181 #define cmpxchg(ptr, old, new) \ argument
/Linux-v4.19/arch/arm64/kernel/
Dftrace.c27 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code()
59 u32 new; in ftrace_update_ftrace_func() local
74 u32 old, new; in ftrace_make_call() local
144 u32 old = 0, new; in ftrace_make_nop() local

12345678910>>...36