/openbmc/linux/include/linux/ |
H A 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 …]
|
H 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()
|
/openbmc/linux/include/linux/atomic/ |
H A D | atomic-instrumented.h | 4831 #define try_cmpxchg(ptr, oldp, ...) \ argument 4834 typeof(oldp) __ai_oldp = (oldp); \ 4841 #define try_cmpxchg_acquire(ptr, oldp, ...) \ argument 4844 typeof(oldp) __ai_oldp = (oldp); \ 4850 #define try_cmpxchg_release(ptr, oldp, ...) \ argument 4853 typeof(oldp) __ai_oldp = (oldp); \ 4860 #define try_cmpxchg_relaxed(ptr, oldp, ...) \ argument 4863 typeof(oldp) __ai_oldp = (oldp); \ 4869 #define try_cmpxchg64(ptr, oldp, ...) \ argument 4872 typeof(oldp) __ai_oldp = (oldp); \ [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | cmpxchg_64.h | 76 static __always_inline bool arch_try_cmpxchg128(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128() argument 78 return __arch_try_cmpxchg128(ptr, oldp, new, LOCK_PREFIX); in arch_try_cmpxchg128() 82 static __always_inline bool arch_try_cmpxchg128_local(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128_local() argument 84 return __arch_try_cmpxchg128(ptr, oldp, new,); in arch_try_cmpxchg128_local()
|
/openbmc/qemu/bsd-user/freebsd/ |
H A D | os-sys.c | 482 int32_t namelen, abi_ulong oldp, abi_ulong oldlenp, abi_ulong newp, in do_freebsd_sysctlbyname() argument 509 if (oldp) { in do_freebsd_sysctlbyname() 510 holdp = lock_user(VERIFY_WRITE, oldp, oldlen, 0); in do_freebsd_sysctlbyname() 535 unlock_user(holdp, oldp, ret == 0 ? holdlen : 0); in do_freebsd_sysctlbyname() 542 abi_ulong oldp, abi_ulong oldlenp, abi_ulong newp, abi_ulong newlen) in do_freebsd_sysctl() argument 567 if (oldp) { in do_freebsd_sysctl() 568 holdp = lock_user(VERIFY_WRITE, oldp, oldlen, 0); in do_freebsd_sysctl() 589 unlock_user(holdp, oldp, ret == 0 ? holdlen : 0); in do_freebsd_sysctl()
|
/openbmc/linux/arch/xtensa/mm/ |
H 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()
|
/openbmc/u-boot/common/ |
H A D | dlmalloc.c | 1654 mchunkptr oldp; /* chunk corresponding to oldmem */ local 1692 newp = oldp = mem2chunk(oldmem); 1693 newsize = oldsize = chunksize(oldp); 1699 if (chunk_is_mmapped(oldp)) 1702 newp = mremap_chunk(oldp, nb); 1712 munmap_chunk(oldp); 1717 check_inuse_chunk(oldp); 1724 next = chunk_at_offset(oldp, oldsize); 1735 top = chunk_at_offset(oldp, nb); 1737 set_head_size(oldp, nb); [all …]
|
H A D | dlmalloc.src | 2502 mchunkptr oldp; /* chunk corresponding to oldmem */ 2509 mchunkptr next; /* next contiguous chunk after oldp */ 2512 mchunkptr prev; /* previous contiguous chunk before oldp */ 2530 newp = oldp = mem2chunk(oldmem); 2531 newsize = oldsize = chunksize(oldp); 2537 if (chunk_is_mmapped(oldp)) 2540 newp = mremap_chunk(oldp, nb); 2549 munmap_chunk(oldp); 2554 check_inuse_chunk(oldp); 2561 next = chunk_at_offset(oldp, oldsize); [all …]
|
/openbmc/qemu/hw/core/ |
H A D | resettable.c | 205 void resettable_change_parent(Object *obj, Object *newp, Object *oldp) in resettable_change_parent() argument 210 unsigned oldp_count = resettable_get_count(oldp); in resettable_change_parent() 221 trace_resettable_change_parent(obj, oldp, oldp_count, newp, newp_count); in resettable_change_parent()
|
H A D | trace-events | 5 qdev_update_parent_bus(void *obj, const char *objtype, void *oldp, const char *oldptype, void *newp…
|
/openbmc/linux/scripts/atomic/ |
H A D | gen-atomic-instrumented.sh | 104 typeof(oldp) __ai_oldp = (oldp); \\
|
/openbmc/linux/security/selinux/ss/ |
H A D | mls.c | 447 int mls_convert_context(struct policydb *oldp, in mls_convert_context() argument 458 if (!oldp->mls_enabled || !newp->mls_enabled) in mls_convert_context() 462 char *name = sym_name(oldp, SYM_LEVELS, in mls_convert_context() 476 sym_name(oldp, SYM_CATS, i)); in mls_convert_context()
|
H A D | services.h | 33 struct policydb *oldp; member
|
H A D | mls.h | 50 int mls_convert_context(struct policydb *oldp,
|
H A D | services.c | 2041 sym_name(args->oldp, SYM_USERS, oldc->user - 1)); in services_convert_context() 2048 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in services_convert_context() 2055 sym_name(args->oldp, SYM_TYPES, oldc->type - 1)); in services_convert_context() 2061 if (args->oldp->mls_enabled && args->newp->mls_enabled) { in services_convert_context() 2062 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in services_convert_context() 2065 } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) { in services_convert_context() 2088 rc = convert_context_handle_invalid_context(args->oldp, oldc); in services_convert_context() 2096 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in services_convert_context() 2306 convert_data->args.oldp = &oldpolicy->policydb; in security_load_policy()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | setup.c | 383 char *oldp; in early_parse_memmap() local 394 oldp = p; in early_parse_memmap() 396 if (p == oldp) in early_parse_memmap()
|
/openbmc/qemu/include/hw/ |
H A D | resettable.h | 213 void resettable_change_parent(Object *obj, Object *newp, Object *oldp);
|
/openbmc/linux/Documentation/ |
H 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;
|
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | kaslr.c | 130 char *oldp; in parse_memmap() local 139 oldp = p; in parse_memmap() 141 if (p == oldp) in parse_memmap()
|
/openbmc/linux/arch/arm64/kernel/ |
H 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()
|
/openbmc/qemu/bsd-user/ |
H A D | qemu.h | 272 abi_ulong oldp, abi_ulong oldlenp, abi_ulong newp, abi_ulong newlen); 274 int32_t namelen, abi_ulong oldp, abi_ulong oldlenp, abi_ulong newp,
|
/openbmc/linux/arch/x86/kernel/ |
H 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()
|
/openbmc/linux/drivers/net/arcnet/ |
H A D | arcnet.c | 1155 *oldp = arc_proto_map[lp->default_proto[rxdata.pkt.hard.source]], in arcnet_rx() local 1158 if (oldp != newp) { in arcnet_rx() 1162 newp->suffix, oldp->suffix); in arcnet_rx()
|
/openbmc/openbmc/poky/bitbake/lib/ply/ |
H A D | yacc.py | 2439 oldp = Productions[-r] 2441 if oldp.line > pp.line: 2444 chosenp,rejectp = pp,oldp 2446 Productions[oldp.number].reduced -= 1 2448 chosenp,rejectp = oldp,pp
|