/linux/include/linux/ |
A D | refcount.h | 159 if (oldp) in __refcount_add_not_zero() 160 *oldp = old; in __refcount_add_not_zero() 195 if (oldp) in __refcount_add() 196 *oldp = old; in __refcount_add() 227 return __refcount_add_not_zero(1, r, oldp); in __refcount_inc_not_zero() 250 __refcount_add(1, r, oldp); in __refcount_inc() 274 if (oldp) in __refcount_sub_and_test() 275 *oldp = old; in __refcount_sub_and_test() 315 return __refcount_sub_and_test(1, r, oldp); in __refcount_dec_and_test() 340 if (oldp) in __refcount_dec() [all …]
|
A D | nodemask.h | 348 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap() argument 350 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits); in __node_remap() 356 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap() argument 358 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits); in __nodes_remap()
|
/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 | 86 typeof(oldp) __ai_oldp = (oldp); \\
|
/linux/include/linux/atomic/ |
A D | atomic-instrumented.h | 1842 #define try_cmpxchg(ptr, oldp, ...) \ argument 1845 typeof(oldp) __ai_oldp = (oldp); \ 1851 #define try_cmpxchg_acquire(ptr, oldp, ...) \ argument 1854 typeof(oldp) __ai_oldp = (oldp); \ 1860 #define try_cmpxchg_release(ptr, oldp, ...) \ argument 1863 typeof(oldp) __ai_oldp = (oldp); \ 1869 #define try_cmpxchg_relaxed(ptr, oldp, ...) \ argument 1872 typeof(oldp) __ai_oldp = (oldp); \
|
/linux/security/selinux/ss/ |
A D | mls.c | 447 int mls_convert_context(struct policydb *oldp, in mls_convert_context() argument 457 if (!oldp->mls_enabled || !newp->mls_enabled) in mls_convert_context() 461 char *name = sym_name(oldp, SYM_LEVELS, in mls_convert_context() 475 sym_name(oldp, SYM_CATS, i)); in mls_convert_context()
|
A D | mls.h | 50 int mls_convert_context(struct policydb *oldp,
|
A D | services.c | 73 struct policydb *oldp; member 2077 sym_name(args->oldp, in convert_context() 2085 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in convert_context() 2092 sym_name(args->oldp, in convert_context() 2099 if (args->oldp->mls_enabled && args->newp->mls_enabled) { in convert_context() 2100 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in convert_context() 2103 } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) { in convert_context() 2127 args->oldp, in convert_context() 2136 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in convert_context() 2348 convert_data->args.oldp = &oldpolicy->policydb; in security_load_policy()
|
/linux/arch/arm64/kernel/ |
A D | proton-pack.c | 36 static void update_mitigation_state(enum mitigation_state *oldp, in update_mitigation_state() argument 42 state = READ_ONCE(*oldp); in update_mitigation_state() 49 } while (cmpxchg_relaxed(oldp, state, new) != state); in update_mitigation_state()
|
/linux/arch/mips/kernel/ |
A D | setup.c | 370 char *oldp; in early_parse_memmap() local 381 oldp = p; in early_parse_memmap() 383 if (p == oldp) in early_parse_memmap()
|
/linux/net/sched/ |
A 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/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/x86/boot/compressed/ |
A D | kaslr.c | 130 char *oldp; in parse_memmap() local 139 oldp = p; in parse_memmap() 141 if (p == oldp) in parse_memmap()
|
/linux/arch/x86/kernel/ |
A 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/drivers/net/arcnet/ |
A 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()
|