Searched refs:oldp (Results 1 - 17 of 17) sorted by relevance

/linux-master/include/linux/
H A Drefcount.h140 bool __refcount_add_not_zero(int i, refcount_t *r, int *oldp) argument
149 if (oldp)
150 *oldp = old;
182 void __refcount_add(int i, refcount_t *r, int *oldp) argument
186 if (oldp)
187 *oldp = old;
216 static inline __must_check bool __refcount_inc_not_zero(refcount_t *r, int *oldp) argument
218 return __refcount_add_not_zero(1, r, oldp);
239 static inline void __refcount_inc(refcount_t *r, int *oldp) argument
241 __refcount_add(1, r, oldp);
262 __refcount_sub_and_test(int i, refcount_t *r, int *oldp) argument
305 __refcount_dec_and_test(refcount_t *r, int *oldp) argument
328 __refcount_dec(refcount_t *r, int *oldp) argument
[all...]
H A Dnodemask.h356 const nodemask_t *oldp, const nodemask_t *newp, int nbits)
358 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits);
364 const nodemask_t *oldp, const nodemask_t *newp, int nbits)
366 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits);
355 __node_remap(int oldbit, const nodemask_t *oldp, const nodemask_t *newp, int nbits) argument
363 __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, const nodemask_t *oldp, const nodemask_t *newp, int nbits) argument
/linux-master/arch/x86/include/asm/
H A Dcmpxchg_32.h62 static __always_inline bool __try_cmpxchg64(volatile u64 *ptr, u64 *oldp, u64 new) argument
64 return __arch_try_cmpxchg64(ptr, oldp, new, LOCK_PREFIX);
67 static __always_inline bool __try_cmpxchg64_local(volatile u64 *ptr, u64 *oldp, u64 new) argument
69 return __arch_try_cmpxchg64(ptr, oldp, new,);
139 static __always_inline bool arch_try_cmpxchg64(volatile u64 *ptr, u64 *oldp, u64 new) argument
141 return __arch_try_cmpxchg64_emu(ptr, oldp, new, LOCK_PREFIX_HERE, "lock; ");
145 static __always_inline bool arch_try_cmpxchg64_local(volatile u64 *ptr, u64 *oldp, u64 new) argument
147 return __arch_try_cmpxchg64_emu(ptr, oldp, new, ,);
H A Dcmpxchg_64.h82 static __always_inline bool arch_try_cmpxchg128(volatile u128 *ptr, u128 *oldp, u128 new) argument
84 return __arch_try_cmpxchg128(ptr, oldp, new, LOCK_PREFIX);
88 static __always_inline bool arch_try_cmpxchg128_local(volatile u128 *ptr, u128 *oldp, u128 new) argument
90 return __arch_try_cmpxchg128(ptr, oldp, new,);
/linux-master/security/selinux/ss/
H A Dservices.h34 struct policydb *oldp; member in struct:convert_context_args
H A Dmls.h42 int mls_convert_context(struct policydb *oldp, struct policydb *newp,
H A Dmls.c436 * policy `oldp' to the values specified in the policy `newp',
439 int mls_convert_context(struct policydb *oldp, struct policydb *newp, argument
448 if (!oldp->mls_enabled || !newp->mls_enabled)
452 char *name = sym_name(oldp, SYM_LEVELS,
467 sym_name(oldp, SYM_CATS, i));
H A Dservices.c1995 * specified in the policy @args->oldp to the values specified in the policy
2047 sym_name(args->oldp, SYM_USERS, oldc->user - 1));
2054 sym_name(args->oldp, SYM_ROLES, oldc->role - 1));
2061 sym_name(args->oldp, SYM_TYPES, oldc->type - 1));
2067 if (args->oldp->mls_enabled && args->newp->mls_enabled) {
2068 rc = mls_convert_context(args->oldp, args->newp, oldc, newc);
2071 } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) {
2094 rc = convert_context_handle_invalid_context(args->oldp, oldc);
2102 rc = context_struct_to_string(args->oldp, oldc, &s, &len);
2312 convert_data->args.oldp
[all...]
/linux-master/include/linux/atomic/
H A Datomic-instrumented.h4873 #define try_cmpxchg(ptr, oldp, ...) \
4876 typeof(oldp) __ai_oldp = (oldp); \
4883 #define try_cmpxchg_acquire(ptr, oldp, ...) \
4886 typeof(oldp) __ai_oldp = (oldp); \
4892 #define try_cmpxchg_release(ptr, oldp, ...) \
4895 typeof(oldp) __ai_oldp = (oldp); \
4902 #define try_cmpxchg_relaxed(ptr, oldp,
[all...]
/linux-master/arch/xtensa/mm/
H A Dinit.c172 char *oldp; local
178 oldp = p;
180 if (p == oldp)
/linux-master/scripts/atomic/
H A Dgen-atomic-instrumented.sh101 #define ${xchg}${order}(ptr, oldp, ...) \\
104 typeof(oldp) __ai_oldp = (oldp); \\
/linux-master/fs/xfs/scrub/
H A Dorphanage.c57 struct xfs_dquot *oldu = NULL, *oldg = NULL, *oldp = NULL; local
94 oldp = xfs_qm_vop_chown(tp, dp, &dp->i_pdquot, pdqp);
109 xfs_qm_dqrele(oldp);
/linux-master/arch/x86/boot/compressed/
H A Dkaslr.c130 char *oldp; local
139 oldp = p;
141 if (p == oldp)
/linux-master/arch/mips/kernel/
H A Dsetup.c379 char *oldp; local
390 oldp = p;
392 if (p == oldp)
/linux-master/arch/arm64/kernel/
H A Dproton-pack.c39 static void update_mitigation_state(enum mitigation_state *oldp, argument
45 state = READ_ONCE(*oldp);
52 } while (cmpxchg_relaxed(oldp, state, new) != state);
/linux-master/arch/x86/kernel/
H A De820.c921 char *oldp; local
933 oldp = p;
935 if (p == oldp)
/linux-master/drivers/net/arcnet/
H A Darcnet.c1157 *oldp = arc_proto_map[lp->default_proto[rxdata.pkt.hard.source]], local
1160 if (oldp != newp) {
1164 newp->suffix, oldp->suffix);

Completed in 238 milliseconds