Home
last modified time | relevance | path

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

1234

/freebsd-14.2/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()
H A Dttm_bo.c1253 refcount_init(&bo->kref, 1); in ttm_bo_init()
1254 refcount_init(&bo->list_kref, 1); in ttm_bo_init()
1522 refcount_init(&glob->kobj_ref, 1); in ttm_bo_global_init()
/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Dkref.h51 refcount_init((uint32_t *)&kref->refcount, 1); in kref_init()
/freebsd-14.2/sys/sys/
H A Dsglist.h67 refcount_init(&sg->sg_refs, 1); in sglist_init()
H A Drefcount.h60 refcount_init(volatile u_int *count, u_int value) in refcount_init() function
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c347 refcount_init(&task->tqent_rc, 1); in taskq_dispatch_delay()
377 refcount_init(&task->tqent_rc, 1); in taskq_dispatch()
/freebsd-14.2/sys/kern/
H A Dkern_loginclass.c148 refcount_init(&new_lc->lc_refcount, 1); in loginclass_find()
H A Dinit_main.c511 refcount_init(&session0.s_count, 1); in proc0_init()
617 refcount_init(&vmspace0.vm_refcnt, 1); in proc0_init()
H A Dkern_khelp.c76 refcount_init(&h->h_refcount, 0); in khelp_register_helper()
H A Dkern_hhook.c316 refcount_init(&tmphhh->hhh_refcount, 1); in hhook_head_register()
H A Dsys_procdesc.c230 refcount_init(&pd->pd_refcount, 2); in procdesc_new()
/freebsd-14.2/sys/kgssapi/krb5/
H A Dkcrypto.c67 refcount_init(&ks->ks_refs, 1); in krb5_create_key()
/freebsd-14.2/sys/dev/cas/
H A Dif_casvar.h226 refcount_init(&(rxds)->rxds_refcount, 1); \
/freebsd-14.2/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data.c295 refcount_init(&data->refs, 1); in bhnd_nvram_data_new()
/freebsd-14.2/sys/dev/usb/storage/
H A Dcfumass.c383 refcount_init(&sc->sc_queued, 0); in cfumass_attach()
968 refcount_init(&cfumass_refcount, 0); in cfumass_init()
/freebsd-14.2/sys/net/route/
H A Dnhgrp_ctl.c307 refcount_init(&nhg_priv->nhg_refcount, 1); in alloc_nhgrp()
310 refcount_init(&nhg_priv->nhg_linked, 2); in alloc_nhgrp()
H A Dnhop_ctl.c513 refcount_init(&nh->nh_priv->nh_linked, 2); in finalize_nhop()
695 refcount_init(&nh_priv->nh_refcnt, 1); in nhop_alloc()
/freebsd-14.2/sys/dev/filemon/
H A Dfilemon.c430 refcount_init(&filemon->refcnt, 1); in filemon_open()
/freebsd-14.2/sys/rpc/
H A Dauth_unix.c189 refcount_init(&au->au_refs, 1); in authunix_create()
/freebsd-14.2/sys/dev/tcp_log/
H A Dtcp_log_dev.c466 refcount_init(&entry->tldq_refcnt, tcp_log_dev_listeners); in tcp_log_dev_add_log()
/freebsd-14.2/sys/dev/drm2/
H A Ddrm_stub.c110 refcount_init(&master->refcount, 1); in drm_master_create()
/freebsd-14.2/sys/dev/wg/
H A Dwg_noise.c192 refcount_init(&l->l_refcnt, 1); in noise_local_alloc()
311 refcount_init(&r->r_refcnt, 1); in noise_remote_alloc()
659 refcount_init(&kp->kp_refcnt, 1); in noise_begin_session()
/freebsd-14.2/sys/netinet/cc/
H A Dcc.c352 refcount_init(&add_cc->cc_refcount, 0); in cc_register_algo()

1234