| /xnu-8020.140.41/tools/cocci/ |
| H A D | OSAtomic_rewrite.cocci | 11 + os_atomic_inc_orig(E, relaxed) 14 + os_atomic_inc_orig(E, relaxed) 17 + os_atomic_inc_orig(E, relaxed) 20 + os_atomic_inc_orig(E, relaxed) 23 + os_atomic_inc_orig(E, relaxed) 26 + os_atomic_inc_orig(E, relaxed) 29 + os_atomic_inc_orig(E, relaxed) 32 + os_atomic_inc_orig(E, relaxed) 35 + os_atomic_inc_orig(E, relaxed) 38 + os_atomic_inc_orig(E, relaxed) [all …]
|
| H A D | mcache_atomic_rewrite.cocci | 11 + os_atomic_inc_orig(E, relaxed) 17 + os_atomic_inc_orig(E, relaxed) 23 + os_atomic_inc_orig(E, relaxed)
|
| H A D | hw_atomic_rewrite.cocci | 23 + os_atomic_inc_orig(E, relaxed) 39 + os_atomic_inc_orig(E, relaxed)
|
| H A D | os_atomic_normalize.cocci | 37 + os_atomic_inc_orig(E, m) 43 + os_atomic_inc_orig(E, m)
|
| H A D | c11_atomic_builtin_rewrite.cocci | 57 + os_atomic_inc_orig
|
| /xnu-8020.140.41/tests/ |
| H A D | os_atomic.cpp | 16 T_ASSERT_EQ(os_atomic_inc_orig(&i, relaxed), 0, "atomic inc"); 22 T_ASSERT_EQ(os_atomic_inc_orig(&old_i, relaxed), 0, "atomic inc"); 28 T_ASSERT_EQ(os_atomic_inc_orig(&v_i, relaxed), 0, "atomic inc");
|
| /xnu-8020.140.41/osfmk/bank/ |
| H A D | bank_internal.h | 116 (os_atomic_inc_orig(&(elem)->bt_made, relaxed)) 166 (os_atomic_inc_orig(&(elem)->ba_made, relaxed))
|
| /xnu-8020.140.41/libkern/os/ |
| H A D | atomic_private.h | 443 #define os_atomic_inc_orig(p, m) _os_atomic_c11_op_orig(p, 1, m, fetch_add) macro 795 #define os_atomic_inc_orig(p, m) _os_atomic_error_is_starvable(os_atomic_inc_orig) macro
|
| /xnu-8020.140.41/libkern/gen/ |
| H A D | OSAtomicOperations.c | 143 return os_atomic_inc_orig(value, relaxed); in OSIncrementAtomic() 213 return os_atomic_inc_orig(value, relaxed); in OSIncrementAtomic8()
|
| /xnu-8020.140.41/bsd/sys/ |
| H A D | eventvar.h | 373 … unsigned int __index = os_atomic_inc_orig(&__kqwl->kqwl_preadopt_tg_history_index, relaxed); \ 398 unsigned int __index = os_atomic_inc_orig(&__kqwl->kqwl_index, relaxed); \
|
| /xnu-8020.140.41/san/coverage/ |
| H A D | kcov_ksancov.c | 118 uint32_t idx = os_atomic_inc_orig(&dev->trace->kt_head, relaxed); in trace_pc_guard_pcs() 135 uint32_t idx = os_atomic_inc_orig(&dev->trace->kt_head, relaxed); in trace_pc_guard_pcs_stk()
|
| /xnu-8020.140.41/bsd/dev/dtrace/ |
| H A D | dtrace_subr.c | 383 minor_t minor = os_atomic_inc_orig(&next_minor, relaxed) % DTRACE_NCLIENTS; in dtrace_state_reserve()
|
| /xnu-8020.140.41/osfmk/kern/ |
| H A D | lock_group.c | 459 __unused uint64_t val = os_atomic_inc_orig(&stat->lgs_count, relaxed); in lck_grp_inc_stats()
|
| H A D | thread.h | 528 uint64_t __index = os_atomic_inc_orig(&thread->workq_quantum_history_index, relaxed); \
|
| /xnu-8020.140.41/bsd/vfs/ |
| H A D | vfs_lookup.c | 421 old_count = os_atomic_inc_orig(&rootdir_with_usecount->v_usecount, relaxed); in namei() 430 old_count = os_atomic_inc_orig(&dp->v_usecount, relaxed); in namei()
|
| H A D | vfs_syscalls.c | 902 mp->mnt_mount_id = os_atomic_inc_orig(&mount_unique_id, relaxed); in mount_common()
|
| /xnu-8020.140.41/bsd/kern/ |
| H A D | sys_ulock.c | 636 if (os_atomic_inc_orig(&fault_inject, relaxed) % 73 == 0) { in sys_ulock_wait2()
|
| H A D | sys_pipe.c | 621 pp->pp_pipe_id = os_atomic_inc_orig(&pipe_unique_id, relaxed); in pipepair_alloc()
|
| /xnu-8020.140.41/doc/ |
| H A D | atomics.md | 212 printf("%d\n", os_atomic_inc_orig(&i)); // prints 0
|
| /xnu-8020.140.41/osfmk/arm/ |
| H A D | pmap.c | 9530 if (__improbable(os_atomic_inc_orig(&subord->ref_count, relaxed) <= 0)) {
|