/linux-6.3-rc2/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 | 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-6.3-rc2/include/linux/atomic/ |
A 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); \ 1993 typeof(oldp) __ai_oldp = (oldp); \ 2003 typeof(oldp) __ai_oldp = (oldp); \ 2009 #define try_cmpxchg64(ptr, oldp, ...) \ argument 2012 typeof(oldp) __ai_oldp = (oldp); \ 2022 typeof(oldp) __ai_oldp = (oldp); \ 2031 typeof(oldp) __ai_oldp = (oldp); \ [all …]
|
/linux-6.3-rc2/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-6.3-rc2/scripts/atomic/ |
A D | gen-atomic-instrumented.sh | 103 typeof(oldp) __ai_oldp = (oldp); \\
|
/linux-6.3-rc2/security/selinux/ss/ |
A 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()
|
A D | services.h | 34 struct policydb *oldp; member
|
A D | mls.h | 50 int mls_convert_context(struct policydb *oldp,
|
A D | services.c | 2071 sym_name(args->oldp, SYM_USERS, oldc->user - 1)); in services_convert_context() 2078 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in services_convert_context() 2085 sym_name(args->oldp, SYM_TYPES, oldc->type - 1)); in services_convert_context() 2091 if (args->oldp->mls_enabled && args->newp->mls_enabled) { in services_convert_context() 2092 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in services_convert_context() 2095 } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) { in services_convert_context() 2119 args->oldp, oldc); in services_convert_context() 2127 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in services_convert_context() 2340 convert_data->args.oldp = &oldpolicy->policydb; in security_load_policy()
|
/linux-6.3-rc2/arch/mips/kernel/ |
A 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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/arch/arm64/kernel/ |
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-6.3-rc2/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-6.3-rc2/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()
|