Lines Matching refs:erp_action
42 BUG_ON(!fsf_req->erp_action); in zfcp_fsf_start_erp_timer()
44 fsf_req->timer.data = (unsigned long) fsf_req->erp_action; in zfcp_fsf_start_erp_timer()
407 if (req->erp_action) in zfcp_fsf_req_complete()
408 zfcp_erp_notify(req->erp_action, 0); in zfcp_fsf_req_complete()
1148 int zfcp_fsf_exchange_config_data(struct zfcp_erp_action *erp_action) in zfcp_fsf_exchange_config_data() argument
1151 struct zfcp_qdio *qdio = erp_action->adapter->qdio; in zfcp_fsf_exchange_config_data()
1175 req->erp_action = erp_action; in zfcp_fsf_exchange_config_data()
1177 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_exchange_config_data()
1183 erp_action->fsf_req_id = 0; in zfcp_fsf_exchange_config_data()
1239 int zfcp_fsf_exchange_port_data(struct zfcp_erp_action *erp_action) in zfcp_fsf_exchange_port_data() argument
1241 struct zfcp_qdio *qdio = erp_action->adapter->qdio; in zfcp_fsf_exchange_port_data()
1265 req->erp_action = erp_action; in zfcp_fsf_exchange_port_data()
1266 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_exchange_port_data()
1272 erp_action->fsf_req_id = 0; in zfcp_fsf_exchange_port_data()
1403 int zfcp_fsf_open_port(struct zfcp_erp_action *erp_action) in zfcp_fsf_open_port() argument
1405 struct zfcp_qdio *qdio = erp_action->adapter->qdio; in zfcp_fsf_open_port()
1406 struct zfcp_port *port = erp_action->port; in zfcp_fsf_open_port()
1429 req->erp_action = erp_action; in zfcp_fsf_open_port()
1430 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_open_port()
1437 erp_action->fsf_req_id = 0; in zfcp_fsf_open_port()
1470 int zfcp_fsf_close_port(struct zfcp_erp_action *erp_action) in zfcp_fsf_close_port() argument
1472 struct zfcp_qdio *qdio = erp_action->adapter->qdio; in zfcp_fsf_close_port()
1493 req->data = erp_action->port; in zfcp_fsf_close_port()
1494 req->erp_action = erp_action; in zfcp_fsf_close_port()
1495 req->qtcb->header.port_handle = erp_action->port->handle; in zfcp_fsf_close_port()
1496 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_close_port()
1502 erp_action->fsf_req_id = 0; in zfcp_fsf_close_port()
1690 int zfcp_fsf_close_physical_port(struct zfcp_erp_action *erp_action) in zfcp_fsf_close_physical_port() argument
1692 struct zfcp_qdio *qdio = erp_action->adapter->qdio; in zfcp_fsf_close_physical_port()
1712 req->data = erp_action->port; in zfcp_fsf_close_physical_port()
1713 req->qtcb->header.port_handle = erp_action->port->handle; in zfcp_fsf_close_physical_port()
1714 req->erp_action = erp_action; in zfcp_fsf_close_physical_port()
1716 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_close_physical_port()
1722 erp_action->fsf_req_id = 0; in zfcp_fsf_close_physical_port()
1803 int zfcp_fsf_open_lun(struct zfcp_erp_action *erp_action) in zfcp_fsf_open_lun() argument
1805 struct zfcp_adapter *adapter = erp_action->adapter; in zfcp_fsf_open_lun()
1826 req->qtcb->header.port_handle = erp_action->port->handle; in zfcp_fsf_open_lun()
1827 req->qtcb->bottom.support.fcp_lun = zfcp_scsi_dev_lun(erp_action->sdev); in zfcp_fsf_open_lun()
1829 req->data = erp_action->sdev; in zfcp_fsf_open_lun()
1830 req->erp_action = erp_action; in zfcp_fsf_open_lun()
1831 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_open_lun()
1840 erp_action->fsf_req_id = 0; in zfcp_fsf_open_lun()
1892 int zfcp_fsf_close_lun(struct zfcp_erp_action *erp_action) in zfcp_fsf_close_lun() argument
1894 struct zfcp_qdio *qdio = erp_action->adapter->qdio; in zfcp_fsf_close_lun()
1895 struct zfcp_scsi_dev *zfcp_sdev = sdev_to_zfcp(erp_action->sdev); in zfcp_fsf_close_lun()
1915 req->qtcb->header.port_handle = erp_action->port->handle; in zfcp_fsf_close_lun()
1918 req->data = erp_action->sdev; in zfcp_fsf_close_lun()
1919 req->erp_action = erp_action; in zfcp_fsf_close_lun()
1920 erp_action->fsf_req_id = req->req_id; in zfcp_fsf_close_lun()
1926 erp_action->fsf_req_id = 0; in zfcp_fsf_close_lun()