disc_addr 40 drivers/nvme/target/configfs.c switch (to_nvmet_port(item)->disc_addr.adrfam) { disc_addr 66 drivers/nvme/target/configfs.c port->disc_addr.adrfam = NVMF_ADDR_FAMILY_IP4; disc_addr 68 drivers/nvme/target/configfs.c port->disc_addr.adrfam = NVMF_ADDR_FAMILY_IP6; disc_addr 70 drivers/nvme/target/configfs.c port->disc_addr.adrfam = NVMF_ADDR_FAMILY_IB; disc_addr 72 drivers/nvme/target/configfs.c port->disc_addr.adrfam = NVMF_ADDR_FAMILY_FC; disc_addr 89 drivers/nvme/target/configfs.c le16_to_cpu(port->disc_addr.portid)); disc_addr 108 drivers/nvme/target/configfs.c port->disc_addr.portid = cpu_to_le16(portid); disc_addr 120 drivers/nvme/target/configfs.c port->disc_addr.traddr); disc_addr 139 drivers/nvme/target/configfs.c if (sscanf(page, "%s\n", port->disc_addr.traddr) != 1) disc_addr 149 drivers/nvme/target/configfs.c switch (to_nvmet_port(item)->disc_addr.treq & disc_addr 166 drivers/nvme/target/configfs.c u8 treq = port->disc_addr.treq & ~NVME_TREQ_SECURE_CHANNEL_MASK; disc_addr 184 drivers/nvme/target/configfs.c port->disc_addr.treq = treq; disc_addr 197 drivers/nvme/target/configfs.c port->disc_addr.trsvcid); disc_addr 215 drivers/nvme/target/configfs.c if (sscanf(page, "%s\n", port->disc_addr.trsvcid) != 1) disc_addr 258 drivers/nvme/target/configfs.c if (port->disc_addr.trtype != nvmet_transport_names[i].type) disc_addr 268 drivers/nvme/target/configfs.c port->disc_addr.tsas.rdma.qptype = NVMF_RDMA_QPTYPE_CONNECTED; disc_addr 269 drivers/nvme/target/configfs.c port->disc_addr.tsas.rdma.prtype = NVMF_RDMA_PRTYPE_NOT_SPECIFIED; disc_addr 270 drivers/nvme/target/configfs.c port->disc_addr.tsas.rdma.cms = NVMF_RDMA_CMS_RDMA_CM; disc_addr 293 drivers/nvme/target/configfs.c memset(&port->disc_addr.tsas, 0, NVMF_TSAS_SIZE); disc_addr 294 drivers/nvme/target/configfs.c port->disc_addr.trtype = nvmet_transport_names[i].type; disc_addr 295 drivers/nvme/target/configfs.c if (port->disc_addr.trtype == NVMF_TRTYPE_RDMA) disc_addr 1212 drivers/nvme/target/configfs.c port->disc_addr.portid = cpu_to_le16(portid); disc_addr 1213 drivers/nvme/target/configfs.c port->disc_addr.treq = NVMF_TREQ_DISABLE_SQFLOW; disc_addr 305 drivers/nvme/target/core.c ops = nvmet_transports[port->disc_addr.trtype]; disc_addr 308 drivers/nvme/target/core.c request_module("nvmet-transport-%d", port->disc_addr.trtype); disc_addr 310 drivers/nvme/target/core.c ops = nvmet_transports[port->disc_addr.trtype]; disc_addr 313 drivers/nvme/target/core.c port->disc_addr.trtype); disc_addr 345 drivers/nvme/target/core.c ops = nvmet_transports[port->disc_addr.trtype]; disc_addr 110 drivers/nvme/target/discovery.c e->trtype = port->disc_addr.trtype; disc_addr 111 drivers/nvme/target/discovery.c e->adrfam = port->disc_addr.adrfam; disc_addr 112 drivers/nvme/target/discovery.c e->treq = port->disc_addr.treq; disc_addr 113 drivers/nvme/target/discovery.c e->portid = port->disc_addr.portid; disc_addr 118 drivers/nvme/target/discovery.c memcpy(e->trsvcid, port->disc_addr.trsvcid, NVMF_TRSVCID_SIZE); disc_addr 120 drivers/nvme/target/discovery.c memcpy(e->tsas.common, port->disc_addr.tsas.common, NVMF_TSAS_SIZE); disc_addr 140 drivers/nvme/target/discovery.c memcpy(traddr, port->disc_addr.traddr, NVMF_TRADDR_SIZE); disc_addr 211 drivers/nvme/target/discovery.c r->disc_addr.traddr, disc_addr 2505 drivers/nvme/target/fc.c if ((port->disc_addr.trtype != NVMF_TRTYPE_FC) || disc_addr 2506 drivers/nvme/target/fc.c (port->disc_addr.adrfam != NVMF_ADDR_FAMILY_FC)) disc_addr 2511 drivers/nvme/target/fc.c ret = nvme_fc_parse_traddr(&traddr, port->disc_addr.traddr, disc_addr 2512 drivers/nvme/target/fc.c sizeof(port->disc_addr.traddr)); disc_addr 559 drivers/nvme/target/loop.c strcmp(ctrl->opts->traddr, p->disc_addr.traddr)) disc_addr 130 drivers/nvme/target/nvmet.h struct nvmf_disc_rsp_page_entry disc_addr; disc_addr 1509 drivers/nvme/target/rdma.c switch (port->disc_addr.adrfam) { disc_addr 1518 drivers/nvme/target/rdma.c port->disc_addr.adrfam); disc_addr 1531 drivers/nvme/target/rdma.c ret = inet_pton_with_scope(&init_net, af, port->disc_addr.traddr, disc_addr 1532 drivers/nvme/target/rdma.c port->disc_addr.trsvcid, &addr); disc_addr 1535 drivers/nvme/target/rdma.c port->disc_addr.traddr, port->disc_addr.trsvcid); disc_addr 1571 drivers/nvme/target/rdma.c le16_to_cpu(port->disc_addr.portid), (struct sockaddr *)&addr); disc_addr 1601 drivers/nvme/target/rdma.c memcpy(traddr, port->disc_addr.traddr, NVMF_TRADDR_SIZE); disc_addr 1579 drivers/nvme/target/tcp.c switch (nport->disc_addr.adrfam) { disc_addr 1588 drivers/nvme/target/tcp.c nport->disc_addr.adrfam); disc_addr 1593 drivers/nvme/target/tcp.c ret = inet_pton_with_scope(&init_net, af, nport->disc_addr.traddr, disc_addr 1594 drivers/nvme/target/tcp.c nport->disc_addr.trsvcid, &port->addr); disc_addr 1597 drivers/nvme/target/tcp.c nport->disc_addr.traddr, nport->disc_addr.trsvcid); disc_addr 1648 drivers/nvme/target/tcp.c le16_to_cpu(nport->disc_addr.portid), &port->addr); disc_addr 1712 drivers/nvme/target/tcp.c memcpy(traddr, nport->disc_addr.traddr, NVMF_TRADDR_SIZE);