/Linux-v5.4/Documentation/ |
D | kref.txt | 65 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 157 kref_put(&obj->ref, obj_cleanup); 203 kref_put(&entry->refcount, release_entry); 207 The kref_put() return value is useful if you do not want to hold the [all …]
|
/Linux-v5.4/drivers/scsi/libfc/ |
D | fc_rport.c | 292 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work() 318 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work() 345 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work() 367 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work() 382 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work() 401 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work() 487 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_enter_delete() 553 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_enter_ready() 600 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_timeout() 675 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_error_retry() [all …]
|
/Linux-v5.4/drivers/gpu/drm/lima/ |
D | lima_ctx.c | 57 kref_put(&ctx->refcnt, lima_ctx_do_release); in lima_ctx_free() 78 kref_put(&ctx->refcnt, lima_ctx_do_release); in lima_ctx_put() 93 kref_put(&ctx->refcnt, lima_ctx_do_release); in lima_ctx_mgr_fini()
|
/Linux-v5.4/drivers/scsi/qedf/ |
D | qedf_els.c | 84 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() 165 kref_put(&els_req->refcount, qedf_release_cmd); in qedf_process_els_compl() 203 kref_put(&orig_io_req->refcount, qedf_release_cmd); in qedf_rrq_compl() 213 kref_put(&rrq_req->refcount, qedf_release_cmd); in qedf_rrq_compl() 243 kref_put(&aborted_io_req->refcount, qedf_release_cmd); in qedf_send_rrq() 305 kref_put(&aborted_io_req->refcount, qedf_release_cmd); in qedf_send_rrq() 387 kref_put(&rdata->kref, fc_rport_destroy); in qedf_restart_rport() 603 kref_put(&orig_io_req->refcount, qedf_release_cmd); in qedf_srr_compl() 673 kref_put(&orig_io_req->refcount, qedf_release_cmd); in qedf_send_srr() [all …]
|
D | qedf_io.c | 60 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_cmd_timeout() 97 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_cmd_timeout() 390 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_alloc_cmd() 895 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_post_io_req() 904 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_post_io_req() 923 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_post_io_req() 1310 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_scsi_completion() 1416 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_scsi_done() 1425 kref_put(&io_req->refcount, qedf_release_cmd); /* ID: 001 */ in qedf_scsi_done() 1559 kref_put(&els_req->refcount, qedf_release_cmd); in qedf_flush_els_req() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_surface.c | 200 kref_put(&plane_state->refcount, dc_plane_state_free); in dc_plane_state_release() 216 kref_put(&(*gamma)->refcount, dc_gamma_free); in dc_gamma_release() 247 kref_put(&tf->refcount, dc_transfer_func_free); in dc_transfer_func_release() 292 kref_put(&lut->refcount, dc_3dlut_func_free); in dc_3dlut_func_release()
|
/Linux-v5.4/drivers/scsi/bnx2fc/ |
D | bnx2fc_io.c | 86 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() 1108 kref_put(&io_req->refcount, bnx2fc_cmd_release); in bnx2fc_abts_cleanup() 1173 kref_put(&io_req->refcount, bnx2fc_cmd_release); in bnx2fc_eh_abort() 1208 kref_put(&io_req->refcount, in bnx2fc_eh_abort() 1227 kref_put(&io_req->refcount, in bnx2fc_eh_abort() [all …]
|
D | bnx2fc_els.c | 41 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.4/fs/btrfs/ |
D | reada.c | 187 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() 470 kref_put(&zone->refcnt, reada_zone_release); in reada_find_extent() 475 kref_put(&zone->refcnt, reada_zone_release); in reada_find_extent() 513 kref_put(&zone->refcnt, reada_zone_release); in reada_extent_put() 518 kref_put(&zone->refcnt, reada_zone_release); in reada_extent_put() 604 kref_put(&dev->reada_curr_zone->refcnt, reada_zone_release); in reada_pick_zone() 989 kref_put(&rc->refcnt, reada_control_release); in btrfs_reada_wait() 1006 kref_put(&rc->refcnt, reada_control_release); in btrfs_reada_wait() [all …]
|
/Linux-v5.4/drivers/usb/misc/ |
D | uss720.c | 90 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()
|
D | usblcd.c | 100 kref_put(&dev->kref, lcd_delete); in lcd_open() 120 kref_put(&dev->kref, lcd_delete); in lcd_release() 389 kref_put(&dev->kref, lcd_delete); in lcd_probe() 432 kref_put(&dev->kref, lcd_delete); in lcd_disconnect()
|
/Linux-v5.4/drivers/gpu/host1x/ |
D | intr.c | 82 kref_put(&waiter->refcount, waiter_release); in remove_completed_waiters() 147 kref_put(&waiter->refcount, waiter_release); in run_handlers() 259 kref_put(&waiter->refcount, waiter_release); in host1x_intr_put_ref() 323 kref_put(&waiter->refcount, waiter_release); in host1x_intr_stop()
|
/Linux-v5.4/sound/soc/qcom/qdsp6/ |
D | q6adm.c | 164 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() 426 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_open() 526 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_matrix_map() 580 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_close()
|
/Linux-v5.4/drivers/target/iscsi/cxgbit/ |
D | cxgbit.h | 256 kref_put(&cdev->kref, _cxgbit_free_cdev); in cxgbit_put_cdev() 266 kref_put(&csk->kref, _cxgbit_free_csk); in cxgbit_put_csk() 276 kref_put(&cnp->kref, _cxgbit_free_cnp); in cxgbit_put_cnp()
|
/Linux-v5.4/drivers/gpu/drm/ |
D | drm_dp_aux_dev.c | 116 kref_put(&aux_dev->refcount, release_drm_dp_aux_dev); in name_show() 244 kref_put(&aux_dev->refcount, release_drm_dp_aux_dev); in auxdev_release() 302 kref_put(&aux_dev->refcount, release_drm_dp_aux_dev); in drm_dp_aux_unregister_devnode()
|
/Linux-v5.4/drivers/scsi/device_handler/ |
D | scsi_dh_alua.c | 381 kref_put(&old_pg->kref, release_port_group); in alua_check_vpd() 671 kref_put(&tmp_pg->kref, release_port_group); in alua_rtpg() 808 kref_put(&pg->kref, release_port_group); in alua_rtpg_work() 876 kref_put(&pg->kref, release_port_group); in alua_rtpg_work() 927 kref_put(&pg->kref, release_port_group); in alua_rtpg_queue() 1040 kref_put(&pg->kref, release_port_group); in alua_activate() 1067 kref_put(&pg->kref, release_port_group); in alua_check() 1156 kref_put(&pg->kref, release_port_group); in alua_bus_detach()
|
/Linux-v5.4/arch/powerpc/platforms/cell/spufs/ |
D | context.c | 81 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.4/drivers/misc/habanalabs/ |
D | context.c | 109 if (kref_put(&ctx->refcount, hl_ctx_do_release) == 1) in hl_ctx_free() 168 return kref_put(&ctx->refcount, hl_ctx_do_release); in hl_ctx_put()
|
/Linux-v5.4/drivers/usb/mon/ |
D | mon_main.c | 76 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.4/drivers/macintosh/ |
D | windfarm_core.c | 252 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.4/include/linux/ceph/ |
D | buffer.h | 34 kref_put(&b->kref, ceph_buffer_release); in ceph_buffer_put()
|
/Linux-v5.4/drivers/rapidio/devices/ |
D | rio_mport_cdev.c | 480 kref_put(&map->ref, mport_release_mapping); in rio_mport_obw_free() 588 kref_put(&req->map->ref, mport_release_mapping); in dma_req_free() 592 kref_put(&priv->dma_ref, mport_release_dma); in dma_req_free() 605 kref_put(&req->refcount, dma_req_free); in dma_xfer_callback() 687 kref_put(&priv->dma_ref, mport_release_dma); in put_dma_channel() 751 kref_put(&req->refcount, dma_req_free); in do_dma_request() 954 kref_put(&req->refcount, dma_req_free); in rio_dma_transfer() 1070 kref_put(&req->refcount, dma_req_free); in rio_mport_wait_for_async_dma() 1130 kref_put(&mapping->ref, mport_release_mapping); in rio_mport_alloc_dma() 1154 kref_put(&map->ref, mport_release_mapping); in rio_mport_free_dma() [all …]
|
/Linux-v5.4/drivers/mmc/host/ |
D | vub300.c | 401 kref_put(&vub300->kref, vub300_delete); in vub300_queue_cmnd_work() 421 kref_put(&vub300->kref, vub300_delete); in vub300_queue_poll_work() 441 kref_put(&vub300->kref, vub300_delete); in vub300_queue_dead_work() 682 kref_put(&vub300->kref, vub300_delete); in vub300_pollwork_thread() 705 kref_put(&vub300->kref, vub300_delete); in vub300_pollwork_thread() 713 kref_put(&vub300->kref, vub300_delete); in vub300_deadwork_thread() 738 kref_put(&vub300->kref, vub300_delete); in vub300_deadwork_thread() 746 kref_put(&vub300->kref, vub300_delete); in vub300_inactivity_timer_expired() 1744 kref_put(&vub300->kref, vub300_delete); in vub300_cmndwork_thread() 1781 kref_put(&vub300->kref, vub300_delete); in vub300_cmndwork_thread() [all …]
|
/Linux-v5.4/drivers/input/serio/ |
D | serio_raw.c | 135 kref_put(&serio_raw->kref, serio_raw_free); in serio_raw_release() 352 kref_put(&serio_raw->kref, serio_raw_free); in serio_raw_connect() 405 kref_put(&serio_raw->kref, serio_raw_free); in serio_raw_disconnect()
|
/Linux-v5.4/drivers/block/drbd/ |
D | drbd_debugfs.c | 324 if (kref_put(&req->kref, drbd_req_destroy)) in seq_print_resource_transfer_log_summary() 413 kref_put(&connection->kref, drbd_destroy_connection); in in_flight_summary_show() 438 kref_put(kref, release); in drbd_single_open() 453 kref_put(&resource->kref, drbd_destroy_resource); in in_flight_summary_release() 561 kref_put(&connection->kref, drbd_destroy_connection); in callback_history_release() 608 kref_put(&connection->kref, drbd_destroy_connection); in connection_oldest_requests_release() 754 kref_put(&device->kref, drbd_destroy_device); \
|