Home
last modified time | relevance | path

Searched refs:kref_put (Results 1 – 25 of 415) sorted by relevance

12345678910>>...17

/Linux-v5.10/fs/nfs/
Dnfs42xattr.c331 kref_put(&old->ref, nfs4_xattr_free_entry_cb); in nfs4_xattr_set_listcache()
402 kref_put(&entry->ref, nfs4_xattr_free_entry_cb); in nfs4_xattr_discard_cache()
409 kref_put(&cache->ref, nfs4_xattr_free_cache_cb); in nfs4_xattr_discard_cache()
463 kref_put(&cache->ref, nfs4_xattr_free_cache_cb); in nfs4_xattr_get_cache()
489 kref_put(&cache->ref, nfs4_xattr_free_cache_cb); in nfs4_xattr_get_cache()
559 kref_put(&oldentry->ref, nfs4_xattr_free_entry_cb); in nfs4_xattr_hash_add()
584 kref_put(&entry->ref, nfs4_xattr_free_entry_cb); in nfs4_xattr_hash_remove()
635 kref_put(&entry->ref, nfs4_xattr_free_entry_cb); in nfs4_xattr_cache_get()
641 kref_put(&cache->ref, nfs4_xattr_free_cache_cb); in nfs4_xattr_cache_get()
679 kref_put(&cache->ref, nfs4_xattr_free_cache_cb); in nfs4_xattr_cache_list()
[all …]
/Linux-v5.10/Documentation/core-api/
Dkref.rst65 2) When you are done with a pointer, you must call kref_put()::
67 kref_put(&data->refcount, data_release);
77 where a kref_put() cannot occur during the kref_get(), and the
95 kref_put(&data->refcount, data_release);
112 kref_put(&data->refcount, data_release);
120 kref_put(&data->refcount, data_release);
125 data, the kref_put() handles knowing when the data is not referenced
131 In the above example, kref_put() will be called 2 times in both success
161 kref_put(&obj->ref, obj_cleanup);
207 kref_put(&entry->refcount, release_entry);
[all …]
/Linux-v5.10/drivers/scsi/libfc/
Dfc_rport.c137 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_create()
294 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work()
320 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work()
347 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work()
369 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work()
384 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work()
403 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work()
489 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_enter_delete()
556 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_enter_ready()
603 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_timeout()
[all …]
/Linux-v5.10/drivers/gpu/drm/lima/
Dlima_ctx.c60 kref_put(&ctx->refcnt, lima_ctx_do_release); in lima_ctx_free()
81 kref_put(&ctx->refcnt, lima_ctx_do_release); in lima_ctx_put()
96 kref_put(&ctx->refcnt, lima_ctx_do_release); in lima_ctx_mgr_fini()
/Linux-v5.10/drivers/scsi/qedf/
Dqedf_els.c84 kref_put(&els_req->refcount, qedf_release_cmd); in qedf_initiate_els()
97 kref_put(&els_req->refcount, qedf_release_cmd); in qedf_initiate_els()
188 kref_put(&els_req->refcount, qedf_release_cmd); in qedf_process_els_compl()
222 kref_put(&orig_io_req->refcount, qedf_release_cmd); in qedf_rrq_compl()
232 kref_put(&rrq_req->refcount, qedf_release_cmd); in qedf_rrq_compl()
262 kref_put(&aborted_io_req->refcount, qedf_release_cmd); in qedf_send_rrq()
324 kref_put(&aborted_io_req->refcount, qedf_release_cmd); in qedf_send_rrq()
406 kref_put(&rdata->kref, fc_rport_destroy); in qedf_restart_rport()
618 kref_put(&orig_io_req->refcount, qedf_release_cmd); in qedf_srr_compl()
688 kref_put(&orig_io_req->refcount, qedf_release_cmd); in qedf_send_srr()
[all …]
Dqedf_io.c59 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_cmd_timeout()
95 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_cmd_timeout()
388 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_alloc_cmd()
889 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_post_io_req()
898 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_post_io_req()
917 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_post_io_req()
1328 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_scsi_completion()
1432 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_scsi_done()
1441 kref_put(&io_req->refcount, qedf_release_cmd); /* ID: 001 */ in qedf_scsi_done()
1577 kref_put(&els_req->refcount, qedf_release_cmd); in qedf_flush_els_req()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_surface.c189 kref_put(&plane_state->refcount, dc_plane_state_free); in dc_plane_state_release()
205 kref_put(&(*gamma)->refcount, dc_gamma_free); in dc_gamma_release()
236 kref_put(&tf->refcount, dc_transfer_func_free); in dc_transfer_func_release()
280 kref_put(&lut->refcount, dc_3dlut_func_free); in dc_3dlut_func_release()
/Linux-v5.10/drivers/scsi/bnx2fc/
Dbnx2fc_io.c86 kref_put(&io_req->refcount, bnx2fc_cmd_release); in bnx2fc_cmd_timeout()
107 kref_put(&io_req->refcount, bnx2fc_cmd_release); in bnx2fc_cmd_timeout()
124 kref_put(&io_req->refcount, bnx2fc_cmd_release); in bnx2fc_cmd_timeout()
158 kref_put(&io_req->refcount, bnx2fc_cmd_release); in bnx2fc_cmd_timeout()
733 kref_put(&io_req->refcount, bnx2fc_cmd_release); in bnx2fc_initiate_tmf()
805 kref_put(&io_req->refcount, bnx2fc_cmd_release); in bnx2fc_initiate_tmf()
1109 kref_put(&io_req->refcount, bnx2fc_cmd_release); in bnx2fc_abts_cleanup()
1174 kref_put(&io_req->refcount, bnx2fc_cmd_release); in bnx2fc_eh_abort()
1209 kref_put(&io_req->refcount, in bnx2fc_eh_abort()
1228 kref_put(&io_req->refcount, in bnx2fc_eh_abort()
[all …]
Dbnx2fc_els.c41 kref_put(&orig_io_req->refcount, bnx2fc_cmd_release); in bnx2fc_rrq_compl()
116 kref_put(&aborted_io_req->refcount, bnx2fc_cmd_release); in bnx2fc_send_rrq()
372 kref_put(&orig_io_req->refcount, bnx2fc_cmd_release); in bnx2fc_srr_compl()
578 kref_put(&orig_io_req->refcount, bnx2fc_cmd_release); in bnx2fc_rec_compl()
616 kref_put(&orig_io_req->refcount, bnx2fc_cmd_release); in bnx2fc_send_rec()
660 kref_put(&orig_io_req->refcount, bnx2fc_cmd_release); in bnx2fc_send_srr()
724 kref_put(&els_req->refcount, bnx2fc_cmd_release); in bnx2fc_initiate_els()
745 kref_put(&els_req->refcount, bnx2fc_cmd_release); in bnx2fc_initiate_els()
785 kref_put(&els_req->refcount, bnx2fc_cmd_release); in bnx2fc_initiate_els()
821 kref_put(&els_req->refcount, bnx2fc_cmd_release); in bnx2fc_process_els_compl()
[all …]
/Linux-v5.10/drivers/usb/misc/
Duss720.c90 kref_put(&priv->ref_count, destroy_priv); in destroy_async()
119 kref_put(&rq->ref_count, destroy_async); in async_complete()
146 kref_put(&rq->ref_count, destroy_async); in submit_async_request()
151 kref_put(&rq->ref_count, destroy_async); in submit_async_request()
211 kref_put(&rq->ref_count, destroy_async); in get_1284_register()
220 kref_put(&rq->ref_count, destroy_async); in get_1284_register()
242 kref_put(&rq->ref_count, destroy_async); in set_1284_register()
743 kref_put(&priv->ref_count, destroy_priv); in uss720_probe()
762 kref_put(&priv->ref_count, destroy_priv); in uss720_disconnect()
Dusblcd.c100 kref_put(&dev->kref, lcd_delete); in lcd_open()
120 kref_put(&dev->kref, lcd_delete); in lcd_release()
388 kref_put(&dev->kref, lcd_delete); in lcd_probe()
431 kref_put(&dev->kref, lcd_delete); in lcd_disconnect()
/Linux-v5.10/fs/btrfs/
Dreada.c187 kref_put(&rc->refcnt, reada_control_release); in __readahead_hook()
190 kref_put(&rc->refcnt, reada_control_release); in __readahead_hook()
372 kref_put(&zone->refcnt, reada_zone_release); in reada_find_extent()
475 kref_put(&zone->refcnt, reada_zone_release); in reada_find_extent()
480 kref_put(&zone->refcnt, reada_zone_release); in reada_find_extent()
518 kref_put(&zone->refcnt, reada_zone_release); in reada_extent_put()
523 kref_put(&zone->refcnt, reada_zone_release); in reada_extent_put()
609 kref_put(&dev->reada_curr_zone->refcnt, reada_zone_release); in reada_pick_zone()
999 kref_put(&rc->refcnt, reada_control_release); in btrfs_reada_wait()
1016 kref_put(&rc->refcnt, reada_control_release); in btrfs_reada_wait()
[all …]
/Linux-v5.10/drivers/gpu/host1x/
Dintr.c82 kref_put(&waiter->refcount, waiter_release); in remove_completed_waiters()
146 kref_put(&waiter->refcount, waiter_release); in run_handlers()
258 kref_put(&waiter->refcount, waiter_release); in host1x_intr_put_ref()
322 kref_put(&waiter->refcount, waiter_release); in host1x_intr_stop()
/Linux-v5.10/net/tls/
Dtls_toe.c93 kref_put(&dev->kref, dev->release); in tls_toe_unhash()
114 kref_put(&dev->kref, dev->release); in tls_toe_hash()
/Linux-v5.10/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c95 kref_put(&ep->qp->refcnt, qedr_iw_free_qp); in qedr_iw_free_ep()
178 kref_put(&ep->refcnt, qedr_iw_free_ep); in qedr_iw_close_event()
250 kref_put(&ep->refcnt, qedr_iw_free_ep); in qedr_iw_disconnect_worker()
292 kref_put(&ep->refcnt, qedr_iw_free_ep); in qedr_iw_passive_complete()
313 kref_put(&ep->refcnt, qedr_iw_free_ep); in qedr_iw_active_complete()
651 kref_put(&ep->refcnt, qedr_iw_free_ep); in qedr_iw_connect()
777 kref_put(&ep->refcnt, qedr_iw_free_ep); in qedr_iw_accept()
808 kref_put(&qp->refcnt, qedr_iw_free_qp); in qedr_iw_qp_rem_ref()
/Linux-v5.10/sound/soc/qcom/qdsp6/
Dq6adm.c164 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_callback()
194 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_callback()
200 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_callback()
425 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_open()
525 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_matrix_map()
579 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_close()
/Linux-v5.10/drivers/target/iscsi/cxgbit/
Dcxgbit.h255 kref_put(&cdev->kref, _cxgbit_free_cdev); in cxgbit_put_cdev()
265 kref_put(&csk->kref, _cxgbit_free_csk); in cxgbit_put_csk()
275 kref_put(&cnp->kref, _cxgbit_free_cnp); in cxgbit_put_cnp()
/Linux-v5.10/drivers/gpu/drm/
Ddrm_dp_aux_dev.c116 kref_put(&aux_dev->refcount, release_drm_dp_aux_dev); in name_show()
236 kref_put(&aux_dev->refcount, release_drm_dp_aux_dev); in auxdev_release()
294 kref_put(&aux_dev->refcount, release_drm_dp_aux_dev); in drm_dp_aux_unregister_devnode()
/Linux-v5.10/drivers/scsi/device_handler/
Dscsi_dh_alua.c381 kref_put(&old_pg->kref, release_port_group); in alua_check_vpd()
671 kref_put(&tmp_pg->kref, release_port_group); in alua_rtpg()
809 kref_put(&pg->kref, release_port_group); in alua_rtpg_work()
877 kref_put(&pg->kref, release_port_group); in alua_rtpg_work()
928 kref_put(&pg->kref, release_port_group); in alua_rtpg_queue()
1041 kref_put(&pg->kref, release_port_group); in alua_activate()
1068 kref_put(&pg->kref, release_port_group); in alua_check()
1156 kref_put(&pg->kref, release_port_group); in alua_bus_detach()
/Linux-v5.10/arch/powerpc/platforms/cell/spufs/
Dcontext.c81 kref_put(ctx->prof_priv_kref, ctx->prof_priv_release); in destroy_spu_context()
96 return kref_put(&ctx->kref, &destroy_spu_context); in put_spu_context()
/Linux-v5.10/drivers/usb/mon/
Dmon_main.c76 kref_put(&mbus->ref, mon_bus_drop); in mon_reader_del()
221 kref_put(&mbus->ref, mon_bus_drop); in mon_bus_remove()
417 kref_put(&mbus->ref, mon_bus_drop); in mon_exit()
/Linux-v5.10/drivers/macintosh/
Dwindfarm_core.c252 kref_put(&ct->ref, wf_control_release); in wf_unregister_control()
268 kref_put(&ct->ref, wf_control_release); in wf_put_control()
363 kref_put(&sr->ref, wf_sensor_release); in wf_put_sensor()
/Linux-v5.10/include/linux/ceph/
Dbuffer.h34 kref_put(&b->kref, ceph_buffer_release); in ceph_buffer_put()
/Linux-v5.10/drivers/rapidio/devices/
Drio_mport_cdev.c480 kref_put(&map->ref, mport_release_mapping); in rio_mport_obw_free()
586 kref_put(&req->map->ref, mport_release_mapping); in dma_req_free()
590 kref_put(&priv->dma_ref, mport_release_dma); in dma_req_free()
603 kref_put(&req->refcount, dma_req_free); in dma_xfer_callback()
685 kref_put(&priv->dma_ref, mport_release_dma); in put_dma_channel()
749 kref_put(&req->refcount, dma_req_free); in do_dma_request()
957 kref_put(&req->refcount, dma_req_free); in rio_dma_transfer()
1073 kref_put(&req->refcount, dma_req_free); in rio_mport_wait_for_async_dma()
1133 kref_put(&mapping->ref, mport_release_mapping); in rio_mport_alloc_dma()
1157 kref_put(&map->ref, mport_release_mapping); in rio_mport_free_dma()
[all …]
/Linux-v5.10/arch/s390/pci/
Dpci_bus.h16 kref_put(&zdev->kref, zpci_release_device); in zpci_zdev_put()

12345678910>>...17