• Home
  • Raw
  • Download

Lines Matching refs:disc_addr

48 				le16_to_cpu(p->disc_addr.portid), caller);  in nvmet_is_port_enabled()
58 u8 adrfam = to_nvmet_port(item)->disc_addr.adrfam; in nvmet_addr_adrfam_show()
87 port->disc_addr.adrfam = nvmet_addr_family[i].type; in nvmet_addr_adrfam_store()
99 le16_to_cpu(port->disc_addr.portid)); in nvmet_addr_portid_show()
116 port->disc_addr.portid = cpu_to_le16(portid); in nvmet_addr_portid_store()
128 port->disc_addr.traddr); in nvmet_addr_traddr_show()
144 if (sscanf(page, "%s\n", port->disc_addr.traddr) != 1) in nvmet_addr_traddr_store()
159 u8 treq = to_nvmet_port(item)->disc_addr.treq & in nvmet_addr_treq_show()
175 u8 treq = port->disc_addr.treq & ~NVME_TREQ_SECURE_CHANNEL_MASK; in nvmet_addr_treq_store()
191 port->disc_addr.treq = treq; in nvmet_addr_treq_store()
203 port->disc_addr.trsvcid); in nvmet_addr_trsvcid_show()
218 if (sscanf(page, "%s\n", port->disc_addr.trsvcid) != 1) in nvmet_addr_trsvcid_store()
288 if (port->disc_addr.trtype == nvmet_transport[i].type) in nvmet_addr_trtype_show()
297 port->disc_addr.tsas.rdma.qptype = NVMF_RDMA_QPTYPE_CONNECTED; in nvmet_port_init_tsas_rdma()
298 port->disc_addr.tsas.rdma.prtype = NVMF_RDMA_PRTYPE_NOT_SPECIFIED; in nvmet_port_init_tsas_rdma()
299 port->disc_addr.tsas.rdma.cms = NVMF_RDMA_CMS_RDMA_CM; in nvmet_port_init_tsas_rdma()
320 memset(&port->disc_addr.tsas, 0, NVMF_TSAS_SIZE); in nvmet_addr_trtype_store()
321 port->disc_addr.trtype = nvmet_transport[i].type; in nvmet_addr_trtype_store()
322 if (port->disc_addr.trtype == NVMF_TRTYPE_RDMA) in nvmet_addr_trtype_store()
1531 port->disc_addr.portid = cpu_to_le16(portid); in nvmet_ports_make()
1532 port->disc_addr.adrfam = NVMF_ADDR_FAMILY_MAX; in nvmet_ports_make()
1533 port->disc_addr.treq = NVMF_TREQ_DISABLE_SQFLOW; in nvmet_ports_make()