Lines Matching refs:port_state

158 fc_enum_name_search(port_state, fc_port_state, fc_port_state_names)
414 fc_host->port_state = FC_PORTSTATE_UNKNOWN; in fc_host_setup()
698 !((rport->port_state == FC_PORTSTATE_BLOCKED) || \
699 (rport->port_state == FC_PORTSTATE_DELETED) || \
700 (rport->port_state == FC_PORTSTATE_NOTPRESENT))) \
716 if ((rport->port_state == FC_PORTSTATE_BLOCKED) || \
717 (rport->port_state == FC_PORTSTATE_DELETED) || \
718 (rport->port_state == FC_PORTSTATE_NOTPRESENT)) \
859 if ((rport->port_state == FC_PORTSTATE_BLOCKED) || in fc_rport_set_dev_loss_tmo()
860 (rport->port_state == FC_PORTSTATE_DELETED) || in fc_rport_set_dev_loss_tmo()
861 (rport->port_state == FC_PORTSTATE_NOTPRESENT)) in fc_rport_set_dev_loss_tmo()
942 fc_private_rport_rd_enum_attr(port_state, FC_PORTSTATE_MAX_NAMELEN);
968 if ((rport->port_state == FC_PORTSTATE_BLOCKED) || in store_fc_rport_fast_io_fail_tmo()
969 (rport->port_state == FC_PORTSTATE_DELETED) || in store_fc_rport_fast_io_fail_tmo()
970 (rport->port_state == FC_PORTSTATE_NOTPRESENT)) in store_fc_rport_fast_io_fail_tmo()
1567 fc_host_rd_enum_attr(port_state, FC_PORTSTATE_MAX_NAMELEN);
1615 rport->port_state = FC_PORTSTATE_DELETED; in store_fc_private_host_tgtid_bind_type()
2073 if (rport->port_state == FC_PORTSTATE_BLOCKED) in fc_eh_timed_out()
2097 if (rport->port_state != FC_PORTSTATE_ONLINE) in fc_user_scan_tgt()
2232 SETUP_HOST_ATTRIBUTE_RD(port_state); in fc_attach_transport()
2264 SETUP_PRIVATE_RPORT_ATTRIBUTE_RD(port_state); in fc_attach_transport()
2430 rport->port_state = FC_PORTSTATE_DELETED; in fc_remove_host()
2437 rport->port_state = FC_PORTSTATE_DELETED; in fc_remove_host()
2607 rport->port_state = FC_PORTSTATE_ONLINE; in fc_remote_port_create()
2730 if ((rport->port_state == FC_PORTSTATE_BLOCKED || in fc_remote_port_add()
2731 rport->port_state == FC_PORTSTATE_NOTPRESENT) && in fc_remote_port_add()
2758 rport->port_state = FC_PORTSTATE_ONLINE; in fc_remote_port_add()
2868 rport->port_state = FC_PORTSTATE_ONLINE; in fc_remote_port_add()
2960 if (rport->port_state != FC_PORTSTATE_ONLINE) { in fc_remote_port_delete()
2978 rport->port_state = FC_PORTSTATE_BLOCKED; in fc_remote_port_delete()
3102 if ((rport->port_state == FC_PORTSTATE_ONLINE) && in fc_timeout_deleted_rport()
3115 if (rport->port_state != FC_PORTSTATE_BLOCKED) { in fc_timeout_deleted_rport()
3127 rport->port_state = FC_PORTSTATE_DELETED; in fc_timeout_deleted_rport()
3155 rport->port_state = FC_PORTSTATE_NOTPRESENT; in fc_timeout_deleted_rport()
3168 if (rport->port_state == FC_PORTSTATE_NOTPRESENT) { /* still missing */ in fc_timeout_deleted_rport()
3225 if (rport->port_state != FC_PORTSTATE_BLOCKED) in fc_timeout_fail_rport_io()
3245 if ((rport->port_state == FC_PORTSTATE_ONLINE) && in fc_scsi_scan_rport()
3278 while (rport->port_state == FC_PORTSTATE_BLOCKED && in fc_block_rport()
3563 if (rport && rport->port_state == FC_PORTSTATE_BLOCKED) in fc_bsg_job_timeout()
3745 if (rport->port_state == FC_PORTSTATE_BLOCKED && in fc_bsg_rport_prep()
3749 if (rport->port_state != FC_PORTSTATE_ONLINE) in fc_bsg_rport_prep()