| /xnu-12377.1.9/tools/cocci/ |
| H A D | OSAtomic_rewrite.cocci | 47 + os_atomic_dec_orig(E, relaxed) 50 + os_atomic_dec_orig(E, relaxed) 53 + os_atomic_dec_orig(E, relaxed) 56 + os_atomic_dec_orig(E, relaxed) 59 + os_atomic_dec_orig(E, relaxed) 62 + os_atomic_dec_orig(E, relaxed) 65 + os_atomic_dec_orig(E, relaxed) 68 + os_atomic_dec_orig(E, relaxed) 71 + os_atomic_dec_orig(E, relaxed) 74 + os_atomic_dec_orig(E, relaxed) [all …]
|
| H A D | hw_atomic_rewrite.cocci | 11 + os_atomic_dec_orig(E, relaxed) 51 + os_atomic_dec_orig(E, relaxed)
|
| H A D | os_atomic_normalize.cocci | 49 + os_atomic_dec_orig(E, m) 55 + os_atomic_dec_orig(E, m)
|
| H A D | c11_atomic_builtin_rewrite.cocci | 81 + os_atomic_dec_orig
|
| /xnu-12377.1.9/osfmk/bank/ |
| H A D | bank_internal.h | 123 (os_atomic_dec_orig(&(elem)->bt_made, relaxed)) 174 (os_atomic_dec_orig(&(elem)->ba_made, relaxed))
|
| /xnu-12377.1.9/libkern/gen/ |
| H A D | OSAtomicOperations.c | 146 return os_atomic_dec_orig(value, relaxed); in OSDecrementAtomic() 215 return os_atomic_dec_orig(value, relaxed); in OSDecrementAtomic8()
|
| /xnu-12377.1.9/bsd/kern/ |
| H A D | kern_persona.c | 340 if (os_atomic_dec_orig(&g_total_personas, relaxed) == 0) { in persona_put_and_unlock() 415 if (os_atomic_dec_orig(&g_total_personas, relaxed) == 0) { in persona_lookup_and_invalidate()
|
| H A D | kern_subr.c | 1082 if (__improbable(os_atomic_dec_orig(&uio_t_count, relaxed) == 0)) { in uio_free()
|
| H A D | kern_aio.c | 474 if (os_atomic_dec_orig(&aio_anchor.aio_total_count, relaxed) <= 0) { in aio_proc_remove_done_locked()
|
| /xnu-12377.1.9/libkern/os/ |
| H A D | atomic_private.h | 451 #define os_atomic_dec_orig(p, m) _os_atomic_c11_op_orig(p, 1, m, fetch_sub) macro
|
| /xnu-12377.1.9/osfmk/kern/ |
| H A D | exclaves_xnuproxy.c | 130 os_atomic_dec_orig(&exclaves_ipcb_cnt, relaxed); in exclaves_ipc_buffer_count_dec()
|
| H A D | btlog.c | 1493 if (os_atomic_dec_orig(counter, relaxed) != 0) { in btlog_sample()
|
| H A D | exclaves_resource.c | 793 uint32_t orig = os_atomic_dec_orig(&resource->r_usecnt, release); in exclaves_resource_release()
|
| /xnu-12377.1.9/osfmk/arm64/sptm/pmap/ |
| H A D | pmap_data.c | 1093 if (__improbable((refcountp != NULL) && (os_atomic_dec_orig(refcountp, relaxed) == 0))) { in pv_alloc() 1935 os_atomic_dec_orig(&ptdp->ptd_info->wiredcnt, release); in ptd_info_finalize()
|
| H A D | pmap.c | 700 if (__improbable(os_atomic_dec_orig(ptd_wiredcnt_ptr, relaxed) == 0)) { in pte_update_wiredcnt() 3954 …if (__improbable(os_atomic_dec_orig(&sptm_pcpu->sptm_ptd_info[cur_mapping]->wiredcnt, relaxed) == …
|
| /xnu-12377.1.9/bsd/skywalk/lib/ |
| H A D | cuckoo_hashtable_test.c | 334 VERIFY(os_atomic_dec_orig(&chth_cnt, relaxed) != 0); in cht_concurrent_ops_done()
|
| /xnu-12377.1.9/bsd/vfs/ |
| H A D | vfs_lookup.c | 619 old_count = os_atomic_dec_orig(&rootdir_with_usecount->v_usecount, relaxed); in namei() 682 old_count = os_atomic_dec_orig(&rootdir_with_usecount->v_usecount, relaxed); in namei()
|
| H A D | vfs_cluster.c | 957 if (os_atomic_dec_orig(&verify_in_flight, relaxed) == 0) { in cluster_handle_verification() 977 if (os_atomic_dec_orig(&verify_in_flight, relaxed) == 0) { in cluster_handle_verification()
|
| H A D | vfs_subr.c | 2679 old_usecount = os_atomic_dec_orig(&vp->v_usecount, relaxed); in vnode_rele_internal() 6165 int32_t old_holdcount = os_atomic_dec_orig(&vp->v_holdcount, relaxed); in vnode_drop_internal()
|
| /xnu-12377.1.9/bsd/net/ |
| H A D | dlil_subr.c | 497 oldval = os_atomic_dec_orig(&proto->refcount, relaxed); in if_proto_free()
|
| H A D | ntstat.c | 681 os_atomic_dec_orig(&nstat_global_counts._field, relaxed); \
|
| /xnu-12377.1.9/osfmk/vm/ |
| H A D | vm_reclaim.c | 287 if (os_atomic_dec_orig(&vm_reclaim_buffer_count, relaxed) == 0) { in vmdr_metadata_free()
|
| H A D | vm_compressor.c | 5409 os_atomic_dec_orig(&vm_page_swapped_count, relaxed); in c_decompress_page()
|
| /xnu-12377.1.9/bsd/skywalk/mem/ |
| H A D | skmem_test.c | 1683 VERIFY(os_atomic_dec_orig(&skmth_cnt, relaxed) != 0); in skmem_test_func()
|
| /xnu-12377.1.9/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.c | 3032 oref = os_atomic_dec_orig(&na->na_refcount, relaxed); in na_release_locked()
|