/Linux-v6.1/include/linux/ |
D | refcount.h | 150 static inline __must_check bool __refcount_add_not_zero(int i, refcount_t *r, int *oldp) in __refcount_add_not_zero() argument 159 if (oldp) in __refcount_add_not_zero() 160 *oldp = old; in __refcount_add_not_zero() 191 static inline void __refcount_add(int i, refcount_t *r, int *oldp) in __refcount_add() argument 195 if (oldp) in __refcount_add() 196 *oldp = old; in __refcount_add() 225 static inline __must_check bool __refcount_inc_not_zero(refcount_t *r, int *oldp) in __refcount_inc_not_zero() argument 227 return __refcount_add_not_zero(1, r, oldp); in __refcount_inc_not_zero() 248 static inline void __refcount_inc(refcount_t *r, int *oldp) in __refcount_inc() argument 250 __refcount_add(1, r, oldp); in __refcount_inc() [all …]
|
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-v6.1/include/linux/atomic/ |
D | atomic-instrumented.h | 1971 #define try_cmpxchg(ptr, oldp, ...) \ argument 1974 typeof(oldp) __ai_oldp = (oldp); \ 1981 #define try_cmpxchg_acquire(ptr, oldp, ...) \ argument 1984 typeof(oldp) __ai_oldp = (oldp); \ 1990 #define try_cmpxchg_release(ptr, oldp, ...) \ argument 1993 typeof(oldp) __ai_oldp = (oldp); \ 2000 #define try_cmpxchg_relaxed(ptr, oldp, ...) \ argument 2003 typeof(oldp) __ai_oldp = (oldp); \ 2009 #define try_cmpxchg64(ptr, oldp, ...) \ argument 2012 typeof(oldp) __ai_oldp = (oldp); \ [all …]
|
/Linux-v6.1/arch/xtensa/mm/ |
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-v6.1/scripts/atomic/ |
D | gen-atomic-instrumented.sh | 103 typeof(oldp) __ai_oldp = (oldp); \\
|
/Linux-v6.1/security/selinux/ss/ |
D | mls.c | 446 int mls_convert_context(struct policydb *oldp, in mls_convert_context() argument 456 if (!oldp->mls_enabled || !newp->mls_enabled) in mls_convert_context() 460 char *name = sym_name(oldp, SYM_LEVELS, in mls_convert_context() 474 sym_name(oldp, SYM_CATS, i)); in mls_convert_context()
|
D | mls.h | 50 int mls_convert_context(struct policydb *oldp,
|
D | services.c | 73 struct policydb *oldp; member 2076 sym_name(args->oldp, in convert_context() 2084 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in convert_context() 2091 sym_name(args->oldp, in convert_context() 2098 if (args->oldp->mls_enabled && args->newp->mls_enabled) { in convert_context() 2099 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in convert_context() 2102 } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) { in convert_context() 2126 args->oldp, in convert_context() 2135 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in convert_context() 2347 convert_data->args.oldp = &oldpolicy->policydb; in security_load_policy()
|
/Linux-v6.1/arch/mips/kernel/ |
D | setup.c | 380 char *oldp; in early_parse_memmap() local 391 oldp = p; in early_parse_memmap() 393 if (p == oldp) in early_parse_memmap()
|
/Linux-v6.1/net/sched/ |
D | cls_tcindex.c | 336 struct tcindex_data *cp = NULL, *oldp; in tcindex_set_parms() local 489 oldp = p; in tcindex_set_parms() 513 if (oldp) in tcindex_set_parms() 514 tcf_queue_work(&oldp->rwork, tcindex_partial_destroy_work); in tcindex_set_parms()
|
/Linux-v6.1/arch/x86/boot/compressed/ |
D | kaslr.c | 130 char *oldp; in parse_memmap() local 139 oldp = p; in parse_memmap() 141 if (p == oldp) in parse_memmap()
|
/Linux-v6.1/Documentation/ |
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-v6.1/arch/arm64/kernel/ |
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-v6.1/arch/x86/kernel/ |
D | e820.c | 920 char *oldp; in parse_memmap_one() local 932 oldp = p; in parse_memmap_one() 934 if (p == oldp) in parse_memmap_one()
|
/Linux-v6.1/drivers/net/arcnet/ |
D | arcnet.c | 1159 *oldp = arc_proto_map[lp->default_proto[rxdata.pkt.hard.source]], in arcnet_rx() local 1162 if (oldp != newp) { in arcnet_rx() 1166 newp->suffix, oldp->suffix); in arcnet_rx()
|