| /linux/kernel/ |
| H A D | cred.c | 148 struct cred *new; in cred_alloc_blank() local 150 new = kmem_cache_zalloc(cred_jar, GFP_KERNEL); in cred_alloc_blank() 151 if (!new) in cred_alloc_blank() 154 atomic_long_set(&new->usage, 1); in cred_alloc_blank() 155 if (security_cred_alloc_blank(new, GFP_KERNEL_ACCOUNT) < 0) in cred_alloc_blank() 158 return new; in cred_alloc_blank() 161 abort_creds(new); in cred_alloc_blank() 166 * prepare_creds - Prepare a new set of credentials for modification 168 * Prepare a new set of task credentials for modification. A task's creds 170 * prepare a new cop 183 struct cred *new; prepare_creds() local 232 struct cred *new; prepare_exec_creds() local 265 struct cred *new; copy_creds() local 368 commit_creds(struct cred * new) commit_creds() argument 448 abort_creds(struct cred * new) abort_creds() argument 512 set_cred_ucounts(struct cred * new) set_cred_ucounts() argument 561 struct cred *new; prepare_kernel_cred() local 617 set_security_override(struct cred * new,u32 secid) set_security_override() argument 633 set_security_override_from_ctx(struct cred * new,const char * secctx) set_security_override_from_ctx() argument 655 set_create_files_as(struct cred * new,struct inode * inode) set_create_files_as() argument [all...] |
| /linux/arch/arm64/kvm/hyp/ |
| H A D | exception.c | 88 unsigned long sctlr, vbar, old, new, mode; in enter_exception64() local 121 new = 0; in enter_exception64() 123 new |= (old & PSR_N_BIT); in enter_exception64() 124 new |= (old & PSR_Z_BIT); in enter_exception64() 125 new |= (old & PSR_C_BIT); in enter_exception64() 126 new |= (old & PSR_V_BIT); in enter_exception64() 129 new |= PSR_TCO_BIT; in enter_exception64() 131 new |= (old & PSR_DIT_BIT); in enter_exception64() 139 new |= (old & PSR_PAN_BIT); in enter_exception64() 141 new |= PSR_PAN_BIT; in enter_exception64() [all …]
|
| /linux/security/ |
| H A D | commoncap.c | 262 * @new: The proposed new credentials; alterations should be made here 264 * @effective: A pointer to the proposed new effective capabilities set 265 * @inheritable: A pointer to the proposed new inheritable capabilities set 266 * @permitted: A pointer to the proposed new permitted capabilities set 269 * process's capability sets. The changes are made to the proposed new 272 int cap_capset(struct cred *new, in cap_capset() argument 288 /* no new pI capabilities outside bounding set */ in cap_capset() 291 /* verify restrictions on target's new Permitted set */ in cap_capset() 299 new in cap_capset() 631 struct cred *new = bprm->cred; bprm_caps_from_vfs_caps() local 832 struct cred *new = bprm->cred; handle_privileged_root() local 886 nonroot_raised_pE(struct cred * new,const struct cred * old,kuid_t root,bool has_fcap) nonroot_raised_pE() argument 923 struct cred *new = bprm->cred; cap_bprm_creds_from_file() local 1120 cap_emulate_setxuid(struct cred * new,const struct cred * old) cap_emulate_setxuid() argument 1159 cap_task_fix_setuid(struct cred * new,const struct cred * old,int flags) cap_task_fix_setuid() argument 1272 struct cred *new; cap_prctl_drop() local 1305 struct cred *new; cap_task_prctl() local [all...] |
| /linux/fs/nfsd/ |
| H A D | auth.c | 25 struct cred *new; in nfsd_setuser() local 31 new = prepare_creds(); in nfsd_setuser() 32 if (!new) in nfsd_setuser() 35 new->fsuid = cred->cr_uid; in nfsd_setuser() 36 new->fsgid = cred->cr_gid; in nfsd_setuser() 41 new->fsuid = exp->ex_anon_uid; in nfsd_setuser() 42 new->fsgid = exp->ex_anon_gid; in nfsd_setuser() 47 if (uid_eq(new->fsuid, GLOBAL_ROOT_UID)) in nfsd_setuser() 48 new->fsuid = exp->ex_anon_uid; in nfsd_setuser() 49 if (gid_eq(new->fsgid, GLOBAL_ROOT_GID)) in nfsd_setuser() [all …]
|
| /linux/security/ipe/ |
| H A D | policy.c | 96 struct ipe_policy *old, *ap, *new = NULL; in ipe_update_policy() local 103 new = ipe_new_policy(text, textlen, pkcs7, pkcs7len); in ipe_update_policy() 104 if (IS_ERR(new)) in ipe_update_policy() 105 return PTR_ERR(new); in ipe_update_policy() 107 if (strcmp(new->parsed->name, old->parsed->name)) { in ipe_update_policy() 112 if (ver_to_u64(old) >= ver_to_u64(new)) { in ipe_update_policy() 117 root->i_private = new; in ipe_update_policy() 118 swap(new->policyfs, old->policyfs); in ipe_update_policy() 119 ipe_audit_policy_load(new); in ipe_update_policy() 125 rcu_assign_pointer(ipe_active_policy, new); in ipe_update_policy() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | cmpxchg.h | 42 u32 __cmpxchg_##type##sfx(volatile void *p, u32 old, u32 new) \ 50 new <<= bitoff; \ 67 : "r" (p), "r" (old), "r" (new), "r" (prev_mask) \ 283 __cmpxchg_u8(volatile unsigned char *p, unsigned long old, unsigned long new) in __cmpxchg_u8() argument 298 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u8() 306 unsigned long new) in __cmpxchg_u8_local() argument 318 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u8_local() 325 __cmpxchg_u8_relaxed(u8 *p, unsigned long old, unsigned long new) in __cmpxchg_u8_relaxed() argument 337 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u8_relaxed() 344 __cmpxchg_u8_acquire(u8 *p, unsigned long old, unsigned long new) in __cmpxchg_u8_acquire() argument [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | cmpxchg.h | 85 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument 89 __typeof__(*(ptr)) __new = (new); \ 133 #define __cmpxchg(ptr, old, new, size) \ argument 134 __raw_cmpxchg((ptr), (old), (new), (size), LOCK_PREFIX) 136 #define __sync_cmpxchg(ptr, old, new, size) \ argument 137 __raw_cmpxchg((ptr), (old), (new), (size), "lock ") 139 #define __cmpxchg_local(ptr, old, new, size) \ argument 140 __raw_cmpxchg((ptr), (old), (new), (size), "") 148 #define arch_cmpxchg(ptr, old, new) \ argument 149 __cmpxchg(ptr, old, new, sizeof(*(ptr))) [all …]
|
| H A D | cmpxchg_32.h | 32 static __always_inline u64 __cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64() argument 34 return __arch_cmpxchg64(ptr, old, new, LOCK_PREFIX); in __cmpxchg64() 37 static __always_inline u64 __cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64_local() argument 39 return __arch_cmpxchg64(ptr, old, new,); in __cmpxchg64_local() 61 static __always_inline bool __try_cmpxchg64(volatile u64 *ptr, u64 *oldp, u64 new) in __try_cmpxchg64() argument 63 return __arch_try_cmpxchg64(ptr, oldp, new, LOCK_PREFIX); in __try_cmpxchg64() 66 static __always_inline bool __try_cmpxchg64_local(volatile u64 *ptr, u64 *oldp, u64 new) in __try_cmpxchg64_local() argument 68 return __arch_try_cmpxchg64(ptr, oldp, new,); in __try_cmpxchg64_local() 105 static __always_inline u64 arch_cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in arch_cmpxchg64() argument 107 return __arch_cmpxchg64_emu(ptr, old, new, LOCK_PREFIX_HERE, "lock "); in arch_cmpxchg64() [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | cmpxchg.h | 18 static __always_inline u32 __cs_asm(u64 ptr, u32 old, u32 new) in __cs_asm() argument 23 : [new] "d" (new) in __cs_asm() 28 static __always_inline u64 __csg_asm(u64 ptr, u64 old, u64 new) in __csg_asm() argument 33 : [new] "d" (new) in __csg_asm() 38 static inline u8 __arch_cmpxchg1(u64 ptr, u8 old, u8 new) in __arch_cmpxchg1() argument 55 new32.b[i] = new; in __arch_cmpxchg1() 61 static inline u16 __arch_cmpxchg2(u64 ptr, u16 old, u16 new) in __arch_cmpxchg2() argument 78 new32.b[i] = new; in __arch_cmpxchg2() 84 static __always_inline u64 __arch_cmpxchg(u64 ptr, u64 old, u64 new, int size) in __arch_cmpxchg() argument 87 case 1: return __arch_cmpxchg1(ptr, old & 0xff, new & 0xff); in __arch_cmpxchg() [all …]
|
| /linux/rust/kernel/irq/ |
| H A D | flags.rs | 31 pub const TRIGGER_NONE: Flags = Flags::new(bindings::IRQF_TRIGGER_NONE); 34 pub const TRIGGER_RISING: Flags = Flags::new(bindings::IRQF_TRIGGER_RISING); 37 pub const TRIGGER_FALLING: Flags = Flags::new(bindings::IRQF_TRIGGER_FALLING); 40 pub const TRIGGER_HIGH: Flags = Flags::new(bindings::IRQF_TRIGGER_HIGH); 43 pub const TRIGGER_LOW: Flags = Flags::new(bindings::IRQF_TRIGGER_LOW); 46 pub const SHARED: Flags = Flags::new(bindings::IRQF_SHARED); 49 pub const PROBE_SHARED: Flags = Flags::new(bindings::IRQF_PROBE_SHARED); 52 pub const TIMER: Flags = Flags::new(bindings::IRQF_TIMER); 55 pub const PERCPU: Flags = Flags::new(bindings::IRQF_PERCPU); 58 pub const NOBALANCING: Flags = Flags::new(bindings::IRQF_NOBALANCING); [all …]
|
| /linux/security/keys/ |
| H A D | process_keys.c | 221 int install_thread_keyring_to_cred(struct cred *new) in install_thread_keyring_to_cred() argument 225 if (new->thread_keyring) in install_thread_keyring_to_cred() 228 keyring = keyring_alloc("_tid", new->uid, new->gid, new, in install_thread_keyring_to_cred() 235 new->thread_keyring = keyring; in install_thread_keyring_to_cred() 246 struct cred *new; in install_thread_keyring() local 249 new = prepare_creds(); in install_thread_keyring() 250 if (!new) in install_thread_keyring() 253 ret = install_thread_keyring_to_cred(new); in install_thread_keyring() 255 abort_creds(new); in install_thread_keyring() 259 return commit_creds(new); in install_thread_keyring() [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | ftrace.c | 26 static int ftrace_modify_code(unsigned long ip, u32 old, u32 new) in ftrace_modify_code() argument 47 : [new] "0" (new), [old] "r" (old), [ip] "r" (ip) in ftrace_modify_code() 50 if (replaced != old && replaced != new) in ftrace_modify_code() 59 u32 old, new; in ftrace_make_nop() local 62 new = ftrace_nop; in ftrace_make_nop() 63 return ftrace_modify_code(ip, old, new); in ftrace_make_nop() 69 u32 old, new; in ftrace_make_call() local 72 new = ftrace_call_replace(ip, addr); in ftrace_make_call() 73 return ftrace_modify_code(ip, old, new); in ftrace_make_call() 79 u32 old, new; in ftrace_update_ftrace_func() local [all …]
|
| /linux/fs/ |
| H A D | signalfd.c | 73 struct signalfd_siginfo new; in signalfd_copyinfo() local 80 memset(&new, 0, sizeof(new)); in signalfd_copyinfo() 86 new.ssi_signo = kinfo->si_signo; in signalfd_copyinfo() 87 new.ssi_errno = kinfo->si_errno; in signalfd_copyinfo() 88 new.ssi_code = kinfo->si_code; in signalfd_copyinfo() 91 new.ssi_pid = kinfo->si_pid; in signalfd_copyinfo() 92 new.ssi_uid = kinfo->si_uid; in signalfd_copyinfo() 95 new.ssi_tid = kinfo->si_tid; in signalfd_copyinfo() 96 new.ssi_overrun = kinfo->si_overrun; in signalfd_copyinfo() 97 new.ssi_ptr = (long) kinfo->si_ptr; in signalfd_copyinfo() [all …]
|
| /linux/drivers/mtd/ |
| H A D | mtd_blkdevs.c | 276 int add_mtd_blktrans_dev(struct mtd_blktrans_dev *new) in add_mtd_blktrans_dev() argument 278 struct mtd_blktrans_ops *tr = new->tr; in add_mtd_blktrans_dev() 288 if (new->devnum == -1) { in add_mtd_blktrans_dev() 292 new->devnum = last_devnum+1; in add_mtd_blktrans_dev() 293 list_add_tail(&new->list, &d->list); in add_mtd_blktrans_dev() 296 } else if (d->devnum == new->devnum) { in add_mtd_blktrans_dev() 299 } else if (d->devnum > new->devnum) { in add_mtd_blktrans_dev() 301 list_add_tail(&new->list, &d->list); in add_mtd_blktrans_dev() 308 if (new->devnum == -1) in add_mtd_blktrans_dev() 309 new->devnum = last_devnum+1; in add_mtd_blktrans_dev() [all …]
|
| /linux/fs/nfs/blocklayout/ |
| H A D | extent_tree.c | 138 struct pnfs_block_extent *new, bool merge_ok) in __ext_tree_insert() argument 147 if (new->be_f_offset < be->be_f_offset) { in __ext_tree_insert() 148 if (merge_ok && ext_can_merge(new, be)) { in __ext_tree_insert() 149 be->be_f_offset = new->be_f_offset; in __ext_tree_insert() 151 be->be_v_offset = new->be_v_offset; in __ext_tree_insert() 152 be->be_length += new->be_length; in __ext_tree_insert() 157 } else if (new->be_f_offset >= ext_f_end(be)) { in __ext_tree_insert() 158 if (merge_ok && ext_can_merge(be, new)) { in __ext_tree_insert() 159 be->be_length += new->be_length; in __ext_tree_insert() 169 rb_link_node(&new->be_node, parent, p); in __ext_tree_insert() [all …]
|
| /linux/security/apparmor/ |
| H A D | label.c | 62 struct aa_proxy *new; in aa_alloc_proxy() local 64 new = kzalloc_obj(struct aa_proxy, gfp); in aa_alloc_proxy() 65 if (new) { in aa_alloc_proxy() 66 kref_init(&new->count); in aa_alloc_proxy() 67 rcu_assign_pointer(new->label, aa_get_label(label)); in aa_alloc_proxy() 69 return new; in aa_alloc_proxy() 73 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new) in __aa_proxy_redirect() argument 78 AA_BUG(!new); in __aa_proxy_redirect() 83 rcu_assign_pointer(orig->proxy->label, aa_get_label(new)); in __aa_proxy_redirect() 88 static void __proxy_share(struct aa_label *old, struct aa_label *new) in __proxy_share() argument [all …]
|
| H A D | domain.c | 538 struct aa_profile *new = aa_find_child(profile, lookup); in x_table_lookup() local 540 if (new) in x_table_lookup() 542 return &new->label; in x_table_lookup() 574 struct aa_label *new = NULL; in x_to_label() local 591 new = x_table_lookup(profile, xindex, lookupname); in x_to_label() 592 if (!new || **lookupname != '&') in x_to_label() 594 stack = new; in x_to_label() 595 new = NULL; in x_to_label() 600 new = find_attach(bprm, ns, &profile->base.profiles, in x_to_label() 604 new = find_attach(bprm, ns, &ns->base.profiles, in x_to_label() [all …]
|
| /linux/lib/ |
| H A D | errseq.c | 80 errseq_t new; in errseq_set() local 83 new = (old & ~(ERRNO_MASK | ERRSEQ_SEEN)) | -err; in errseq_set() 87 new += ERRSEQ_CTR_INC; in errseq_set() 90 if (new == old) { in errseq_set() 91 cur = new; in errseq_set() 96 cur = cmpxchg(eseq, old, new); in errseq_set() 102 if (likely(cur == old || cur == new)) in errseq_set() 179 errseq_t old, new; in errseq_check_and_advance() local 200 new = old | ERRSEQ_SEEN; in errseq_check_and_advance() 201 if (new != old) in errseq_check_and_advance() [all …]
|
| /linux/arch/sparc/include/asm/ |
| H A D | cmpxchg_64.h | 11 __cmpxchg_u32(volatile int *m, int old, int new) in __cmpxchg_u32() argument 14 : "=&r" (new) in __cmpxchg_u32() 15 : "0" (new), "r" (m), "r" (old) in __cmpxchg_u32() 18 return new; in __cmpxchg_u32() 115 __cmpxchg_u64(volatile long *m, unsigned long old, unsigned long new) in __cmpxchg_u64() argument 118 : "=&r" (new) in __cmpxchg_u64() 119 : "0" (new), "r" (m), "r" (old) in __cmpxchg_u64() 122 return new; in __cmpxchg_u64() 131 __cmpxchg_u8(volatile unsigned char *m, unsigned char old, unsigned char new) in __cmpxchg_u8() argument 141 new32 = (load32 & ~mask) | (new << bit_shift); in __cmpxchg_u8() [all …]
|
| /linux/fs/cachefiles/ |
| H A D | security.c | 18 struct cred *new; in cachefiles_get_security_ID() local 23 new = prepare_kernel_cred(current); in cachefiles_get_security_ID() 24 if (!new) { in cachefiles_get_security_ID() 30 ret = set_security_override(new, cache->secid); in cachefiles_get_security_ID() 32 put_cred(new); in cachefiles_get_security_ID() 39 cache->cache_cred = new; in cachefiles_get_security_ID() 79 struct cred *new; in cachefiles_determine_cache_security() local 86 new = prepare_creds(); in cachefiles_determine_cache_security() 87 if (!new) in cachefiles_determine_cache_security() 94 ret = set_create_files_as(new, d_backing_inode(root)); in cachefiles_determine_cache_security() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | setget_sockopt.c | 26 int new; member 39 { .opt = SO_SNDBUF, .new = 8123, .expected = 8123 * 2, }, 40 { .opt = SO_RCVBUF, .new = 8123, .expected = 8123 * 2, }, 42 { .opt = SO_PRIORITY, .new = 0xeb9f, .expected = 0xeb9f, }, 44 { .opt = SO_RCVLOWAT, .new = 8123, .expected = 8123, }, 45 { .opt = SO_MARK, .new = 0xeb9f, .expected = 0xeb9f, }, 46 { .opt = SO_MAX_PACING_RATE, .new = 0xeb9f, .expected = 0xeb9f, }, 53 { .opt = TCP_KEEPIDLE, .new = 123, .expected = 123, .restore = 321, }, 54 { .opt = TCP_KEEPINTVL, .new = 123, .expected = 123, .restore = 321, }, 55 { .opt = TCP_KEEPCNT, .new 90 int old, tmp, new, opt = t->opt; bpf_test_sockopt_flip() local 117 int old, tmp, new, expected, opt; bpf_test_sockopt_int() local [all...] |
| /linux/arch/csky/include/asm/ |
| H A D | cmpxchg.h | 11 #define __xchg_relaxed(new, ptr, size) \ argument 14 __typeof__(new) __new = (new); \ 57 #define __cmpxchg_relaxed(ptr, old, new, size) \ argument 60 __typeof__(new) __new = (new); \ 61 __typeof__(new) __tmp; \ 90 #define __cmpxchg_acquire(ptr, old, new, size) \ argument 93 __typeof__(new) __new = (new); \ 94 __typeof__(new) __tmp; \ 124 #define __cmpxchg(ptr, old, new, size) \ argument 127 __typeof__(new) __new = (new); \ [all …]
|
| /linux/rust/helpers/ |
| H A D | atomic.c | 375 rust_helper_atomic_xchg(atomic_t *v, int new) in rust_helper_atomic_fetch_xor_relaxed() 377 return atomic_xchg(v, new); in rust_helper_atomic_fetch_xor_relaxed() 381 rust_helper_atomic_xchg_acquire(atomic_t *v, int new) in rust_helper_atomic_xchg() 383 return atomic_xchg_acquire(v, new); in rust_helper_atomic_xchg() 387 rust_helper_atomic_xchg_release(atomic_t *v, int new) in rust_helper_atomic_xchg_acquire() 389 return atomic_xchg_release(v, new); in rust_helper_atomic_xchg_acquire() 393 rust_helper_atomic_xchg_relaxed(atomic_t *v, int new) in rust_helper_atomic_xchg_release() 395 return atomic_xchg_relaxed(v, new); in rust_helper_atomic_xchg_release() 399 rust_helper_atomic_cmpxchg(atomic_t *v, int old, int new) in rust_helper_atomic_xchg_relaxed() 401 return atomic_cmpxchg(v, old, new); in rust_helper_atomic_xchg_relaxed() 380 rust_helper_atomic_xchg(atomic_t * v,int new) rust_helper_atomic_xchg() argument 386 rust_helper_atomic_xchg_acquire(atomic_t * v,int new) rust_helper_atomic_xchg_acquire() argument 392 rust_helper_atomic_xchg_release(atomic_t * v,int new) rust_helper_atomic_xchg_release() argument 398 rust_helper_atomic_xchg_relaxed(atomic_t * v,int new) rust_helper_atomic_xchg_relaxed() argument 404 rust_helper_atomic_cmpxchg(atomic_t * v,int old,int new) rust_helper_atomic_cmpxchg() argument 410 rust_helper_atomic_cmpxchg_acquire(atomic_t * v,int old,int new) rust_helper_atomic_cmpxchg_acquire() argument 416 rust_helper_atomic_cmpxchg_release(atomic_t * v,int old,int new) rust_helper_atomic_cmpxchg_release() argument 422 rust_helper_atomic_cmpxchg_relaxed(atomic_t * v,int old,int new) rust_helper_atomic_cmpxchg_relaxed() argument 428 rust_helper_atomic_try_cmpxchg(atomic_t * v,int * old,int new) rust_helper_atomic_try_cmpxchg() argument 434 rust_helper_atomic_try_cmpxchg_acquire(atomic_t * v,int * old,int new) rust_helper_atomic_try_cmpxchg_acquire() argument 440 rust_helper_atomic_try_cmpxchg_release(atomic_t * v,int * old,int new) rust_helper_atomic_try_cmpxchg_release() argument 446 rust_helper_atomic_try_cmpxchg_relaxed(atomic_t * v,int * old,int new) rust_helper_atomic_try_cmpxchg_relaxed() argument 890 rust_helper_atomic64_xchg(atomic64_t * v,s64 new) rust_helper_atomic64_xchg() argument 896 rust_helper_atomic64_xchg_acquire(atomic64_t * v,s64 new) rust_helper_atomic64_xchg_acquire() argument 902 rust_helper_atomic64_xchg_release(atomic64_t * v,s64 new) rust_helper_atomic64_xchg_release() argument 908 rust_helper_atomic64_xchg_relaxed(atomic64_t * v,s64 new) rust_helper_atomic64_xchg_relaxed() argument 914 rust_helper_atomic64_cmpxchg(atomic64_t * v,s64 old,s64 new) rust_helper_atomic64_cmpxchg() argument 920 rust_helper_atomic64_cmpxchg_acquire(atomic64_t * v,s64 old,s64 new) rust_helper_atomic64_cmpxchg_acquire() argument 926 rust_helper_atomic64_cmpxchg_release(atomic64_t * v,s64 old,s64 new) rust_helper_atomic64_cmpxchg_release() argument 932 rust_helper_atomic64_cmpxchg_relaxed(atomic64_t * v,s64 old,s64 new) rust_helper_atomic64_cmpxchg_relaxed() argument 938 rust_helper_atomic64_try_cmpxchg(atomic64_t * v,s64 * old,s64 new) rust_helper_atomic64_try_cmpxchg() argument 944 rust_helper_atomic64_try_cmpxchg_acquire(atomic64_t * v,s64 * old,s64 new) rust_helper_atomic64_try_cmpxchg_acquire() argument 950 rust_helper_atomic64_try_cmpxchg_release(atomic64_t * v,s64 * old,s64 new) rust_helper_atomic64_try_cmpxchg_release() argument 956 rust_helper_atomic64_try_cmpxchg_relaxed(atomic64_t * v,s64 * old,s64 new) rust_helper_atomic64_try_cmpxchg_relaxed() argument [all...] |
| /linux/drivers/mtd/devices/ |
| H A D | phram.c | 130 struct phram_mtd_list *new; in register_device() local 133 new = kzalloc_obj(*new); in register_device() 134 if (!new) in register_device() 137 new->cached = cached; in register_device() 139 ret = phram_map(new, start, len); in register_device() 146 new->mtd.name = name; in register_device() 147 new->mtd.size = len; in register_device() 148 new->mtd.flags = MTD_CAP_RAM; in register_device() 149 new->mtd._erase = phram_erase; in register_device() 150 new->mtd._point = phram_point; in register_device() [all …]
|
| /linux/sound/pci/ice1712/ |
| H A D | wtm.c | 67 unsigned char new, old; in stac9460_dac_mute_all() local 78 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all() 79 change = (new != old); in stac9460_dac_mute_all() 81 stac9460_put(ice, idx, new); in stac9460_dac_mute_all() 97 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all() 98 change = (new != old); in stac9460_dac_mute_all() 100 stac9460_2_put(ice, idx, new); in stac9460_dac_mute_all() 143 unsigned char new, old; in stac9460_dac_mute_put() local 150 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put() 152 change = (new != old); in stac9460_dac_mute_put() [all …]
|