Home
last modified time | relevance | path

Searched refs:os_ref_release (Results 1 – 25 of 33) sorted by relevance

12

/xnu-8020.140.41/tests/
H A Dos_refcnt.c44 os_ref_count_t x = os_ref_release(&rc);
51 x = os_ref_release(&rc);
58 (void)os_ref_release(&rc);
59 (void)os_ref_release(&rc);
221 os_ref_count_t x = os_ref_release(&rc);
370 os_ref_count_t x = os_ref_release(&rc);
/xnu-8020.140.41/bsd/skywalk/namespace/
H A Dprotons.c152 os_ref_count_t refcnt = os_ref_release(&pt->pt_refcnt); in protons_token_release()
161 (void) os_ref_release(&pt->pt_refcnt); in protons_token_release()
184 (void) os_ref_release(&pt->pt_refcnt); in protons_reserve_locked()
/xnu-8020.140.41/libkern/os/
H A Drefcnt.h127 static os_ref_count_t os_ref_release(struct os_refcnt *) OS_WARN_RESULT;
H A Drefcnt_internal.h168 os_ref_release(struct os_refcnt *rc) in os_ref_release() function
184 if (__improbable(os_ref_release(rc) == 0)) { in os_ref_release_live()
/xnu-8020.140.41/bsd/net/
H A Ddevtimer.c121 if (os_ref_release(&timer->dt_retain_count) == 0) { in devtimer_release()
/xnu-8020.140.41/osfmk/ipc/
H A Dipc_voucher.h199 if (os_ref_release(&ivac->ivac_refs) == 0) { in ivac_release()
H A Dipc_eventlink.c938 if (os_ref_release(&ipc_eventlink_base->elb_ref_count) > 0) { in ipc_eventlink_deallocate()
H A Dipc_voucher.c127 if (os_ref_release(&iv->iv_refs) == 0) { in iv_release()
294 os_ref_count_t cnt __assert_only = os_ref_release(&iv->iv_refs); in iv_dealloc()
/xnu-8020.140.41/osfmk/kern/
H A Dtask_ident.c90 if (os_ref_release(&token->tidt_refs) > 0) { in tidt_release()
H A Dtask_ref.c541 os_ref_count_t refs = os_ref_release(&task->ref_count); in task_deallocate_grp()
H A Dlock_group.c259 os_ref_release(&grp->lck_grp_refcnt) == 0) { in lck_grp_deallocate()
H A Dthread_group.c587 if (os_ref_release(&tg->tg_refcount) == 0) { in thread_group_release()
610 if (os_ref_release(&tg->tg_refcount) == 0) { in thread_group_deallocate_safe()
H A Dhazard.c569 if (os_ref_release(&val->htv_ref) == 0) { in hazard_test_value_release()
H A Dwork_interval.c325 if (os_ref_release(&work_interval->wi_ref_count) == 0) { in work_interval_release()
H A Dtask.h604 #define task_watchports_release(x) (os_ref_release(&(x)->tw_refcount))
/xnu-8020.140.41/osfmk/arm64/
H A Dpcb.c285 if (os_ref_release(&thread->machine.DebugData->ref) == 0) { in machine_thread_destroy()
504 if (os_ref_release(&cpu_debug->ref) == 0) { in arm_debug_set32()
706 if (os_ref_release(&cpu_debug->ref) == 0) { in arm_debug_set64()
H A Dstatus.c1788 if (os_ref_release(&pTmp->ref) == 0) { in free_debug_state()
/xnu-8020.140.41/bsd/skywalk/lib/
H A Dcuckoo_hashtable_test.c123 (void)os_ref_release(&co->co_refcnt); in cht_obj_release()
183 ASSERT(os_ref_release(&cht_objs[i].co_refcnt) == 0); in cht_obj_fini()
/xnu-8020.140.41/bsd/net/classq/
H A Dclassq_subr.c870 if (os_ref_release(&ifcq->ifcq_refcnt) == 0) { in ifclassq_release()
/xnu-8020.140.41/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_entry.c501 if (__improbable(os_ref_release(&fe->fe_refcnt) == 0)) { in flow_entry_release()
/xnu-8020.140.41/bsd/kern/
H A Dsocket_flows.c141 if (entry && (os_ref_release(&entry->soflow_ref_count) == 0)) { \
146 if (db && (os_ref_release(&db->soflow_db_ref_count) == 0)) { \
H A Dkern_aio.c426 if (os_ref_release(&entryp->aio_refcount) == 0) { in aio_entry_unref()
/xnu-8020.140.41/bsd/skywalk/nexus/netif/
H A Dnx_netif_llink.c124 if (os_ref_release(&llink->nll_refcnt) == 0) { in nx_netif_llink_release()
/xnu-8020.140.41/bsd/skywalk/
H A Dos_stats_private.h1354 if (__improbable(os_ref_release(&fs->fs_refcnt) == 0)) { in flow_stats_release()
/xnu-8020.140.41/osfmk/arm/pmap/
H A Dpmap_data.c3020 if (os_ref_release(&pmap_ledger_refcnt[array_index]) != 0) { in pmap_ledger_free_internal()

12