Searched refs:wka_port (Results 1 – 3 of 3) sorted by relevance
146 static int zfcp_fc_wka_port_get(struct zfcp_fc_wka_port *wka_port) in zfcp_fc_wka_port_get() argument150 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 …]
1073 int zfcp_fsf_send_ct(struct zfcp_fc_wka_port *wka_port, in zfcp_fsf_send_ct() argument1077 struct zfcp_qdio *qdio = wka_port->adapter->qdio; in zfcp_fsf_send_ct()1099 req->qtcb->header.port_handle = wka_port->handle; in zfcp_fsf_send_ct()1100 ct->d_id = wka_port->d_id; in zfcp_fsf_send_ct()1103 zfcp_dbf_san_req("fssct_1", req, wka_port->d_id); in zfcp_fsf_send_ct()1571 struct zfcp_fc_wka_port *wka_port = req->data; in zfcp_fsf_open_wka_port_handler() local1575 wka_port->status = ZFCP_FC_WKA_PORT_OFFLINE; in zfcp_fsf_open_wka_port_handler()1582 "Opening WKA port 0x%x failed\n", wka_port->d_id); in zfcp_fsf_open_wka_port_handler()1586 wka_port->status = ZFCP_FC_WKA_PORT_OFFLINE; in zfcp_fsf_open_wka_port_handler()1589 wka_port->handle = header->port_handle; in zfcp_fsf_open_wka_port_handler()[all …]
388 void zfcp_dbf_rec_run_wka(char *tag, struct zfcp_fc_wka_port *wka_port, in zfcp_dbf_rec_run_wka() argument391 struct zfcp_dbf *dbf = wka_port->adapter->dbf; in zfcp_dbf_rec_run_wka()404 rec->port_status = wka_port->status; in zfcp_dbf_rec_run_wka()405 rec->d_id = wka_port->d_id; in zfcp_dbf_rec_run_wka()