Home
last modified time | relevance | path

Searched refs:os_ref_init (Results 1 – 25 of 34) sorted by relevance

12

/xnu-8019.80.24/tests/
H A Dos_refcnt.c37 os_ref_init(&rc, NULL);
55 os_ref_init(&rc, NULL);
99 os_ref_init(&rc, NULL);
205 os_ref_init(&rc, &g1);
361 os_ref_init(&rc, NULL);
/xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_stats.c88 os_ref_init(&fs->fs_refcnt, &flow_stats_refgrp); in flow_stats_alloc()
H A Dflow_entry.c666 os_ref_init(&fe->fe_refcnt, &flow_entry_refgrp); in fe_alloc()
/xnu-8019.80.24/bsd/kern/
H A Dsys_reason.c71 os_ref_init(&new_reason->osr_refcount, &os_reason_refgrp); in os_reason_create()
H A Dsocket_flows.c406 os_ref_init(&db->soflow_db_ref_count, &soflow_refgrp); in soflow_db_init()
729 os_ref_init(&entry->soflow_ref_count, &soflow_refgrp); in soflow_db_add_entry()
H A Dkern_persona.c172 os_ref_init(&persona->pna_refcount, &persona_refgrp); in persona_alloc()
H A Dkpi_socketfilter.c1386 os_ref_init(&sock_filt->sf_refcount, NULL); in sflt_register_common()
H A Dkern_aio.c1687 os_ref_init(&entryp->aio_refcount, &aio_refgrp); in aio_create_queue_entry()
H A Dkern_credential.c3724 os_ref_init(&rw->crw_weak_ref, NULL);
/xnu-8019.80.24/libkern/os/
H A Drefcnt.h101 #define os_ref_init(rc, grp) os_ref_init_count((rc), (grp), 1) macro
/xnu-8019.80.24/bsd/skywalk/lib/
H A Dcuckoo_hashtable_test.c177 os_ref_init(&cht_objs[i].co_refcnt, &cht_obj_refgrp); in cht_obj_init()
218 os_ref_init(&co1.co_refcnt, &cht_obj_refgrp); in cht_basic_tests()
219 os_ref_init(&co2.co_refcnt, &cht_obj_refgrp); in cht_basic_tests()
/xnu-8019.80.24/bsd/net/
H A Ddevtimer.c168 os_ref_init(&timer->dt_retain_count, NULL); in devtimer_create()
/xnu-8019.80.24/bsd/skywalk/namespace/
H A Dprotons.c95 os_ref_init(&pt->pt_refcnt, &protons_token_refgrp); in protons_token_alloc()
/xnu-8019.80.24/osfmk/kern/
H A Drestartable.c288 os_ref_init(&rr->rr_ref, NULL); in _restartable_ranges_create()
H A Dwork_interval.c891 os_ref_init(&work_interval->wi_ref_count, NULL); in kern_work_interval_create()
H A Dthread_group.c318 os_ref_init(&tg->tg_refcount, NULL); in thread_group_create_and_retain()
H A Dlocks.c164 os_ref_init(&LockCompatGroup.lck_grp_refcnt, NULL); in lck_mod_init()
298 os_ref_init(&grp->lck_grp_refcnt, NULL); in lck_grp_init()
H A Dledger.c661 os_ref_init(&ledger->l_refs, &ledger_refgrp); in ledger_instantiate()
/xnu-8019.80.24/bsd/net/classq/
H A Dclassq_subr.c852 os_ref_init(&ifcq->ifcq_refcnt, NULL); in ifclassq_alloc()
/xnu-8019.80.24/osfmk/vm/
H A Dvm_shared_region_pager.c222 os_ref_init(&new->srk_ref_count, &srk_refgrp); in shared_region_key_alloc()
/xnu-8019.80.24/osfmk/ipc/
H A Dipc_voucher.c234 os_ref_init(&iv->iv_refs, &iv_refgrp); in iv_alloc()
534 os_ref_init(&ivac->ivac_refs, &ivac_refgrp); in ivac_alloc()
/xnu-8019.80.24/bsd/skywalk/nexus/netif/
H A Dnx_netif_llink.c119 os_ref_init(&llink->nll_refcnt, NULL); in nx_netif_llink_alloc()
/xnu-8019.80.24/osfmk/x86_64/
H A Dpmap.c472 os_ref_init(&kernel_pmap->ref_count, NULL); in pmap_bootstrap()
1574 os_ref_init(&p->ref_count, NULL); in pmap_create_options()
/xnu-8019.80.24/osfmk/arm/pmap/
H A Dpmap_data.c2960 os_ref_init(&pmap_ledger_refcnt[array_index], NULL); in pmap_ledger_alloc_internal()
/xnu-8019.80.24/bsd/skywalk/mem/
H A Dskmem_test.c240 os_ref_init(&skmem_pp_ctx.skmem_pp_ctx_refcnt, NULL); in skmem_buflet_tests()

12