• Home
  • Raw
  • Download

Lines Matching refs:port_state

148 fc_enum_name_search(port_state, fc_port_state, fc_port_state_names)
378 fc_host->port_state = FC_PORTSTATE_UNKNOWN; in fc_host_setup()
669 !((rport->port_state == FC_PORTSTATE_BLOCKED) || \
670 (rport->port_state == FC_PORTSTATE_DELETED) || \
671 (rport->port_state == FC_PORTSTATE_NOTPRESENT))) \
687 if ((rport->port_state == FC_PORTSTATE_BLOCKED) || \
688 (rport->port_state == FC_PORTSTATE_DELETED) || \
689 (rport->port_state == FC_PORTSTATE_NOTPRESENT)) \
818 if ((rport->port_state == FC_PORTSTATE_BLOCKED) || in store_fc_rport_dev_loss_tmo()
819 (rport->port_state == FC_PORTSTATE_DELETED) || in store_fc_rport_dev_loss_tmo()
820 (rport->port_state == FC_PORTSTATE_NOTPRESENT)) in store_fc_rport_dev_loss_tmo()
872 fc_private_rport_rd_enum_attr(port_state, FC_PORTSTATE_MAX_NAMELEN);
898 if ((rport->port_state == FC_PORTSTATE_BLOCKED) || in store_fc_rport_fast_io_fail_tmo()
899 (rport->port_state == FC_PORTSTATE_DELETED) || in store_fc_rport_fast_io_fail_tmo()
900 (rport->port_state == FC_PORTSTATE_NOTPRESENT)) in store_fc_rport_fast_io_fail_tmo()
1474 fc_host_rd_enum_attr(port_state, FC_PORTSTATE_MAX_NAMELEN);
1522 rport->port_state = FC_PORTSTATE_DELETED; in store_fc_private_host_tgtid_bind_type()
1934 if (rport->port_state == FC_PORTSTATE_BLOCKED) in fc_timed_out()
1957 if (rport->port_state != FC_PORTSTATE_ONLINE) in fc_user_scan_tgt()
2103 SETUP_HOST_ATTRIBUTE_RD(port_state); in fc_attach_transport()
2134 SETUP_PRIVATE_RPORT_ATTRIBUTE_RD(port_state); in fc_attach_transport()
2298 rport->port_state = FC_PORTSTATE_DELETED; in fc_remove_host()
2305 rport->port_state = FC_PORTSTATE_DELETED; in fc_remove_host()
2465 rport->port_state = FC_PORTSTATE_ONLINE; in fc_rport_create()
2584 if ((rport->port_state == FC_PORTSTATE_BLOCKED) && in fc_remote_port_add()
2611 rport->port_state = FC_PORTSTATE_ONLINE; in fc_remote_port_add()
2717 rport->port_state = FC_PORTSTATE_ONLINE; in fc_remote_port_add()
2814 if (rport->port_state != FC_PORTSTATE_ONLINE) { in fc_remote_port_delete()
2832 rport->port_state = FC_PORTSTATE_BLOCKED; in fc_remote_port_delete()
2965 if ((rport->port_state == FC_PORTSTATE_ONLINE) && in fc_timeout_deleted_rport()
2978 if (rport->port_state != FC_PORTSTATE_BLOCKED) { in fc_timeout_deleted_rport()
2990 rport->port_state = FC_PORTSTATE_DELETED; in fc_timeout_deleted_rport()
3018 rport->port_state = FC_PORTSTATE_NOTPRESENT; in fc_timeout_deleted_rport()
3030 BUG_ON(rport->port_state != FC_PORTSTATE_NOTPRESENT); in fc_timeout_deleted_rport()
3081 if (rport->port_state != FC_PORTSTATE_BLOCKED) in fc_timeout_fail_rport_io()
3101 if ((rport->port_state == FC_PORTSTATE_ONLINE) && in fc_scsi_scan_rport()