Lines Matching refs:disc_addr

40 	switch (to_nvmet_port(item)->disc_addr.adrfam) {  in nvmet_addr_adrfam_show()
66 port->disc_addr.adrfam = NVMF_ADDR_FAMILY_IP4; in nvmet_addr_adrfam_store()
68 port->disc_addr.adrfam = NVMF_ADDR_FAMILY_IP6; in nvmet_addr_adrfam_store()
70 port->disc_addr.adrfam = NVMF_ADDR_FAMILY_IB; in nvmet_addr_adrfam_store()
72 port->disc_addr.adrfam = NVMF_ADDR_FAMILY_FC; in nvmet_addr_adrfam_store()
89 le16_to_cpu(port->disc_addr.portid)); in nvmet_addr_portid_show()
108 port->disc_addr.portid = cpu_to_le16(portid); in nvmet_addr_portid_store()
120 port->disc_addr.traddr); in nvmet_addr_traddr_show()
139 if (sscanf(page, "%s\n", port->disc_addr.traddr) != 1) in nvmet_addr_traddr_store()
149 switch (to_nvmet_port(item)->disc_addr.treq & in nvmet_addr_treq_show()
166 u8 treq = port->disc_addr.treq & ~NVME_TREQ_SECURE_CHANNEL_MASK; in nvmet_addr_treq_store()
184 port->disc_addr.treq = treq; in nvmet_addr_treq_store()
197 port->disc_addr.trsvcid); in nvmet_addr_trsvcid_show()
215 if (sscanf(page, "%s\n", port->disc_addr.trsvcid) != 1) in nvmet_addr_trsvcid_store()
258 if (port->disc_addr.trtype != nvmet_transport_names[i].type) in nvmet_addr_trtype_show()
268 port->disc_addr.tsas.rdma.qptype = NVMF_RDMA_QPTYPE_CONNECTED; in nvmet_port_init_tsas_rdma()
269 port->disc_addr.tsas.rdma.prtype = NVMF_RDMA_PRTYPE_NOT_SPECIFIED; in nvmet_port_init_tsas_rdma()
270 port->disc_addr.tsas.rdma.cms = NVMF_RDMA_CMS_RDMA_CM; in nvmet_port_init_tsas_rdma()
293 memset(&port->disc_addr.tsas, 0, NVMF_TSAS_SIZE); in nvmet_addr_trtype_store()
294 port->disc_addr.trtype = nvmet_transport_names[i].type; in nvmet_addr_trtype_store()
295 if (port->disc_addr.trtype == NVMF_TRTYPE_RDMA) in nvmet_addr_trtype_store()
1212 port->disc_addr.portid = cpu_to_le16(portid); in nvmet_ports_make()
1213 port->disc_addr.treq = NVMF_TREQ_DISABLE_SQFLOW; in nvmet_ports_make()