/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_nvme.c | 167 struct srb *sp = container_of(kref, struct srb, cmd_kref); in qla_nvme_release_fcp_cmd_kref() 199 struct srb *sp = container_of(kref, struct srb, cmd_kref); in qla_nvme_release_ls_cmd_kref() 224 kref_put(&priv->sp->cmd_kref, qla_nvme_release_ls_cmd_kref); in qla_nvme_ls_complete() 231 if (WARN_ON_ONCE(kref_read(&sp->cmd_kref) == 0)) in qla_nvme_sp_ls_done() 244 struct srb *sp = container_of(kref, struct srb, cmd_kref); in qla_nvme_release_lsrsp_cmd_kref() 273 kref_put(&uctx->sp->cmd_kref, qla_nvme_release_lsrsp_cmd_kref); in qla_nvme_lsrsp_complete() 280 if (WARN_ON_ONCE(kref_read(&sp->cmd_kref) == 0)) in qla_nvme_sp_lsrsp_done() 297 kref_put(&sp->cmd_kref, qla_nvme_release_fcp_cmd_kref); in qla_nvme_sp_done() 360 kref_put(&sp->cmd_kref, sp->put_fn); in qla_nvme_abort_work() 461 if (!kref_get_unless_zero(&priv->sp->cmd_kref)) { in qla_nvme_ls_abort() [all …]
|
H A D | qla_gs.c | 559 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_async_sns_sp_done() 656 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla_async_rftid() 752 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla_async_rffid() 843 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla_async_rnnid() 956 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla_async_rsnn_nn() 2894 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_async_gpsc_sp_done() 2947 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_async_gpsc() 2981 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_sp_unmap() 3040 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_async_gffid_sp_done() 3142 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_async_gffid() [all …]
|
H A D | qla_init.c | 57 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_sp_timeout() 170 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_abort_sp_done() 210 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_async_abort_cmd() 219 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_async_abort_cmd() 320 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_async_login_sp_done() 389 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_async_login() 408 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_async_logout_sp_done() 441 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_async_logout() 468 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_async_prlo_sp_done() 501 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_async_prlo() [all …]
|
H A D | tcm_qla2xxx.c | 392 cmd, kref_read(&cmd->se_cmd.cmd_kref), in tcm_qla2xxx_write_pending() 654 cmd, kref_read(&cmd->se_cmd.cmd_kref), in tcm_qla2xxx_queue_data_in() 695 cmd, kref_read(&cmd->se_cmd.cmd_kref), in tcm_qla2xxx_queue_status()
|
H A D | qla_iocb.c | 2580 if (kref_put(&sp->cmd_kref, qla2x00_sp_release)) in qla2x00_async_done() 2589 struct srb *sp = container_of(kref, struct srb, cmd_kref); in qla2x00_sp_release() 2753 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_els_dcmd_iocb() 2778 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_els_dcmd_iocb() 2791 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_els_dcmd_iocb() 3035 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_els_dcmd2_sp_done() 3134 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_els_dcmd2_iocb() 4037 kref_get(&sp->cmd_kref); in qla2x00_start_sp()
|
H A D | qla_inline.h | 191 kref_init(&sp->cmd_kref); in qla2xxx_init_sp()
|
H A D | qla_mid.c | 1006 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_control_vp()
|
H A D | qla_bsg.c | 34 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_bsg_job_done() 3154 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla_bsg_found()
|
H A D | qla_os.c | 770 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_sp_compl() 864 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2xxx_qpair_sp_compl() 983 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2xxx_queuecommand() 1072 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2xxx_mqueuecommand()
|
H A D | qla_edif.c | 2341 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla_noop_sp_done() 2411 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_issue_sa_replace_iocb()
|
H A D | qla_mr.c | 1978 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qlafx00_fx_disc()
|
H A D | qla_target.c | 600 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_async_nack_sp_done() 652 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_async_notify_ack()
|
H A D | qla_def.h | 728 struct kref cmd_kref; /* need to migrate ref_count over to this */ member
|
H A D | qla_mbx.c | 6595 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla24xx_send_mb_cmd()
|
/openbmc/linux/drivers/target/ |
H A D | target_core_transport.c | 871 WARN_ON_ONCE(kref_read(&cmd->cmd_kref) == 0); in target_handle_abort() 1463 kref_init(&cmd->cmd_kref); in __target_init_cmd() 3002 kref_get(&se_cmd->cmd_kref); in target_get_sess_cmd() 3033 struct se_cmd *se_cmd = container_of(kref, struct se_cmd, cmd_kref); in target_release_cmd_kref() 3058 return kref_put(&se_cmd->cmd_kref, target_release_cmd_kref); in target_put_sess_cmd() 3153 kref_read(&cmd->cmd_kref), ts_str); in target_show_cmd() 3159 kref_read(&cmd->cmd_kref), ts_str); in target_show_cmd()
|
H A D | target_core_tmr.c | 102 return kref_get_unless_zero(&se_cmd->cmd_kref); in __target_check_io_state()
|
/openbmc/linux/include/target/ |
H A D | target_core_base.h | 520 struct kref cmd_kref; member
|
/openbmc/linux/drivers/infiniband/ulp/isert/ |
H A D | ib_isert.c | 1605 kref_get(&cmd->cmd_kref); in isert_rdma_write_done()
|