Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/s390/scsi/
Dzfcp_fc.c146 static int zfcp_fc_wka_port_get(struct zfcp_fc_wka_port *wka_port) in zfcp_fc_wka_port_get() argument
150 if (mutex_lock_interruptible(&wka_port->mutex)) in zfcp_fc_wka_port_get()
153 if (wka_port->status == ZFCP_FC_WKA_PORT_OFFLINE || in zfcp_fc_wka_port_get()
154 wka_port->status == ZFCP_FC_WKA_PORT_CLOSING) { in zfcp_fc_wka_port_get()
155 wka_port->status = ZFCP_FC_WKA_PORT_OPENING; in zfcp_fc_wka_port_get()
156 if (zfcp_fsf_open_wka_port(wka_port)) { in zfcp_fc_wka_port_get()
158 wka_port->status = ZFCP_FC_WKA_PORT_OFFLINE; in zfcp_fc_wka_port_get()
163 wait_event(wka_port->opened, in zfcp_fc_wka_port_get()
164 wka_port->status == ZFCP_FC_WKA_PORT_ONLINE || in zfcp_fc_wka_port_get()
165 wka_port->status == ZFCP_FC_WKA_PORT_OFFLINE); in zfcp_fc_wka_port_get()
[all …]
Dzfcp_fsf.c1225 int zfcp_fsf_send_ct(struct zfcp_fc_wka_port *wka_port, in zfcp_fsf_send_ct() argument
1229 struct zfcp_qdio *qdio = wka_port->adapter->qdio; in zfcp_fsf_send_ct()
1251 req->qtcb->header.port_handle = wka_port->handle; in zfcp_fsf_send_ct()
1252 ct->d_id = wka_port->d_id; in zfcp_fsf_send_ct()
1255 zfcp_dbf_san_req("fssct_1", req, wka_port->d_id); in zfcp_fsf_send_ct()
1889 struct zfcp_fc_wka_port *wka_port = req->data; in zfcp_fsf_open_wka_port_handler() local
1893 wka_port->status = ZFCP_FC_WKA_PORT_OFFLINE; in zfcp_fsf_open_wka_port_handler()
1900 "Opening WKA port 0x%x failed\n", wka_port->d_id); in zfcp_fsf_open_wka_port_handler()
1904 wka_port->status = ZFCP_FC_WKA_PORT_OFFLINE; in zfcp_fsf_open_wka_port_handler()
1907 wka_port->handle = header->port_handle; in zfcp_fsf_open_wka_port_handler()
[all …]
Dzfcp_dbf.c449 void zfcp_dbf_rec_run_wka(char *tag, struct zfcp_fc_wka_port *wka_port, in zfcp_dbf_rec_run_wka() argument
452 struct zfcp_dbf *dbf = wka_port->adapter->dbf; in zfcp_dbf_rec_run_wka()
465 rec->port_status = wka_port->status; in zfcp_dbf_rec_run_wka()
466 rec->d_id = wka_port->d_id; in zfcp_dbf_rec_run_wka()