Home
last modified time | relevance | path

Searched refs:wka_port (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/s390/scsi/
Dzfcp_fc.c81 static int zfcp_fc_wka_port_get(struct zfcp_fc_wka_port *wka_port) in zfcp_fc_wka_port_get() argument
83 if (mutex_lock_interruptible(&wka_port->mutex)) in zfcp_fc_wka_port_get()
86 if (wka_port->status == ZFCP_FC_WKA_PORT_OFFLINE || in zfcp_fc_wka_port_get()
87 wka_port->status == ZFCP_FC_WKA_PORT_CLOSING) { in zfcp_fc_wka_port_get()
88 wka_port->status = ZFCP_FC_WKA_PORT_OPENING; in zfcp_fc_wka_port_get()
89 if (zfcp_fsf_open_wka_port(wka_port)) in zfcp_fc_wka_port_get()
90 wka_port->status = ZFCP_FC_WKA_PORT_OFFLINE; in zfcp_fc_wka_port_get()
93 mutex_unlock(&wka_port->mutex); in zfcp_fc_wka_port_get()
95 wait_event(wka_port->completion_wq, in zfcp_fc_wka_port_get()
96 wka_port->status == ZFCP_FC_WKA_PORT_ONLINE || in zfcp_fc_wka_port_get()
[all …]
Dzfcp_fsf.c1002 int zfcp_fsf_send_ct(struct zfcp_fc_wka_port *wka_port, in zfcp_fsf_send_ct() argument
1006 struct zfcp_qdio *qdio = wka_port->adapter->qdio; in zfcp_fsf_send_ct()
1028 req->qtcb->header.port_handle = wka_port->handle; in zfcp_fsf_send_ct()
1031 zfcp_dbf_san_req("fssct_1", req, wka_port->d_id); in zfcp_fsf_send_ct()
1511 struct zfcp_fc_wka_port *wka_port = req->data; in zfcp_fsf_open_wka_port_handler() local
1515 wka_port->status = ZFCP_FC_WKA_PORT_OFFLINE; in zfcp_fsf_open_wka_port_handler()
1522 "Opening WKA port 0x%x failed\n", wka_port->d_id); in zfcp_fsf_open_wka_port_handler()
1528 wka_port->status = ZFCP_FC_WKA_PORT_OFFLINE; in zfcp_fsf_open_wka_port_handler()
1531 wka_port->handle = header->port_handle; in zfcp_fsf_open_wka_port_handler()
1534 wka_port->status = ZFCP_FC_WKA_PORT_ONLINE; in zfcp_fsf_open_wka_port_handler()
[all …]