Home
last modified time | relevance | path

Searched refs:refcount_init (Results 1 – 25 of 84) sorted by relevance

1234

/freebsd/sys/dev/nvmf/host/
H A Dnvmf_ns.c237 refcount_init(bio_refs(bio), 2); in nvmf_ns_submit_bio()
243 refcount_init(bio_refs(bio), 2); in nvmf_ns_submit_bio()
250 refcount_init(bio_refs(bio), 1); in nvmf_ns_submit_bio()
346 refcount_init(&ns->active_bios, 1); in nvmf_init_ns()
H A Dnvmf_sim.c136 refcount_init(ccb_refs(ccb), 2); in nvmf_sim_io()
142 refcount_init(ccb_refs(ccb), 1); in nvmf_sim_io()
/freebsd/sys/dev/drm2/ttm/
H A Dttm_object.c161 refcount_init(&base->refcount, 1); in ttm_base_object_init()
289 refcount_init(&ref->kref, 1); in ttm_ref_object_add()
394 refcount_init(&tfile->refcount, 1); in ttm_object_file_init()
H A Dttm_memory.c206 refcount_init(&zone->kobj_ref, 1); in ttm_mem_init_kernel_zone()
242 refcount_init(&zone->kobj_ref, 1); in ttm_mem_init_dma32_zone()
260 refcount_init(&glob->kobj_ref, 1); in ttm_mem_global_init()
H A Dttm_bo_util.c428 refcount_init(&fbo->list_kref, 1); in ttm_buffer_object_transfer()
429 refcount_init(&fbo->kref, 1); in ttm_buffer_object_transfer()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dkref.h51 refcount_init((uint32_t *)&kref->refcount, 1); in kref_init()
/freebsd/sys/sys/
H A Dsglist.h68 refcount_init(&sg->sg_refs, 1); in sglist_init()
H A Drefcount.h59 refcount_init(volatile u_int *count, u_int value) in refcount_init() function
/freebsd/sys/kern/
H A Dkern_loginclass.c147 refcount_init(&new_lc->lc_refcount, 1); in loginclass_find()
H A Dinit_main.c509 refcount_init(&session0.s_count, 1); in proc0_init()
615 refcount_init(&vmspace0.vm_refcnt, 1); in proc0_init()
H A Dkern_khelp.c75 refcount_init(&h->h_refcount, 0); in khelp_register_helper()
H A Dkern_hhook.c315 refcount_init(&tmphhh->hhh_refcount, 1); in hhook_head_register()
H A Dsys_procdesc.c227 refcount_init(&pd->pd_refcount, 2); in procdesc_new()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c422 refcount_init(&task->tqent_rc, 1); in taskq_dispatch_delay()
452 refcount_init(&task->tqent_rc, 1); in taskq_dispatch()
/freebsd/sys/kgssapi/krb5/
H A Dkcrypto.c66 refcount_init(&ks->ks_refs, 1); in krb5_create_key()
/freebsd/sys/dev/cas/
H A Dif_casvar.h226 refcount_init(&(rxds)->rxds_refcount, 1); \
/freebsd/lib/libnvmf/
H A Dnvmf_transport.c44 refcount_init(&na->na_refs, 1); in nvmf_allocate_association()
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data.c295 refcount_init(&data->refs, 1); in bhnd_nvram_data_new()
/freebsd/sys/dev/usb/storage/
H A Dcfumass.c382 refcount_init(&sc->sc_queued, 0); in cfumass_attach()
967 refcount_init(&cfumass_refcount, 0); in cfumass_init()
/freebsd/sys/net/route/
H A Dnhgrp_ctl.c306 refcount_init(&nhg_priv->nhg_refcount, 1); in alloc_nhgrp()
309 refcount_init(&nhg_priv->nhg_linked, 2); in alloc_nhgrp()
/freebsd/sys/dev/filemon/
H A Dfilemon.c429 refcount_init(&filemon->refcnt, 1); in filemon_open()
/freebsd/sys/rpc/
H A Dauth_unix.c185 refcount_init(&au->au_refs, 1); in authunix_create()
/freebsd/sys/dev/firmware/arm/
H A Dscmi.c416 refcount_init(&req->cnt, 1); in scmi_req_alloc()
435 refcount_init(&req->cnt, 0); in scmi_req_free_unlocked()
/freebsd/sys/dev/tcp_log/
H A Dtcp_log_dev.c465 refcount_init(&entry->tldq_refcnt, tcp_log_dev_listeners); in tcp_log_dev_add_log()
/freebsd/sys/dev/drm2/
H A Ddrm_stub.c110 refcount_init(&master->refcount, 1); in drm_master_create()

1234