Home
last modified time | relevance | path

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

/linux-6.1.9/include/scsi/
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
872 return rport_to_shost(dev_to_rport(job->dev)); in fc_bsg_to_shost()
878 return dev_to_rport(job->dev); in fc_bsg_to_rport()
/linux-6.1.9/drivers/scsi/
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()
Dscsi_transport_fc.c2447 struct fc_rport *rport = dev_to_rport(dev); in fc_rport_dev_release()