/linux/include/linux/ |
H A D | refcount.h | 140 bool __refcount_add_not_zero(int i, refcount_t *r, int *oldp) in __refcount_add_not_zero() argument 149 if (oldp) in __refcount_add_not_zero() 150 *oldp = old; in __refcount_add_not_zero() 182 void __refcount_add(int i, refcount_t *r, int *oldp) in __refcount_add() argument 186 if (oldp) in __refcount_add() 187 *oldp = old; in __refcount_add() 216 static inline __must_check bool __refcount_inc_not_zero(refcount_t *r, int *oldp) in __refcount_inc_not_zero() argument 218 return __refcount_add_not_zero(1, r, oldp); in __refcount_inc_not_zero() 239 static inline void __refcount_inc(refcount_t *r, int *oldp) in __refcount_inc() argument 241 __refcount_add(1, r, oldp); in __refcount_inc() [all …]
|
H 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/ |
H 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/arch/xtensa/mm/ |
H 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/ |
H A D | gen-atomic-instrumented.sh | 104 typeof(oldp) __ai_oldp = (oldp); \\
|
/linux/security/selinux/ss/ |
H A D | services.h | 34 struct policydb *oldp; member
|
H A D | mls.h | 42 int mls_convert_context(struct policydb *oldp, struct policydb *newp,
|
H A D | services.c | 2077 sym_name(args->oldp, SYM_USERS, oldc->user - 1)); in services_convert_context() 2084 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in services_convert_context() 2091 sym_name(args->oldp, SYM_TYPES, oldc->type - 1)); in services_convert_context() 2097 if (args->oldp->mls_enabled && args->newp->mls_enabled) { in services_convert_context() 2098 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in services_convert_context() 2101 } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) { in services_convert_context() 2124 rc = convert_context_handle_invalid_context(args->oldp, oldc); in services_convert_context() 2132 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in services_convert_context() 2342 convert_data->args.oldp = &oldpolicy->policydb; in security_load_policy()
|
/linux/arch/mips/kernel/ |
H 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/Documentation/ |
H 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/ |
H 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/ |
H 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/ |
H 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/ |
H A D | memblock.c | 2335 char *oldp; in reserve_mem() local 2345 oldp = p; in reserve_mem() 2347 if (!size || p == oldp) in reserve_mem()
|