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()
825 io_log->refcount = kref_read(&io_req->refcount); in qedf_trace_io()
884 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_post_io_req()
893 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_post_io_req()
912 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_post_io_req()
1125 int refcount; in qedf_scsi_completion() local
1229 refcount = kref_read(&io_req->refcount); in qedf_scsi_completion()
1239 refcount); in qedf_scsi_completion()
1317 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_scsi_completion()
1325 int refcount; in qedf_scsi_done() local
1392 refcount = kref_read(&io_req->refcount); in qedf_scsi_done()
1400 refcount); in qedf_scsi_done()
1414 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_scsi_done()
1423 kref_put(&io_req->refcount, qedf_release_cmd); /* ID: 001 */ in qedf_scsi_done()
1559 kref_read(&els_req->refcount)); in qedf_flush_els_req()
1579 kref_put(&els_req->refcount, qedf_release_cmd); in qedf_flush_els_req()
1594 int refcount = 0; in qedf_flush_active_ios() local
1679 refcount = kref_read(&io_req->refcount); in qedf_flush_active_ios()
1682 io_req->xid, io_req->cmd_type, refcount); in qedf_flush_active_ios()
1694 kref_put(&io_req->refcount, in qedf_flush_active_ios()
1704 rc = kref_get_unless_zero(&io_req->refcount); in qedf_flush_active_ios()
1724 rc = kref_get_unless_zero(&io_req->refcount); in qedf_flush_active_ios()
1741 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_flush_active_ios()
1755 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_flush_active_ios()
1770 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_flush_active_ios()
1782 rc = kref_get_unless_zero(&io_req->refcount); in qedf_flush_active_ios()
1797 kref_put(&io_req->refcount, qedf_release_cmd); /* ID: 004 */ in qedf_flush_active_ios()
1822 refcount = in qedf_flush_active_ios()
1823 kref_read(&io_req->refcount); in qedf_flush_active_ios()
1831 refcount, in qedf_flush_active_ios()
1864 int refcount = 0; in qedf_initiate_abts() local
1919 kref_get(&io_req->refcount); in qedf_initiate_abts()
1930 refcount = kref_read(&io_req->refcount); in qedf_initiate_abts()
1933 xid, refcount); in qedf_initiate_abts()
2000 rc = kref_get_unless_zero(&io_req->refcount); /* ID: 003 */ in qedf_process_abts_compl()
2040 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_process_abts_compl()
2157 int refcount = 0; in qedf_initiate_cleanup() local
2207 refcount = kref_read(&io_req->refcount); in qedf_initiate_cleanup()
2212 refcount, fcport, fcport->rdata->ids.port_id); in qedf_initiate_cleanup()
2389 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_execute_tmf()
2437 ref_cnt = kref_read(&io_req->refcount); in qedf_initiate_tmf()