Lines Matching refs:fc_rport
50 static int fc_bsg_rportadd(struct Scsi_Host *, struct fc_rport *);
52 static void fc_bsg_goose_queue(struct fc_rport *);
362 struct fc_rport *rport = starget_to_rport(starget); in fc_target_setup()
708 struct fc_rport *rport = transport_class_to_rport(dev); \
726 struct fc_rport *rport = transport_class_to_rport(dev); \
764 struct fc_rport *rport = transport_class_to_rport(dev); \
784 struct fc_rport *rport = transport_class_to_rport(dev); \
838 struct fc_rport *rport = transport_class_to_rport(dev); in show_fc_rport_supported_classes()
867 static int fc_rport_set_dev_loss_tmo(struct fc_rport *rport, in fc_rport_set_dev_loss_tmo()
900 struct fc_rport *rport = transport_class_to_rport(dev); in store_fc_rport_dev_loss_tmo()
927 struct fc_rport *rport = transport_class_to_rport(dev); in show_fc_rport_roles()
966 struct fc_rport *rport = transport_class_to_rport(dev); in show_fc_rport_fast_io_fail_tmo()
980 struct fc_rport *rport = transport_class_to_rport(dev); in store_fc_rport_fast_io_fail_tmo()
1026 struct fc_rport *rport = starget_to_rport(starget); \
1615 struct fc_rport *rport; in store_fc_private_host_tgtid_bind_type()
1670 struct fc_rport *rport; in store_fc_private_host_dev_loss_tmo()
1996 struct fc_rport *rport = dev_to_rport(dev); in fc_rport_dev_release()
2085 struct fc_rport *rport = starget_to_rport(scsi_target(scmd->device)); in fc_eh_timed_out()
2102 struct fc_rport *rport; in fc_user_scan_tgt()
2427 struct fc_rport *rport = NULL, *next_rport = NULL; in fc_remove_host()
2476 static void fc_terminate_rport_io(struct fc_rport *rport) in fc_terminate_rport_io()
2500 struct fc_rport *rport = in fc_starget_delete()
2501 container_of(work, struct fc_rport, stgt_delete_work); in fc_starget_delete()
2515 struct fc_rport *rport = in fc_rport_final_delete()
2516 container_of(work, struct fc_rport, rport_delete_work); in fc_rport_final_delete()
2595 static struct fc_rport *
2601 struct fc_rport *rport; in fc_remote_port_create()
2607 size = (sizeof(struct fc_rport) + fci->f->dd_fcrport_size); in fc_remote_port_create()
2722 struct fc_rport *
2728 struct fc_rport *rport; in fc_remote_port_add()
2958 fc_remote_port_delete(struct fc_rport *rport) in fc_remote_port_delete()
3032 fc_remote_port_rolechg(struct fc_rport *rport, u32 roles) in fc_remote_port_rolechg()
3099 struct fc_rport *rport = in fc_timeout_deleted_rport()
3100 container_of(work, struct fc_rport, dev_loss_work.work); in fc_timeout_deleted_rport()
3236 struct fc_rport *rport = in fc_timeout_fail_rport_io()
3237 container_of(work, struct fc_rport, fail_io_work.work); in fc_timeout_fail_rport_io()
3253 struct fc_rport *rport = in fc_scsi_scan_rport()
3254 container_of(work, struct fc_rport, scan_work); in fc_scsi_scan_rport()
3286 int fc_block_rport(struct fc_rport *rport) in fc_block_rport()
3323 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); in fc_block_scsi_eh()
3573 struct fc_rport *rport = fc_bsg_to_rport(job); in fc_bsg_job_timeout()
3684 fc_bsg_goose_queue(struct fc_rport *rport) in fc_bsg_goose_queue()
3799 struct fc_rport *rport = dev_to_rport(q->queuedata); in fc_bsg_rport_prep()
3817 fc_bsg_rportadd(struct Scsi_Host *shost, struct fc_rport *rport) in fc_bsg_rportadd()