Lines Matching refs:p_status
133 int l_status, p_status, a_status; in zfcp_erp_required_act() local
142 p_status = atomic_read(&port->status); in zfcp_erp_required_act()
143 if (!(p_status & ZFCP_STATUS_COMMON_RUNNING) || in zfcp_erp_required_act()
144 p_status & ZFCP_STATUS_COMMON_ERP_FAILED) in zfcp_erp_required_act()
146 if (!(p_status & ZFCP_STATUS_COMMON_UNBLOCKED)) in zfcp_erp_required_act()
150 p_status = atomic_read(&port->status); in zfcp_erp_required_act()
151 if (!(p_status & ZFCP_STATUS_COMMON_OPEN)) in zfcp_erp_required_act()
155 p_status = atomic_read(&port->status); in zfcp_erp_required_act()
156 if (p_status & ZFCP_STATUS_COMMON_ERP_INUSE) in zfcp_erp_required_act()
162 if (p_status & ZFCP_STATUS_COMMON_NOESC) in zfcp_erp_required_act()
887 int p_status = atomic_read(&port->status); in zfcp_erp_port_strategy_open_common() local
903 if (p_status & ZFCP_STATUS_COMMON_OPEN) { in zfcp_erp_port_strategy_open_common()
910 if (port->d_id && !(p_status & ZFCP_STATUS_COMMON_NOESC)) { in zfcp_erp_port_strategy_open_common()
922 int p_status = atomic_read(&port->status); in zfcp_erp_port_strategy() local
924 if ((p_status & ZFCP_STATUS_COMMON_NOESC) && in zfcp_erp_port_strategy()
925 !(p_status & ZFCP_STATUS_COMMON_OPEN)) in zfcp_erp_port_strategy()
930 if (p_status & ZFCP_STATUS_COMMON_OPEN) in zfcp_erp_port_strategy()
935 if (p_status & ZFCP_STATUS_COMMON_OPEN) in zfcp_erp_port_strategy()