Lines Matching refs:port_state
173 fc_enum_name_search(port_state, fc_port_state, fc_port_state_names)
423 fc_host->port_state = FC_PORTSTATE_UNKNOWN; in fc_host_setup()
708 !((rport->port_state == FC_PORTSTATE_BLOCKED) || \
709 (rport->port_state == FC_PORTSTATE_DELETED) || \
710 (rport->port_state == FC_PORTSTATE_NOTPRESENT))) \
726 if ((rport->port_state == FC_PORTSTATE_BLOCKED) || \
727 (rport->port_state == FC_PORTSTATE_DELETED) || \
728 (rport->port_state == FC_PORTSTATE_NOTPRESENT)) \
869 if ((rport->port_state == FC_PORTSTATE_BLOCKED) || in fc_rport_set_dev_loss_tmo()
870 (rport->port_state == FC_PORTSTATE_DELETED) || in fc_rport_set_dev_loss_tmo()
871 (rport->port_state == FC_PORTSTATE_NOTPRESENT)) in fc_rport_set_dev_loss_tmo()
952 fc_private_rport_rd_enum_attr(port_state, FC_PORTSTATE_MAX_NAMELEN);
978 if ((rport->port_state == FC_PORTSTATE_BLOCKED) || in store_fc_rport_fast_io_fail_tmo()
979 (rport->port_state == FC_PORTSTATE_DELETED) || in store_fc_rport_fast_io_fail_tmo()
980 (rport->port_state == FC_PORTSTATE_NOTPRESENT)) in store_fc_rport_fast_io_fail_tmo()
1577 fc_host_rd_enum_attr(port_state, FC_PORTSTATE_MAX_NAMELEN);
1625 rport->port_state = FC_PORTSTATE_DELETED; in store_fc_private_host_tgtid_bind_type()
2084 if (rport->port_state == FC_PORTSTATE_BLOCKED) in fc_timed_out()
2107 if (rport->port_state != FC_PORTSTATE_ONLINE) in fc_user_scan_tgt()
2260 SETUP_HOST_ATTRIBUTE_RD(port_state); in fc_attach_transport()
2292 SETUP_PRIVATE_RPORT_ATTRIBUTE_RD(port_state); in fc_attach_transport()
2456 rport->port_state = FC_PORTSTATE_DELETED; in fc_remove_host()
2463 rport->port_state = FC_PORTSTATE_DELETED; in fc_remove_host()
2633 rport->port_state = FC_PORTSTATE_ONLINE; in fc_rport_create()
2755 if ((rport->port_state == FC_PORTSTATE_BLOCKED) && in fc_remote_port_add()
2782 rport->port_state = FC_PORTSTATE_ONLINE; in fc_remote_port_add()
2893 rport->port_state = FC_PORTSTATE_ONLINE; in fc_remote_port_add()
2991 if (rport->port_state != FC_PORTSTATE_ONLINE) { in fc_remote_port_delete()
3009 rport->port_state = FC_PORTSTATE_BLOCKED; in fc_remote_port_delete()
3133 if ((rport->port_state == FC_PORTSTATE_ONLINE) && in fc_timeout_deleted_rport()
3146 if (rport->port_state != FC_PORTSTATE_BLOCKED) { in fc_timeout_deleted_rport()
3158 rport->port_state = FC_PORTSTATE_DELETED; in fc_timeout_deleted_rport()
3186 rport->port_state = FC_PORTSTATE_NOTPRESENT; in fc_timeout_deleted_rport()
3199 if (rport->port_state == FC_PORTSTATE_NOTPRESENT) { /* still missing */ in fc_timeout_deleted_rport()
3256 if (rport->port_state != FC_PORTSTATE_BLOCKED) in fc_timeout_fail_rport_io()
3276 if ((rport->port_state == FC_PORTSTATE_ONLINE) && in fc_scsi_scan_rport()
3309 while (rport->port_state == FC_PORTSTATE_BLOCKED && in fc_block_scsi_eh()
3644 if (job->rport && job->rport->port_state == FC_PORTSTATE_BLOCKED) in fc_bsg_job_timeout()
3944 if (rport && (rport->port_state == FC_PORTSTATE_BLOCKED) && in fc_bsg_request_handler()
3952 if (rport && (rport->port_state != FC_PORTSTATE_ONLINE)) { in fc_bsg_request_handler()