Lines Matching refs:refcount
54 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_cmd_timeout()
75 kref_get(&io_req->refcount); in qedf_cmd_timeout()
90 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_cmd_timeout()
375 kref_init(&io_req->refcount); /* ID: 001 */ in qedf_alloc_cmd()
383 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_alloc_cmd()
435 container_of(ref, struct qedf_ioreq, refcount); in qedf_release_cmd()
824 io_log->refcount = kref_read(&io_req->refcount); in qedf_trace_io()
883 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_post_io_req()
892 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_post_io_req()
911 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_post_io_req()
1123 int refcount; in qedf_scsi_completion() local
1227 refcount = kref_read(&io_req->refcount); in qedf_scsi_completion()
1237 refcount); in qedf_scsi_completion()
1315 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_scsi_completion()
1323 int refcount; in qedf_scsi_done() local
1390 refcount = kref_read(&io_req->refcount); in qedf_scsi_done()
1398 refcount); in qedf_scsi_done()
1412 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_scsi_done()
1421 kref_put(&io_req->refcount, qedf_release_cmd); /* ID: 001 */ in qedf_scsi_done()
1557 kref_read(&els_req->refcount)); in qedf_flush_els_req()
1577 kref_put(&els_req->refcount, qedf_release_cmd); in qedf_flush_els_req()
1592 int refcount = 0; in qedf_flush_active_ios() local
1677 refcount = kref_read(&io_req->refcount); in qedf_flush_active_ios()
1680 io_req->xid, io_req->cmd_type, refcount); in qedf_flush_active_ios()
1692 kref_put(&io_req->refcount, in qedf_flush_active_ios()
1702 rc = kref_get_unless_zero(&io_req->refcount); in qedf_flush_active_ios()
1722 rc = kref_get_unless_zero(&io_req->refcount); in qedf_flush_active_ios()
1739 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_flush_active_ios()
1753 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_flush_active_ios()
1768 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_flush_active_ios()
1780 rc = kref_get_unless_zero(&io_req->refcount); in qedf_flush_active_ios()
1795 kref_put(&io_req->refcount, qedf_release_cmd); /* ID: 004 */ in qedf_flush_active_ios()
1820 refcount = in qedf_flush_active_ios()
1821 kref_read(&io_req->refcount); in qedf_flush_active_ios()
1829 refcount, in qedf_flush_active_ios()
1862 int refcount = 0; in qedf_initiate_abts() local
1923 kref_get(&io_req->refcount); in qedf_initiate_abts()
1932 refcount = kref_read(&io_req->refcount); in qedf_initiate_abts()
1935 xid, refcount); in qedf_initiate_abts()
2002 rc = kref_get_unless_zero(&io_req->refcount); /* ID: 003 */ in qedf_process_abts_compl()
2042 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_process_abts_compl()
2159 int refcount = 0; in qedf_initiate_cleanup() local
2209 refcount = kref_read(&io_req->refcount); in qedf_initiate_cleanup()
2214 refcount, fcport, fcport->rdata->ids.port_id); in qedf_initiate_cleanup()
2257 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_initiate_cleanup()
2394 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_execute_tmf()
2442 ref_cnt = kref_read(&io_req->refcount); in qedf_initiate_tmf()