Lines Matching refs:refcount
59 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_cmd_timeout()
80 kref_get(&io_req->refcount); in qedf_cmd_timeout()
95 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_cmd_timeout()
380 kref_init(&io_req->refcount); /* ID: 001 */ in qedf_alloc_cmd()
388 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_alloc_cmd()
440 container_of(ref, struct qedf_ioreq, refcount); in qedf_release_cmd()
830 io_log->refcount = kref_read(&io_req->refcount); in qedf_trace_io()
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()
1130 int refcount; in qedf_scsi_completion() local
1240 refcount = kref_read(&io_req->refcount); in qedf_scsi_completion()
1250 refcount); in qedf_scsi_completion()
1328 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_scsi_completion()
1336 int refcount; in qedf_scsi_done() local
1410 refcount = kref_read(&io_req->refcount); in qedf_scsi_done()
1418 refcount); in qedf_scsi_done()
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_read(&els_req->refcount)); in qedf_flush_els_req()
1597 kref_put(&els_req->refcount, qedf_release_cmd); in qedf_flush_els_req()
1612 int refcount = 0; in qedf_flush_active_ios() local
1697 refcount = kref_read(&io_req->refcount); in qedf_flush_active_ios()
1700 io_req->xid, io_req->cmd_type, refcount); in qedf_flush_active_ios()
1712 kref_put(&io_req->refcount, in qedf_flush_active_ios()
1722 rc = kref_get_unless_zero(&io_req->refcount); in qedf_flush_active_ios()
1742 rc = kref_get_unless_zero(&io_req->refcount); in qedf_flush_active_ios()
1759 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_flush_active_ios()
1773 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_flush_active_ios()
1788 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_flush_active_ios()
1800 rc = kref_get_unless_zero(&io_req->refcount); in qedf_flush_active_ios()
1815 kref_put(&io_req->refcount, qedf_release_cmd); /* ID: 004 */ in qedf_flush_active_ios()
1840 refcount = in qedf_flush_active_ios()
1841 kref_read(&io_req->refcount); in qedf_flush_active_ios()
1849 refcount, in qedf_flush_active_ios()
1882 int refcount = 0; in qedf_initiate_abts() local
1937 kref_get(&io_req->refcount); in qedf_initiate_abts()
1948 refcount = kref_read(&io_req->refcount); in qedf_initiate_abts()
1951 xid, refcount); in qedf_initiate_abts()
2018 rc = kref_get_unless_zero(&io_req->refcount); /* ID: 003 */ in qedf_process_abts_compl()
2058 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_process_abts_compl()
2175 int refcount = 0; in qedf_initiate_cleanup() local
2225 refcount = kref_read(&io_req->refcount); in qedf_initiate_cleanup()
2230 refcount, fcport, fcport->rdata->ids.port_id); in qedf_initiate_cleanup()
2271 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_initiate_cleanup()
2408 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_execute_tmf()
2456 ref_cnt = kref_read(&io_req->refcount); in qedf_initiate_tmf()