Searched refs:oldp (Results 1 - 15 of 15) 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_64.h76 static __always_inline bool arch_try_cmpxchg128(volatile u128 *ptr, u128 *oldp, u128 new) argument
78 return __arch_try_cmpxchg128(ptr, oldp, new, LOCK_PREFIX);
82 static __always_inline bool arch_try_cmpxchg128_local(volatile u128 *ptr, u128 *oldp, u128 new) argument
84 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.c1996 * specified in the policy @args->oldp to the values specified in the policy
2048 sym_name(args->oldp, SYM_USERS, oldc->user - 1));
2055 sym_name(args->oldp, SYM_ROLES, oldc->role - 1));
2062 sym_name(args->oldp, SYM_TYPES, oldc->type - 1));
2068 if (args->oldp->mls_enabled && args->newp->mls_enabled) {
2069 rc = mls_convert_context(args->oldp, args->newp, oldc, newc);
2072 } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) {
2095 rc = convert_context_handle_invalid_context(args->oldp, oldc);
2103 rc = context_struct_to_string(args->oldp, oldc, &s, &len);
2313 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/arch/x86/boot/compressed/
H A Dkaslr.c130 char *oldp; local
139 oldp = p;
141 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/mips/kernel/
H A Dsetup.c379 char *oldp; local
390 oldp = p;
392 if (p == oldp)
/linux-master/arch/x86/kernel/
H A De820.c920 char *oldp; local
932 oldp = p;
934 if (p == oldp)
/linux-master/drivers/net/arcnet/
H A Darcnet.c1156 *oldp = arc_proto_map[lp->default_proto[rxdata.pkt.hard.source]], local
1159 if (oldp != newp) {
1163 newp->suffix, oldp->suffix);

Completed in 196 milliseconds