Home
last modified time | relevance | path

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

1234

/freebsd/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/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/sys/kern/
H A Dkern_hhook.c221 refcount_release(&heads_to_hook[i]->hhh_refcount); in hhook_add_hook_lookup()
233 refcount_release(&heads_to_hook[i]->hhh_refcount); in hhook_add_hook_lookup()
335 refcount_release(&tmphhh->hhh_refcount); in hhook_head_register()
435 refcount_release(&hhh->hhh_refcount); in hhook_head_release()
H A Dkern_loginclass.c86 if (!refcount_release(&lc->lc_refcount)) { in loginclass_free()
H A Dkern_khelp.c223 refcount_release(&h->h_refcount); in khelp_remove_osd()
/freebsd/sys/dev/usb/storage/
H A Dcfumass.c364 refcount_release(&cfumass_refcount); in cfumass_attach()
378 refcount_release(&cfumass_refcount); in cfumass_attach()
416 refcount_release(&cfumass_refcount); in cfumass_detach()
480 last = refcount_release(&sc->sc_queued); in cfumass_terminate()
678 refcount_release(&sc->sc_queued); in cfumass_t_command_callback()
939 refcount_release(&sc->sc_queued); in cfumass_done()
/freebsd/sys/dev/nvmf/controller/
H A Dnvmft_qpair.c150 if (nq != NULL && refcount_release(&qp->qp_refs)) in nvmft_qpair_shutdown()
217 if (refcount_release(&qp->qp_refs)) in _nvmft_send_response()
331 if (refcount_release(&qp->qp_refs)) in nvmft_send_connect_response()
H A Dnvmft_var.h175 if (refcount_release(&np->refs)) in nvmft_port_rele()
/freebsd/sys/dev/nvmf/host/
H A Dnvmf_ns.c82 if (!refcount_release(bio_refs(bio))) in nvmf_ns_biodone()
121 if (refcount_release(&ns->active_bios)) in nvmf_ns_biodone()
471 if (!refcount_release(&ns->active_bios)) { in nvmf_destroy_ns()
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_plist.c116 if (!refcount_release(&plist->refs)) in bhnd_nvram_plist_release()
879 if (!refcount_release(&prop->refs)) in bhnd_nvram_prop_release()
/freebsd/sys/sys/
H A Drefcount.h168 refcount_release(volatile u_int *count) in refcount_release() function
H A Dktls.h257 if (refcount_release(&tls->refcount)) in ktls_free()
H A Dfile.h314 if (__predict_false(refcount_release(&_fp->f_count))) \
325 if (__predict_true(refcount_release(&_fp->f_count))) \
/freebsd/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/sys/dev/vt/
H A Dvt_font.c127 if (refcount_release(&vf->vf_refcount)) { in vtfont_unref()
/freebsd/sys/kgssapi/krb5/
H A Dkcrypto.c77 if (refcount_release(&ks->ks_refs)) { in krb5_free_key()
/freebsd/sys/net/route/
H A Dnhgrp.c342 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/sys/dev/iscsi/
H A Dicl_soft.c198 refcount_release(&ic->ic_outstanding_pdus); in icl_soft_conn_pdu_free()
210 refcount_release(&ip->ip_conn->ic_outstanding_pdus); in icl_soft_pdu_call_cb()
258 refcount_release(&ic->ic_outstanding_pdus); in icl_soft_conn_new_pdu()
1387 refcount_release(&icl_ncons); in icl_soft_conn_free()
/freebsd/sys/security/audit/
H A Daudit_dtrace.c477 (void)refcount_release(&audit_dtrace_enabled); in dtaudit_disable()
/freebsd/sys/cam/ctl/
H A Dctl_frontend_iscsi.c563 refcount_release(&cs->cs_outstanding_ctl_pdus); in cfiscsi_pdu_handle_scsi_command()
685 refcount_release(&cs->cs_outstanding_ctl_pdus); in cfiscsi_pdu_handle_task_request()
1154 refcount_release(&cs->cs_outstanding_ctl_pdus); in cfiscsi_session_terminate_tasks()
1177 last = refcount_release(&cs->cs_outstanding_ctl_pdus); in cfiscsi_session_terminate_tasks()
2384 if (refcount_release(&ct->ct_refcount)) { in cfiscsi_target_release()
3075 refcount_release(&cs->cs_outstanding_ctl_pdus); in cfiscsi_done()
3084 refcount_release(&cs->cs_outstanding_ctl_pdus); in cfiscsi_done()

1234