Lines Matching refs:to_nvmet_port
33 switch (to_nvmet_port(item)->disc_addr.adrfam) { in nvmet_addr_adrfam_show()
48 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_adrfam_store()
75 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_portid_show()
84 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_portid_store()
106 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_traddr_show()
115 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_traddr_store()
136 switch (to_nvmet_port(item)->disc_addr.treq) { in nvmet_addr_treq_show()
151 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_treq_store()
178 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_trsvcid_show()
187 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_trsvcid_store()
207 switch (to_nvmet_port(item)->disc_addr.trtype) { in nvmet_addr_trtype_show()
235 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_trtype_store()
430 struct nvmet_port *port = to_nvmet_port(parent->ci_parent); in nvmet_port_subsys_allow_link()
472 struct nvmet_port *port = to_nvmet_port(parent->ci_parent); in nvmet_port_subsys_drop_link()
675 return snprintf(page, PAGE_SIZE, "%d\n", to_nvmet_port(item)->enabled); in nvmet_referral_enable_show()
681 struct nvmet_port *parent = to_nvmet_port(item->ci_parent->ci_parent); in nvmet_referral_enable_store()
682 struct nvmet_port *port = to_nvmet_port(item); in nvmet_referral_enable_store()
717 struct nvmet_port *port = to_nvmet_port(item); in nvmet_referral_release()
762 struct nvmet_port *port = to_nvmet_port(item); in nvmet_port_release()