Home
last modified time | relevance | path

Searched refs:refcount_release (Results 1 – 25 of 92) sorted by relevance

1234

/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Dkref.h72 if (refcount_release((uint32_t *)&kref->refcount)) { in kref_put()
84 if (refcount_release((uint32_t *)&kref->refcount)) { in kref_put_lock()
98 if (refcount_release((uint32_t *)&kref->refcount)) { in kref_sub()
119 if (unlikely(!refcount_release((uint32_t *)&kref->refcount))) { in kref_put_mutex()
H A Dfile.h71 if (refcount_release(filp->_file == NULL ? in fput()
115 while (refcount_release(&filp->f_count) == 0) in fd_install()
/freebsd-14.2/sys/dev/drm2/ttm/
H A Dttm_object.c140 if (refcount_release(&tfile->refcount)) in ttm_object_file_unref()
158 base->refcount_release = rcount_release; in ttm_base_object_init()
198 if (base->refcount_release) { in ttm_release_base()
200 base->refcount_release(&base); in ttm_release_base()
218 if (refcount_release(&base->refcount)) in ttm_base_object_unref()
349 if (refcount_release(&ref->kref)) in ttm_ref_object_base_unref()
H A Dttm_object.h127 void (*refcount_release) (struct ttm_base_object **base); member
150 void (*refcount_release) (struct ttm_base_object
H A Dttm_bo.c726 if (refcount_release(&entry->list_kref)) in ttm_bo_delayed_delete()
741 if (entry && refcount_release(&entry->list_kref)) in ttm_bo_delayed_delete()
773 if (refcount_release(&bo->list_kref)) in ttm_bo_release()
782 if (refcount_release(&bo->kref)) in ttm_bo_unref()
885 if (refcount_release(&bo->list_kref)) in ttm_mem_evict_first()
900 if (refcount_release(&bo->list_kref)) in ttm_mem_evict_first()
1480 if (refcount_release(&glob->kobj_ref)) in ttm_bo_global_release()
1827 if (refcount_release(&bo->list_kref)) in ttm_bo_swapout()
1883 if (refcount_release(&bo->list_kref)) in ttm_bo_swapout()
H A Dttm_memory.c297 if (refcount_release(&zone->kobj_ref)) in ttm_mem_global_release()
300 if (refcount_release(&glob->kobj_ref)) in ttm_mem_global_release()
/freebsd-14.2/sys/kern/
H A Dkern_hhook.c222 refcount_release(&heads_to_hook[i]->hhh_refcount); in hhook_add_hook_lookup()
234 refcount_release(&heads_to_hook[i]->hhh_refcount); in hhook_add_hook_lookup()
336 refcount_release(&tmphhh->hhh_refcount); in hhook_head_register()
436 refcount_release(&hhh->hhh_refcount); in hhook_head_release()
H A Dkern_loginclass.c87 if (!refcount_release(&lc->lc_refcount)) { in loginclass_free()
H A Dkern_khelp.c224 refcount_release(&h->h_refcount); in khelp_remove_osd()
H A Dkern_jail.c2884 lastref = refcount_release(&pr->pr_ref); in prison_free_not_last()
2889 refcount_release(&pr->pr_ref); in prison_free_not_last()
2958 lastref = refcount_release(&pr->pr_uref); in prison_proc_free_not_last()
2963 refcount_release(&pr->pr_uref); in prison_proc_free_not_last()
3111 if (refcount_release(&pr->pr_uref) && in prison_deref()
3145 if (refcount_release(&pr->pr_ref)) { in prison_deref()
3271 (void)refcount_release(&cpr->pr_uref); in prison_deref_kill()
3272 if (refcount_release(&cpr->pr_ref)) { in prison_deref_kill()
3306 (void)refcount_release(&pr->pr_uref); in prison_deref_kill()
4811 if (refcount_release(&prr->prr_refcount)) { in prison_racct_free_locked()
/freebsd-14.2/sys/dev/usb/storage/
H A Dcfumass.c365 refcount_release(&cfumass_refcount); in cfumass_attach()
379 refcount_release(&cfumass_refcount); in cfumass_attach()
417 refcount_release(&cfumass_refcount); in cfumass_detach()
481 last = refcount_release(&sc->sc_queued); in cfumass_terminate()
679 refcount_release(&sc->sc_queued); in cfumass_t_command_callback()
940 refcount_release(&sc->sc_queued); in cfumass_done()
/freebsd-14.2/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_plist.c117 if (!refcount_release(&plist->refs)) in bhnd_nvram_plist_release()
880 if (!refcount_release(&prop->refs)) in bhnd_nvram_prop_release()
H A Dbhnd_nvram_data.c330 if (!refcount_release(&nv->refs)) in bhnd_nvram_data_release()
/freebsd-14.2/sys/sys/
H A Drefcount.h169 refcount_release(volatile u_int *count) in refcount_release() function
H A Dktls.h251 if (refcount_release(&tls->refcount)) in ktls_free()
H A Dfile.h313 if (__predict_false(refcount_release(&_fp->f_count))) \
324 if (__predict_true(refcount_release(&_fp->f_count))) \
/freebsd-14.2/sys/dev/iser/
H A Dicl_iser.c280 refcount_release(&icl_iser_ncons); in iser_new_conn()
312 refcount_release(&icl_iser_ncons); in iser_conn_free()
/freebsd-14.2/sys/dev/vt/
H A Dvt_font.c128 if (refcount_release(&vf->vf_refcount)) { in vtfont_unref()
/freebsd-14.2/sys/kgssapi/krb5/
H A Dkcrypto.c78 if (refcount_release(&ks->ks_refs)) { in krb5_free_key()
/freebsd-14.2/sys/net/route/
H A Dnhgrp.c343 refcount_release(&nhg_priv->nhg_linked); in nhgrp_ctl_unlink_all()
H A Dnhop.c161 refcount_release(&nh_priv->nh_linked); in nhops_destroy_rib()
/freebsd-14.2/sys/dev/iscsi/
H A Dicl_soft.c199 refcount_release(&ic->ic_outstanding_pdus); in icl_soft_conn_pdu_free()
211 refcount_release(&ip->ip_conn->ic_outstanding_pdus); in icl_soft_pdu_call_cb()
259 refcount_release(&ic->ic_outstanding_pdus); in icl_soft_conn_new_pdu()
1388 refcount_release(&icl_ncons); in icl_soft_conn_free()
/freebsd-14.2/sys/security/audit/
H A Daudit_dtrace.c478 (void)refcount_release(&audit_dtrace_enabled); in dtaudit_disable()
/freebsd-14.2/sys/cam/ctl/
H A Dctl_frontend_iscsi.c564 refcount_release(&cs->cs_outstanding_ctl_pdus); in cfiscsi_pdu_handle_scsi_command()
686 refcount_release(&cs->cs_outstanding_ctl_pdus); in cfiscsi_pdu_handle_task_request()
1155 refcount_release(&cs->cs_outstanding_ctl_pdus); in cfiscsi_session_terminate_tasks()
1178 last = refcount_release(&cs->cs_outstanding_ctl_pdus); in cfiscsi_session_terminate_tasks()
2385 if (refcount_release(&ct->ct_refcount)) { in cfiscsi_target_release()
3076 refcount_release(&cs->cs_outstanding_ctl_pdus); in cfiscsi_done()
3085 refcount_release(&cs->cs_outstanding_ctl_pdus); in cfiscsi_done()
/freebsd-14.2/sys/dev/filemon/
H A Dfilemon.c114 if (refcount_release(&filemon->refcnt) == 0) in filemon_release()

1234