Lines Matching refs:t

325 	struct scsi_transport_template t;  member
354 #define to_fc_internal(tmpl) container_of(tmpl, struct fc_internal, t)
2426 return &i->t.host_attrs.ac == cont; in fc_host_match()
2445 return &i->t.target_attrs.ac == cont; in fc_target_match()
2630 i->t.target_attrs.ac.attrs = &i->starget_attrs[0]; in fc_attach_transport()
2631 i->t.target_attrs.ac.class = &fc_transport_class.class; in fc_attach_transport()
2632 i->t.target_attrs.ac.match = fc_target_match; in fc_attach_transport()
2633 i->t.target_size = sizeof(struct fc_starget_attrs); in fc_attach_transport()
2634 transport_container_register(&i->t.target_attrs); in fc_attach_transport()
2636 i->t.host_attrs.ac.attrs = &i->host_attrs[0]; in fc_attach_transport()
2637 i->t.host_attrs.ac.class = &fc_host_class.class; in fc_attach_transport()
2638 i->t.host_attrs.ac.match = fc_host_match; in fc_attach_transport()
2639 i->t.host_size = sizeof(struct fc_host_attrs); in fc_attach_transport()
2641 i->t.host_attrs.statistics = &fc_statistics_group; in fc_attach_transport()
2642 transport_container_register(&i->t.host_attrs); in fc_attach_transport()
2658 i->t.create_work_queue = 1; in fc_attach_transport()
2660 i->t.user_scan = fc_user_scan; in fc_attach_transport()
2759 return &i->t; in fc_attach_transport()
2763 void fc_release_transport(struct scsi_transport_template *t) in fc_release_transport() argument
2765 struct fc_internal *i = to_fc_internal(t); in fc_release_transport()
2767 transport_container_unregister(&i->t.target_attrs); in fc_release_transport()
2768 transport_container_unregister(&i->t.host_attrs); in fc_release_transport()