Home
last modified time | relevance | path

Searched refs:os_atomic_dec_orig (Results 1 – 25 of 26) sorted by relevance

12

/xnu-12377.1.9/tools/cocci/
H A DOSAtomic_rewrite.cocci47 + 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 Dhw_atomic_rewrite.cocci11 + os_atomic_dec_orig(E, relaxed)
51 + os_atomic_dec_orig(E, relaxed)
H A Dos_atomic_normalize.cocci49 + os_atomic_dec_orig(E, m)
55 + os_atomic_dec_orig(E, m)
H A Dc11_atomic_builtin_rewrite.cocci81 + os_atomic_dec_orig
/xnu-12377.1.9/osfmk/bank/
H A Dbank_internal.h123 (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 DOSAtomicOperations.c146 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 Dkern_persona.c340 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 Dkern_subr.c1082 if (__improbable(os_atomic_dec_orig(&uio_t_count, relaxed) == 0)) { in uio_free()
H A Dkern_aio.c474 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 Datomic_private.h451 #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 Dexclaves_xnuproxy.c130 os_atomic_dec_orig(&exclaves_ipcb_cnt, relaxed); in exclaves_ipc_buffer_count_dec()
H A Dbtlog.c1493 if (os_atomic_dec_orig(counter, relaxed) != 0) { in btlog_sample()
H A Dexclaves_resource.c793 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 Dpmap_data.c1093 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 Dpmap.c700 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 Dcuckoo_hashtable_test.c334 VERIFY(os_atomic_dec_orig(&chth_cnt, relaxed) != 0); in cht_concurrent_ops_done()
/xnu-12377.1.9/bsd/vfs/
H A Dvfs_lookup.c619 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 Dvfs_cluster.c957 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 Dvfs_subr.c2679 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 Ddlil_subr.c497 oldval = os_atomic_dec_orig(&proto->refcount, relaxed); in if_proto_free()
H A Dntstat.c681 os_atomic_dec_orig(&nstat_global_counts._field, relaxed); \
/xnu-12377.1.9/osfmk/vm/
H A Dvm_reclaim.c287 if (os_atomic_dec_orig(&vm_reclaim_buffer_count, relaxed) == 0) { in vmdr_metadata_free()
H A Dvm_compressor.c5409 os_atomic_dec_orig(&vm_page_swapped_count, relaxed); in c_decompress_page()
/xnu-12377.1.9/bsd/skywalk/mem/
H A Dskmem_test.c1683 VERIFY(os_atomic_dec_orig(&skmth_cnt, relaxed) != 0); in skmem_test_func()
/xnu-12377.1.9/bsd/skywalk/nexus/
H A Dnexus_adapter.c3032 oref = os_atomic_dec_orig(&na->na_refcount, relaxed); in na_release_locked()

12