Home
last modified time | relevance | path

Searched refs:dev_to_rport (Results 1 – 3 of 3) sorted by relevance

/linux/include/scsi/
H A Dscsi_transport_fc.h394 #define dev_to_rport(d) \ macro
397 dev_to_rport(dev->parent)
428 scsi_is_fc_rport(s->dev.parent) ? dev_to_rport(s->dev.parent) : NULL
868 return rport_to_shost(dev_to_rport(job->dev)); in fc_bsg_to_shost()
874 return dev_to_rport(job->dev); in fc_bsg_to_rport()
/linux/drivers/scsi/
H A Dscsi_transport_srp.c44 #define dev_to_rport(d) container_of(d, struct srp_rport, dev) macro
45 #define transport_class_to_srp_rport(dev) dev_to_rport((dev)->parent)
68 return child ? dev_to_rport(child) : NULL; in shost_to_rport()
620 struct srp_rport *rport = dev_to_rport(dev); in srp_rport_release()
768 srp_rport_del(dev_to_rport(dev)); in do_srp_rport_del()
H A Dscsi_transport_fc.c2445 struct fc_rport *rport = dev_to_rport(dev); in fc_rport_dev_release()