Lines Matching refs:sdev_to_zfcp
93 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_action_dismiss_lun()
107 if (sdev_to_zfcp(sdev)->port == port) in zfcp_erp_action_dismiss_port()
135 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_required_act()
186 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_setup_act()
408 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in _zfcp_erp_lun_reopen()
431 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_reopen()
465 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_shutdown_wait()
498 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_unblock()
501 zfcp_dbf_rec_run("erlubl1", &sdev_to_zfcp(sdev)->erp_action); in zfcp_erp_lun_unblock()
596 if (sdev_to_zfcp(sdev)->port == port) in _zfcp_erp_lun_reopen_all()
951 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_strategy_clearstati()
983 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_lun_strategy()
1007 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_strategy_check_lun()
1164 zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_strategy_statechange()
1192 zfcp_sdev = sdev_to_zfcp(erp_action->sdev); in zfcp_erp_action_dequeue()
1439 atomic_set_mask(common_mask, &sdev_to_zfcp(sdev)->status); in zfcp_erp_set_adapter_status()
1474 atomic_clear_mask(common_mask, &sdev_to_zfcp(sdev)->status); in zfcp_erp_clear_adapter_status()
1476 atomic_set(&sdev_to_zfcp(sdev)->erp_counter, 0); in zfcp_erp_clear_adapter_status()
1498 if (sdev_to_zfcp(sdev)->port == port) in zfcp_erp_set_port_status()
1500 &sdev_to_zfcp(sdev)->status); in zfcp_erp_set_port_status()
1525 if (sdev_to_zfcp(sdev)->port == port) { in zfcp_erp_clear_port_status()
1527 &sdev_to_zfcp(sdev)->status); in zfcp_erp_clear_port_status()
1529 atomic_set(&sdev_to_zfcp(sdev)->erp_counter, 0); in zfcp_erp_clear_port_status()
1540 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_set_lun_status()
1552 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(sdev); in zfcp_erp_clear_lun_status()