| /linux/include/linux/ |
| A D | refcount.h | 149 if (oldp) in __refcount_add_not_zero() 150 *oldp = old; in __refcount_add_not_zero() 186 if (oldp) in __refcount_add() 187 *oldp = old; in __refcount_add() 218 return __refcount_add_not_zero(1, r, oldp); in __refcount_inc_not_zero() 241 __refcount_add(1, r, oldp); in __refcount_inc() 266 if (oldp) in __refcount_sub_and_test() 267 *oldp = old; in __refcount_sub_and_test() 307 return __refcount_sub_and_test(1, r, oldp); in __refcount_dec_and_test() 332 if (oldp) in __refcount_dec() [all …]
|
| A D | nodemask.h | 356 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap() argument 358 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits); in __node_remap() 364 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap() argument 366 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits); in __nodes_remap()
|
| /linux/arch/x86/include/asm/ |
| A D | cmpxchg_32.h | 62 static __always_inline bool __try_cmpxchg64(volatile u64 *ptr, u64 *oldp, u64 new) in __try_cmpxchg64() argument 64 return __arch_try_cmpxchg64(ptr, oldp, new, LOCK_PREFIX); in __try_cmpxchg64() 67 static __always_inline bool __try_cmpxchg64_local(volatile u64 *ptr, u64 *oldp, u64 new) in __try_cmpxchg64_local() argument 69 return __arch_try_cmpxchg64(ptr, oldp, new,); in __try_cmpxchg64_local() 137 static __always_inline bool arch_try_cmpxchg64(volatile u64 *ptr, u64 *oldp, u64 new) in arch_try_cmpxchg64() argument 139 return __arch_try_cmpxchg64_emu(ptr, oldp, new, LOCK_PREFIX_HERE, "lock; "); in arch_try_cmpxchg64() 143 static __always_inline bool arch_try_cmpxchg64_local(volatile u64 *ptr, u64 *oldp, u64 new) in arch_try_cmpxchg64_local() argument 145 return __arch_try_cmpxchg64_emu(ptr, oldp, new, ,); in arch_try_cmpxchg64_local()
|
| A D | cmpxchg_64.h | 82 static __always_inline bool arch_try_cmpxchg128(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128() argument 84 return __arch_try_cmpxchg128(ptr, oldp, new, LOCK_PREFIX); in arch_try_cmpxchg128() 88 static __always_inline bool arch_try_cmpxchg128_local(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128_local() argument 90 return __arch_try_cmpxchg128(ptr, oldp, new,); in arch_try_cmpxchg128_local()
|
| /linux/include/linux/atomic/ |
| A D | atomic-instrumented.h | 4876 typeof(oldp) __ai_oldp = (oldp); \ 4886 typeof(oldp) __ai_oldp = (oldp); \ 4895 typeof(oldp) __ai_oldp = (oldp); \ 4905 typeof(oldp) __ai_oldp = (oldp); \ 4914 typeof(oldp) __ai_oldp = (oldp); \ 4924 typeof(oldp) __ai_oldp = (oldp); \ 4933 typeof(oldp) __ai_oldp = (oldp); \ 4943 typeof(oldp) __ai_oldp = (oldp); \ 4952 typeof(oldp) __ai_oldp = (oldp); \ 4962 typeof(oldp) __ai_oldp = (oldp); \ [all …]
|
| /linux/arch/xtensa/mm/ |
| A D | init.c | 172 char *oldp; in parse_memmap_one() local 178 oldp = p; in parse_memmap_one() 180 if (p == oldp) in parse_memmap_one()
|
| /linux/scripts/atomic/ |
| A D | gen-atomic-instrumented.sh | 104 typeof(oldp) __ai_oldp = (oldp); \\
|
| /linux/security/selinux/ss/ |
| A D | mls.c | 439 int mls_convert_context(struct policydb *oldp, struct policydb *newp, in mls_convert_context() argument 448 if (!oldp->mls_enabled || !newp->mls_enabled) in mls_convert_context() 452 char *name = sym_name(oldp, SYM_LEVELS, in mls_convert_context() 467 sym_name(oldp, SYM_CATS, i)); in mls_convert_context()
|
| A D | services.h | 34 struct policydb *oldp; member
|
| A D | mls.h | 42 int mls_convert_context(struct policydb *oldp, struct policydb *newp,
|
| A D | services.c | 2049 sym_name(args->oldp, SYM_USERS, oldc->user - 1)); in services_convert_context() 2056 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in services_convert_context() 2063 sym_name(args->oldp, SYM_TYPES, oldc->type - 1)); in services_convert_context() 2069 if (args->oldp->mls_enabled && args->newp->mls_enabled) { in services_convert_context() 2070 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in services_convert_context() 2073 } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) { in services_convert_context() 2096 rc = convert_context_handle_invalid_context(args->oldp, oldc); in services_convert_context() 2104 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in services_convert_context() 2314 convert_data->args.oldp = &oldpolicy->policydb; in security_load_policy()
|
| /linux/fs/xfs/scrub/ |
| A D | orphanage.c | 57 struct xfs_dquot *oldu = NULL, *oldg = NULL, *oldp = NULL; in xrep_chown_orphanage() local 94 oldp = xfs_qm_vop_chown(tp, dp, &dp->i_pdquot, pdqp); in xrep_chown_orphanage() 109 xfs_qm_dqrele(oldp); in xrep_chown_orphanage()
|
| /linux/arch/mips/kernel/ |
| A D | setup.c | 379 char *oldp; in early_parse_memmap() local 390 oldp = p; in early_parse_memmap() 392 if (p == oldp) in early_parse_memmap()
|
| /linux/arch/x86/boot/compressed/ |
| A D | kaslr.c | 125 char *oldp; in parse_memmap() local 134 oldp = p; in parse_memmap() 136 if (p == oldp) in parse_memmap()
|
| /linux/Documentation/ |
| A D | atomic_t.txt | 280 bool atomic_try_cmpxchg(atomic_t *ptr, int *oldp, int new); 285 bool atomic_try_cmpxchg(atomic_t *ptr, int *oldp, int new) 287 int ret, old = *oldp; 290 *oldp = ret;
|
| /linux/arch/arm64/kernel/ |
| A D | proton-pack.c | 39 static void update_mitigation_state(enum mitigation_state *oldp, in update_mitigation_state() argument 45 state = READ_ONCE(*oldp); in update_mitigation_state() 52 } while (cmpxchg_relaxed(oldp, state, new) != state); in update_mitigation_state()
|
| /linux/arch/x86/kernel/ |
| A D | e820.c | 922 char *oldp; in parse_memmap_one() local 934 oldp = p; in parse_memmap_one() 936 if (p == oldp) in parse_memmap_one()
|
| /linux/drivers/net/arcnet/ |
| A D | arcnet.c | 1157 *oldp = arc_proto_map[lp->default_proto[rxdata.pkt.hard.source]], in arcnet_rx() local 1160 if (oldp != newp) { in arcnet_rx() 1164 newp->suffix, oldp->suffix); in arcnet_rx()
|
| /linux/mm/ |
| A D | memblock.c | 2315 char *oldp; in reserve_mem() local 2325 oldp = p; in reserve_mem() 2327 if (!size || p == oldp) in reserve_mem()
|