/Linux-v4.19/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-v4.19/drivers/scsi/libfc/ |
D | fc_rport.c | 302 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work() 328 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work() 355 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work() 377 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work() 392 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work() 411 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_work() 497 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_enter_delete() 563 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_enter_ready() 610 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_timeout() 685 kref_put(&rdata->kref, fc_rport_destroy); in fc_rport_error_retry() [all …]
|
/Linux-v4.19/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() 804 kref_put(&io_req->refcount, bnx2fc_cmd_release); in bnx2fc_initiate_tmf() 1110 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() 1207 kref_put(&io_req->refcount, in bnx2fc_eh_abort() 1226 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() 617 kref_put(&orig_io_req->refcount, bnx2fc_cmd_release); in bnx2fc_send_rec() 661 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-v4.19/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_surface.c | 145 kref_put(&plane_state->refcount, dc_plane_state_free); in dc_plane_state_release() 161 kref_put(&(*gamma)->refcount, dc_gamma_free); in dc_gamma_release() 192 kref_put(&tf->refcount, dc_transfer_func_free); in dc_transfer_func_release()
|
/Linux-v4.19/drivers/scsi/qedf/ |
D | qedf_els.c | 95 kref_put(&els_req->refcount, qedf_release_cmd); in qedf_initiate_els() 108 kref_put(&els_req->refcount, qedf_release_cmd); in qedf_initiate_els() 179 kref_put(&els_req->refcount, qedf_release_cmd); in qedf_process_els_compl() 210 kref_put(&orig_io_req->refcount, qedf_release_cmd); in qedf_rrq_compl() 220 kref_put(&rrq_req->refcount, qedf_release_cmd); in qedf_rrq_compl() 289 kref_put(&aborted_io_req->refcount, qedf_release_cmd); in qedf_send_rrq() 560 kref_put(&orig_io_req->refcount, qedf_release_cmd); in qedf_srr_compl() 631 kref_put(&orig_io_req->refcount, qedf_release_cmd); in qedf_send_srr() 707 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_process_seq_cleanup_compl() 745 kref_put(&orig_io_req->refcount, qedf_release_cmd); in qedf_requeue_io_req() [all …]
|
/Linux-v4.19/fs/btrfs/ |
D | reada.c | 186 kref_put(&rc->refcnt, reada_control_release); in __readahead_hook() 189 kref_put(&rc->refcnt, reada_control_release); in __readahead_hook() 371 kref_put(&zone->refcnt, reada_zone_release); in reada_find_extent() 467 kref_put(&zone->refcnt, reada_zone_release); in reada_find_extent() 472 kref_put(&zone->refcnt, reada_zone_release); in reada_find_extent() 510 kref_put(&zone->refcnt, reada_zone_release); in reada_extent_put() 515 kref_put(&zone->refcnt, reada_zone_release); in reada_extent_put() 601 kref_put(&dev->reada_curr_zone->refcnt, reada_zone_release); in reada_pick_zone() 952 kref_put(&rc->refcnt, reada_control_release); in btrfs_reada_wait() 969 kref_put(&rc->refcnt, reada_control_release); in btrfs_reada_wait() [all …]
|
/Linux-v4.19/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 | 110 kref_put(&dev->kref, lcd_delete); in lcd_open() 132 kref_put(&dev->kref, lcd_delete); in lcd_release() 384 kref_put(&dev->kref, lcd_delete); in lcd_probe() 426 kref_put(&dev->kref, lcd_delete); in lcd_disconnect()
|
/Linux-v4.19/drivers/gpu/host1x/ |
D | intr.c | 93 kref_put(&waiter->refcount, waiter_release); in remove_completed_waiters() 158 kref_put(&waiter->refcount, waiter_release); in run_handlers() 270 kref_put(&waiter->refcount, waiter_release); in host1x_intr_put_ref() 334 kref_put(&waiter->refcount, waiter_release); in host1x_intr_stop()
|
/Linux-v4.19/sound/soc/qcom/qdsp6/ |
D | q6adm.c | 165 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_callback() 195 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_callback() 201 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_callback() 427 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_open() 527 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_matrix_map() 581 kref_put(&copp->refcount, q6adm_free_copp); in q6adm_close()
|
/Linux-v4.19/drivers/target/iscsi/cxgbit/ |
D | cxgbit.h | 259 kref_put(&cdev->kref, _cxgbit_free_cdev); in cxgbit_put_cdev() 269 kref_put(&csk->kref, _cxgbit_free_csk); in cxgbit_put_csk() 279 kref_put(&cnp->kref, _cxgbit_free_cnp); in cxgbit_put_cnp()
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_dp_aux_dev.c | 114 kref_put(&aux_dev->refcount, release_drm_dp_aux_dev); in name_show() 232 kref_put(&aux_dev->refcount, release_drm_dp_aux_dev); in auxdev_release() 290 kref_put(&aux_dev->refcount, release_drm_dp_aux_dev); in drm_dp_aux_unregister_devnode()
|
/Linux-v4.19/arch/powerpc/platforms/cell/spufs/ |
D | context.c | 94 kref_put(ctx->prof_priv_kref, ctx->prof_priv_release); in destroy_spu_context() 109 return kref_put(&ctx->kref, &destroy_spu_context); in put_spu_context()
|
/Linux-v4.19/drivers/scsi/device_handler/ |
D | scsi_dh_alua.c | 394 kref_put(&old_pg->kref, release_port_group); in alua_check_vpd() 677 kref_put(&tmp_pg->kref, release_port_group); in alua_rtpg() 810 kref_put(&pg->kref, release_port_group); in alua_rtpg_work() 874 kref_put(&pg->kref, release_port_group); in alua_rtpg_work() 925 kref_put(&pg->kref, release_port_group); in alua_rtpg_queue() 1038 kref_put(&pg->kref, release_port_group); in alua_activate() 1065 kref_put(&pg->kref, release_port_group); in alua_check() 1153 kref_put(&pg->kref, release_port_group); in alua_bus_detach()
|
/Linux-v4.19/include/linux/ceph/ |
D | buffer.h | 33 kref_put(&b->kref, ceph_buffer_release); in ceph_buffer_put()
|
/Linux-v4.19/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-v4.19/drivers/macintosh/ |
D | windfarm_core.c | 253 kref_put(&ct->ref, wf_control_release); in wf_unregister_control() 269 kref_put(&ct->ref, wf_control_release); in wf_put_control() 364 kref_put(&sr->ref, wf_sensor_release); in wf_put_sensor()
|
/Linux-v4.19/drivers/lightnvm/ |
D | pblk-gc.c | 47 kref_put(&gc_rq->line->ref, pblk_line_put); in pblk_gc_write() 128 kref_put(&line->ref, pblk_line_put); in pblk_gc_line_ws() 274 kref_put(&line->ref, pblk_line_put); in pblk_gc_line_prepare_ws() 289 kref_put(&line->ref, pblk_line_put); in pblk_gc_line_prepare_ws() 414 kref_put(&line->ref, pblk_line_put); in pblk_gc_free_full_lines()
|
/Linux-v4.19/drivers/rapidio/devices/ |
D | rio_mport_cdev.c | 484 kref_put(&map->ref, mport_release_mapping); in rio_mport_obw_free() 592 kref_put(&req->map->ref, mport_release_mapping); in dma_req_free() 596 kref_put(&priv->dma_ref, mport_release_dma); in dma_req_free() 609 kref_put(&req->refcount, dma_req_free); in dma_xfer_callback() 691 kref_put(&priv->dma_ref, mport_release_dma); in put_dma_channel() 755 kref_put(&req->refcount, dma_req_free); in do_dma_request() 956 kref_put(&req->refcount, dma_req_free); in rio_dma_transfer() 1072 kref_put(&req->refcount, dma_req_free); in rio_mport_wait_for_async_dma() 1132 kref_put(&mapping->ref, mport_release_mapping); in rio_mport_alloc_dma() 1156 kref_put(&map->ref, mport_release_mapping); in rio_mport_free_dma() [all …]
|
/Linux-v4.19/drivers/input/serio/ |
D | serio_raw.c | 138 kref_put(&serio_raw->kref, serio_raw_free); in serio_raw_release() 355 kref_put(&serio_raw->kref, serio_raw_free); in serio_raw_connect() 408 kref_put(&serio_raw->kref, serio_raw_free); in serio_raw_disconnect()
|
/Linux-v4.19/drivers/mmc/host/ |
D | vub300.c | 404 kref_put(&vub300->kref, vub300_delete); in vub300_queue_cmnd_work() 424 kref_put(&vub300->kref, vub300_delete); in vub300_queue_poll_work() 444 kref_put(&vub300->kref, vub300_delete); in vub300_queue_dead_work() 685 kref_put(&vub300->kref, vub300_delete); in vub300_pollwork_thread() 708 kref_put(&vub300->kref, vub300_delete); in vub300_pollwork_thread() 716 kref_put(&vub300->kref, vub300_delete); in vub300_deadwork_thread() 741 kref_put(&vub300->kref, vub300_delete); in vub300_deadwork_thread() 749 kref_put(&vub300->kref, vub300_delete); in vub300_inactivity_timer_expired() 1747 kref_put(&vub300->kref, vub300_delete); in vub300_cmndwork_thread() 1784 kref_put(&vub300->kref, vub300_delete); in vub300_cmndwork_thread() [all …]
|
/Linux-v4.19/drivers/block/drbd/ |
D | drbd_debugfs.c | 322 if (kref_put(&req->kref, drbd_req_destroy)) in seq_print_resource_transfer_log_summary() 411 kref_put(&connection->kref, drbd_destroy_connection); in in_flight_summary_show() 436 kref_put(kref, release); in drbd_single_open() 451 kref_put(&resource->kref, drbd_destroy_resource); in in_flight_summary_release() 574 kref_put(&connection->kref, drbd_destroy_connection); in callback_history_release() 621 kref_put(&connection->kref, drbd_destroy_connection); in connection_oldest_requests_release() 780 kref_put(&device->kref, drbd_destroy_device); \
|
/Linux-v4.19/fs/cifs/ |
D | file.c | 2141 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_writepages() 2151 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_writepages() 2175 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_writepages() 2456 kref_put(&wdata->ctx->refcount, cifs_aio_ctx_release); in cifs_uncached_writedata_release() 2481 kref_put(&wdata->refcount, cifs_uncached_writedata_release); in cifs_uncached_writev_complete() 2607 kref_put(&wdata->refcount, in cifs_write_from_iter() 2681 kref_put(&wdata->refcount, in collect_uncached_write_data() 2687 kref_put(&wdata->refcount, cifs_uncached_writedata_release); in collect_uncached_write_data() 2747 kref_put(&ctx->refcount, cifs_aio_ctx_release); in cifs_user_writev() 2769 kref_put(&ctx->refcount, cifs_aio_ctx_release); in cifs_user_writev() [all …]
|
/Linux-v4.19/include/linux/ |
D | kref.h | 67 static inline int kref_put(struct kref *kref, void (*release)(struct kref *kref)) in kref_put() function
|