Lines Matching refs:tm_flags
259 static void zfcp_scsi_forget_cmnds(struct zfcp_scsi_dev *zsdev, u8 tm_flags) in zfcp_scsi_forget_cmnds() argument
268 if (tm_flags == FCP_TMF_LUN_RESET) { in zfcp_scsi_forget_cmnds()
289 static int zfcp_scsi_task_mgmt_function(struct scsi_device *sdev, u8 tm_flags) in zfcp_scsi_task_mgmt_function() argument
299 fsf_req = zfcp_fsf_fcp_task_mgmt(sdev, tm_flags); in zfcp_scsi_task_mgmt_function()
303 zfcp_dbf_scsi_devreset("wait", sdev, tm_flags, NULL); in zfcp_scsi_task_mgmt_function()
307 zfcp_dbf_scsi_devreset("fiof", sdev, tm_flags, NULL); in zfcp_scsi_task_mgmt_function()
313 zfcp_dbf_scsi_devreset("nres", sdev, tm_flags, NULL); in zfcp_scsi_task_mgmt_function()
318 zfcp_dbf_scsi_devreset("reqf", sdev, tm_flags, NULL); in zfcp_scsi_task_mgmt_function()
325 zfcp_dbf_scsi_devreset("fail", sdev, tm_flags, fsf_req); in zfcp_scsi_task_mgmt_function()
328 zfcp_dbf_scsi_devreset("okay", sdev, tm_flags, fsf_req); in zfcp_scsi_task_mgmt_function()
329 zfcp_scsi_forget_cmnds(zfcp_sdev, tm_flags); in zfcp_scsi_task_mgmt_function()