Lines Matching refs:p_status
187 int l_status, p_status, a_status; in zfcp_erp_required_act() local
196 p_status = atomic_read(&port->status); in zfcp_erp_required_act()
197 if (!(p_status & ZFCP_STATUS_COMMON_RUNNING) || in zfcp_erp_required_act()
198 p_status & ZFCP_STATUS_COMMON_ERP_FAILED) in zfcp_erp_required_act()
200 if (!(p_status & ZFCP_STATUS_COMMON_UNBLOCKED)) in zfcp_erp_required_act()
204 p_status = atomic_read(&port->status); in zfcp_erp_required_act()
205 if (!(p_status & ZFCP_STATUS_COMMON_OPEN)) in zfcp_erp_required_act()
209 p_status = atomic_read(&port->status); in zfcp_erp_required_act()
210 if (p_status & ZFCP_STATUS_COMMON_ERP_INUSE) in zfcp_erp_required_act()
216 if (p_status & ZFCP_STATUS_COMMON_NOESC) in zfcp_erp_required_act()
951 int p_status = atomic_read(&port->status); in zfcp_erp_port_strategy_open_common() local
967 if (p_status & ZFCP_STATUS_COMMON_OPEN) { in zfcp_erp_port_strategy_open_common()
974 if (port->d_id && !(p_status & ZFCP_STATUS_COMMON_NOESC)) { in zfcp_erp_port_strategy_open_common()
986 int p_status = atomic_read(&port->status); in zfcp_erp_port_strategy() local
988 if ((p_status & ZFCP_STATUS_COMMON_NOESC) && in zfcp_erp_port_strategy()
989 !(p_status & ZFCP_STATUS_COMMON_OPEN)) in zfcp_erp_port_strategy()
994 if (p_status & ZFCP_STATUS_COMMON_OPEN) in zfcp_erp_port_strategy()
999 if (p_status & ZFCP_STATUS_COMMON_OPEN) in zfcp_erp_port_strategy()