Searched refs:to_nvmet_port (Results 1 – 2 of 2) sorted by relevance
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()[all …]
100 static inline struct nvmet_port *to_nvmet_port(struct config_item *item) in to_nvmet_port() function