Lines Matching defs:p_status
167 int l_status, p_status, a_status;
176 p_status = atomic_read(&port->status);
177 if (!(p_status & ZFCP_STATUS_COMMON_RUNNING) ||
178 p_status & ZFCP_STATUS_COMMON_ERP_FAILED)
180 if (!(p_status & ZFCP_STATUS_COMMON_UNBLOCKED))
184 p_status = atomic_read(&port->status);
185 if (!(p_status & ZFCP_STATUS_COMMON_OPEN))
189 p_status = atomic_read(&port->status);
190 if (p_status & ZFCP_STATUS_COMMON_ERP_INUSE)
196 if (p_status & ZFCP_STATUS_COMMON_NOESC)
1046 int p_status = atomic_read(&port->status);
1062 if (p_status & ZFCP_STATUS_COMMON_OPEN) {
1069 if (port->d_id && !(p_status & ZFCP_STATUS_COMMON_NOESC)) {
1087 int p_status = atomic_read(&port->status);
1089 if ((p_status & ZFCP_STATUS_COMMON_NOESC) &&
1090 !(p_status & ZFCP_STATUS_COMMON_OPEN))
1095 if (p_status & ZFCP_STATUS_COMMON_OPEN)
1100 if (p_status & ZFCP_STATUS_COMMON_OPEN)