Lines Matching refs:t
31 struct scsi_transport_template t; member
42 #define to_srp_internal(tmpl) container_of(tmpl, struct srp_internal, t)
665 return &i->t.host_attrs.ac == cont; in srp_host_match()
821 i->t.host_size = sizeof(struct srp_host_attrs); in srp_attach_transport()
822 i->t.host_attrs.ac.attrs = &i->host_attrs[0]; in srp_attach_transport()
823 i->t.host_attrs.ac.class = &srp_host_class.class; in srp_attach_transport()
824 i->t.host_attrs.ac.match = srp_host_match; in srp_attach_transport()
826 transport_container_register(&i->t.host_attrs); in srp_attach_transport()
853 return &i->t; in srp_attach_transport()
861 void srp_release_transport(struct scsi_transport_template *t) in srp_release_transport() argument
863 struct srp_internal *i = to_srp_internal(t); in srp_release_transport()
865 transport_container_unregister(&i->t.host_attrs); in srp_release_transport()