Lines Matching refs:fc_rport

34 static int fc_bsg_rportadd(struct Scsi_Host *, struct fc_rport *);
36 static void fc_bsg_goose_queue(struct fc_rport *);
360 struct fc_rport *rport = starget_to_rport(starget);
645 * fc_find_rport_by_wwpn - find the fc_rport pointer for a given wwpn
646 * @shost: host the fc_rport is associated with
647 * @wwpn: wwpn of the fc_rport device
652 struct fc_rport *
655 struct fc_rport *rport;
761 struct fc_rport *rport = NULL;
762 struct fc_rport *attach_rport = NULL;
809 struct fc_rport *rport = NULL;
810 struct fc_rport *attach_rport = NULL;
841 struct fc_rport *rport = NULL;
842 struct fc_rport *attach_rport = NULL;
991 struct fc_rport *rport = transport_class_to_rport(dev); \
1009 struct fc_rport *rport = transport_class_to_rport(dev); \
1047 struct fc_rport *rport = transport_class_to_rport(dev); \
1067 struct fc_rport *rport = transport_class_to_rport(dev); \
1121 struct fc_rport *rport = transport_class_to_rport(dev);
1150 static int fc_rport_set_dev_loss_tmo(struct fc_rport *rport,
1183 struct fc_rport *rport = transport_class_to_rport(dev);
1210 struct fc_rport *rport = transport_class_to_rport(dev);
1243 struct fc_rport *rport = transport_class_to_rport(dev);
1280 struct fc_rport *rport = transport_class_to_rport(dev);
1301 struct fc_rport *rport = transport_class_to_rport(dev);
1315 struct fc_rport *rport = transport_class_to_rport(dev);
1347 struct fc_rport *rport = transport_class_to_rport(cd); \
1422 struct fc_rport *rport = starget_to_rport(starget); \
2011 struct fc_rport *rport;
2066 struct fc_rport *rport;
2450 struct fc_rport *rport = dev_to_rport(dev);
2538 struct fc_rport *rport = starget_to_rport(scsi_target(scmd->device));
2555 struct fc_rport *rport;
2882 struct fc_rport *rport = NULL, *next_rport = NULL;
2931 static void fc_terminate_rport_io(struct fc_rport *rport)
2955 struct fc_rport *rport =
2956 container_of(work, struct fc_rport, stgt_delete_work);
2970 struct fc_rport *rport =
2971 container_of(work, struct fc_rport, rport_delete_work);
3050 static struct fc_rport *
3056 struct fc_rport *rport;
3062 size = (sizeof(struct fc_rport) + fci->f->dd_fcrport_size);
3177 struct fc_rport *
3183 struct fc_rport *rport;
3413 fc_remote_port_delete(struct fc_rport *rport)
3488 fc_remote_port_rolechg(struct fc_rport *rport, u32 roles)
3555 struct fc_rport *rport =
3556 container_of(work, struct fc_rport, dev_loss_work.work);
3693 struct fc_rport *rport =
3694 container_of(work, struct fc_rport, fail_io_work.work);
3710 struct fc_rport *rport =
3711 container_of(work, struct fc_rport, scan_work);
3731 * fc_block_rport() - Block SCSI eh thread for blocked fc_rport.
3735 * blocks the scsi_eh thread until the fc_rport leaves the
3740 * Returns: 0 if the fc_rport left the state FC_PORTSTATE_BLOCKED.
3744 int fc_block_rport(struct fc_rport *rport)
3766 * fc_block_scsi_eh - Block SCSI eh thread for blocked fc_rport
3770 * blocks the scsi_eh thread until the fc_rport leaves the
3775 * Returns: 0 if the fc_rport left the state FC_PORTSTATE_BLOCKED.
3781 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device));
3801 struct fc_rport *rport = starget_to_rport(scsi_target(scmd->device));
4053 struct fc_rport *rport = fc_bsg_to_rport(job);
4164 fc_bsg_goose_queue(struct fc_rport *rport)
4237 static blk_status_t fc_bsg_rport_prep(struct fc_rport *rport)
4253 struct fc_rport *rport = fc_bsg_to_rport(job);
4311 fc_bsg_rportadd(struct Scsi_Host *shost, struct fc_rport *rport)