Home
last modified time | relevance | path

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

12345678910>>...38

/Linux-v5.4/kernel/
Dcred.c215 struct cred *new; in cred_alloc_blank() local
254 struct cred *new; in prepare_creds() local
302 struct cred *new; in prepare_exec_creds() local
332 struct cred *new; in copy_creds() local
434 int commit_creds(struct cred *new) in commit_creds()
520 void abort_creds(struct cred *new) in abort_creds()
541 const struct cred *override_creds(const struct cred *new) in override_creds()
684 struct cred *new; in prepare_kernel_cred() local
740 int set_security_override(struct cred *new, u32 secid) in set_security_override()
756 int set_security_override_from_ctx(struct cred *new, const char *secctx) in set_security_override_from_ctx()
[all …]
/Linux-v5.4/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()
Drefcount.c66 unsigned int new, val = atomic_read(&r->refs); in refcount_add_not_zero_checked() local
123 unsigned int new, val = atomic_read(&r->refs); in refcount_inc_not_zero_checked() local
182 unsigned int new, val = atomic_read(&r->refs); in refcount_sub_and_test_checked() local
277 unsigned int new, val = atomic_read(&r->refs); in refcount_dec_not_one() local
/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/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-v5.4/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 __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-v5.4/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
841 struct cred *new; in join_session_keyring() local
915 struct cred *new = container_of(twork, struct cred, rcu); in key_change_session_keyring() local
/Linux-v5.4/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-v5.4/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-v5.4/arch/arm/kernel/
Dftrace.c80 unsigned long new, bool validate) in ftrace_modify_code()
111 unsigned long new; in ftrace_update_ftrace_func() local
133 unsigned long new, old; in ftrace_make_call() local
148 unsigned long new, old; in ftrace_modify_call() local
165 unsigned long new; in ftrace_make_nop() local
213 unsigned long new = enable ? branch : nop; in __ftrace_modify_caller() local
/Linux-v5.4/arch/mips/include/asm/
Dcmpxchg.h116 #define __cmpxchg_asm(ld, st, m, old, new) \ argument
158 unsigned long new, unsigned int size) in __cmpxchg()
182 #define cmpxchg_local(ptr, old, new) \ argument
189 #define cmpxchg(ptr, old, new) \ argument
221 unsigned long long new) in __cmpxchg64()
/Linux-v5.4/arch/arm64/include/asm/
Datomic.h147 #define arch_atomic_xchg_relaxed(v, new) \ argument
149 #define arch_atomic_xchg_acquire(v, new) \ argument
151 #define arch_atomic_xchg_release(v, new) \ argument
153 #define arch_atomic_xchg(v, new) \ argument
156 #define arch_atomic_cmpxchg_relaxed(v, old, new) \ argument
158 #define arch_atomic_cmpxchg_acquire(v, old, new) \ argument
160 #define arch_atomic_cmpxchg_release(v, old, new) \ argument
162 #define arch_atomic_cmpxchg(v, old, new) \ argument
/Linux-v5.4/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-v5.4/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 s64 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-v5.4/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-v5.4/security/apparmor/
Dtask.c45 struct cred *new; in aa_replace_current_label() local
118 struct cred *new; in aa_set_current_hat() local
158 struct cred *new; in aa_restore_previous_label() local
/Linux-v5.4/arch/arc/include/asm/
Dcmpxchg.h17 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg()
47 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg()
67 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg()
222 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) argument
/Linux-v5.4/arch/arm64/kernel/
Dftrace.c24 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code()
56 u32 new; in ftrace_update_ftrace_func() local
71 u32 old, new; in ftrace_make_call() local
155 u32 old = 0, new; in ftrace_make_nop() local
/Linux-v5.4/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-v5.4/arch/x86/kernel/
Dftrace.c155 unsigned const char *new, *old; in ftrace_make_nop() local
181 unsigned const char *new, *old; in ftrace_make_call() local
247 static int update_ftrace_func(unsigned long ip, void *new) in update_ftrace_func()
271 unsigned char *new; in ftrace_update_ftrace_func() local
458 static int add_update_code(unsigned long ip, unsigned const char *new) in add_update_code()
469 unsigned const char *new; in add_update_call() local
478 unsigned const char *new; in add_update_nop() local
513 unsigned const char *new; in finish_update_call() local
523 unsigned const char *new; in finish_update_nop() local
862 unsigned char *new; in arch_ftrace_update_trampoline() local
[all …]
/Linux-v5.4/security/
Dcommoncap.c241 int cap_capset(struct cred *new, in cap_capset()
533 struct cred *new = bprm->cred; in bprm_caps_from_vfs_caps() local
717 struct cred *new = bprm->cred; in handle_privileged_root() local
754 static inline bool __is_setuid(struct cred *new, const struct cred *old) in __is_setuid()
757 static inline bool __is_setgid(struct cred *new, const struct cred *old) in __is_setgid()
777 static inline bool nonroot_raised_pE(struct cred *new, const struct cred *old, in nonroot_raised_pE()
810 struct cred *new = bprm->cred; in cap_bprm_set_creds() local
997 static inline void cap_emulate_setxuid(struct cred *new, const struct cred *old) in cap_emulate_setxuid()
1034 int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags) in cap_task_fix_setuid()
1141 struct cred *new; in cap_prctl_drop() local
[all …]
/Linux-v5.4/arch/s390/mm/
Dpageattr.c57 static void pgt_set(unsigned long *old, unsigned long new, unsigned long addr, in pgt_set()
87 pte_t *ptep, new; in walk_pte_level() local
114 pmd_t new; in split_pmd_page() local
142 pmd_t new = *pmdp; in modify_pmd_page() local
191 pud_t new; in split_pud_page() local
219 pud_t new = *pudp; in modify_pud_page() local

12345678910>>...38