Lines Matching refs:req_flags
49 "req_flags = %lx\n", cmd_type, io_req->req_flags); in bnx2fc_cmd_timeout()
52 if (test_and_clear_bit(BNX2FC_FLAG_ISSUE_RRQ, &io_req->req_flags)) { in bnx2fc_cmd_timeout()
53 clear_bit(BNX2FC_FLAG_RETIRE_OXID, &io_req->req_flags); in bnx2fc_cmd_timeout()
62 if (test_and_clear_bit(BNX2FC_FLAG_RETIRE_OXID, &io_req->req_flags)) { in bnx2fc_cmd_timeout()
70 &io_req->req_flags)) { in bnx2fc_cmd_timeout()
75 &io_req->req_flags)) { in bnx2fc_cmd_timeout()
80 &io_req->req_flags))) { in bnx2fc_cmd_timeout()
95 &io_req->req_flags)) { in bnx2fc_cmd_timeout()
102 &io_req->req_flags)) { in bnx2fc_cmd_timeout()
119 if (test_bit(BNX2FC_FLAG_ISSUE_ABTS, &io_req->req_flags)) { in bnx2fc_cmd_timeout()
123 &io_req->req_flags)) { in bnx2fc_cmd_timeout()
138 &io_req->req_flags)) in bnx2fc_cmd_timeout()
142 set_bit(BNX2FC_FLAG_ELS_TIMEOUT, &io_req->req_flags); in bnx2fc_cmd_timeout()
176 if (test_bit(BNX2FC_FLAG_CMD_LOST, &io_req->req_flags)) { in bnx2fc_scsi_done()
451 io_req->req_flags = 0; in bnx2fc_elstm_alloc()
507 io_req->req_flags = 0; in bnx2fc_cmd_alloc()
790 if (!(test_bit(BNX2FC_FLAG_TM_COMPL, &io_req->req_flags))) { in bnx2fc_initiate_tmf()
791 set_bit(BNX2FC_FLAG_TM_TIMEOUT, &io_req->req_flags); in bnx2fc_initiate_tmf()
1048 set_bit(BNX2FC_FLAG_ISSUE_CLEANUP_REQ, &io_req->req_flags); in bnx2fc_initiate_cleanup()
1205 if (test_and_set_bit(BNX2FC_FLAG_ISSUE_ABTS, &io_req->req_flags)) { in bnx2fc_eh_abort()
1222 set_bit(BNX2FC_FLAG_IO_CLEANUP, &io_req->req_flags); in bnx2fc_eh_abort()
1231 set_bit(BNX2FC_FLAG_EH_ABORT, &io_req->req_flags); in bnx2fc_eh_abort()
1254 if (test_bit(BNX2FC_FLAG_IO_COMPL, &io_req->req_flags)) { in bnx2fc_eh_abort()
1258 &io_req->req_flags))) { in bnx2fc_eh_abort()
1333 &io_req->req_flags)) in bnx2fc_process_cleanup_compl()
1340 if (test_bit(BNX2FC_FLAG_ISSUE_ABTS, &io_req->req_flags) && in bnx2fc_process_cleanup_compl()
1341 !test_bit(BNX2FC_FLAG_ABTS_DONE, &io_req->req_flags)) { in bnx2fc_process_cleanup_compl()
1342 set_bit(BNX2FC_FLAG_ABTS_DONE, &io_req->req_flags); in bnx2fc_process_cleanup_compl()
1368 &io_req->req_flags)) { in bnx2fc_process_abts_compl()
1378 if (test_bit(BNX2FC_FLAG_ISSUE_CLEANUP_REQ, &io_req->req_flags)) { in bnx2fc_process_abts_compl()
1379 clear_bit(BNX2FC_FLAG_ISSUE_CLEANUP_REQ, &io_req->req_flags); in bnx2fc_process_abts_compl()
1386 &io_req->req_flags)) in bnx2fc_process_abts_compl()
1395 if (test_bit(BNX2FC_FLAG_ISSUE_ABTS, &io_req->req_flags)) in bnx2fc_process_abts_compl()
1422 set_bit(BNX2FC_FLAG_ISSUE_RRQ, &io_req->req_flags); in bnx2fc_process_abts_compl()
1424 set_bit(BNX2FC_FLAG_RETIRE_OXID, &io_req->req_flags); in bnx2fc_process_abts_compl()
1430 &io_req->req_flags)) in bnx2fc_process_abts_compl()
1474 &cmd->req_flags)) { in bnx2fc_lun_reset_cmpl()
1507 &cmd->req_flags)) { in bnx2fc_tgt_reset_cmpl()
1536 if (!(test_bit(BNX2FC_FLAG_TM_TIMEOUT, &io_req->req_flags))) in bnx2fc_process_tm_compl()
1537 set_bit(BNX2FC_FLAG_TM_COMPL, &io_req->req_flags); in bnx2fc_process_tm_compl()
1918 if (test_and_set_bit(BNX2FC_FLAG_IO_COMPL, &io_req->req_flags)) { in bnx2fc_process_scsi_cmd_compl()
1923 &io_req->req_flags)) { in bnx2fc_process_scsi_cmd_compl()
1967 &io_req->req_flags)) in bnx2fc_process_scsi_cmd_compl()