Searched refs:disc_addr (Results 1 – 5 of 5) sorted by relevance
/drivers/nvme/target/ |
D | configfs.c | 33 switch (to_nvmet_port(item)->disc_addr.adrfam) { in nvmet_addr_adrfam_show() 57 port->disc_addr.adrfam = NVMF_ADDR_FAMILY_IP4; in nvmet_addr_adrfam_store() 59 port->disc_addr.adrfam = NVMF_ADDR_FAMILY_IP6; in nvmet_addr_adrfam_store() 61 port->disc_addr.adrfam = NVMF_ADDR_FAMILY_IB; in nvmet_addr_adrfam_store() 78 le16_to_cpu(port->disc_addr.portid)); in nvmet_addr_portid_show() 97 port->disc_addr.portid = cpu_to_le16(portid); in nvmet_addr_portid_store() 109 port->disc_addr.traddr); in nvmet_addr_traddr_show() 127 return snprintf(port->disc_addr.traddr, in nvmet_addr_traddr_store() 128 sizeof(port->disc_addr.traddr), "%s", page); in nvmet_addr_traddr_store() 136 switch (to_nvmet_port(item)->disc_addr.treq) { in nvmet_addr_treq_show() [all …]
|
D | discovery.c | 50 e->trtype = port->disc_addr.trtype; in nvmet_format_discovery_entry() 51 e->adrfam = port->disc_addr.adrfam; in nvmet_format_discovery_entry() 52 e->treq = port->disc_addr.treq; in nvmet_format_discovery_entry() 53 e->portid = port->disc_addr.portid; in nvmet_format_discovery_entry() 58 memcpy(e->trsvcid, port->disc_addr.trsvcid, NVMF_TRSVCID_SIZE); in nvmet_format_discovery_entry() 59 memcpy(e->traddr, port->disc_addr.traddr, NVMF_TRADDR_SIZE); in nvmet_format_discovery_entry() 60 memcpy(e->tsas.common, port->disc_addr.tsas.common, NVMF_TSAS_SIZE); in nvmet_format_discovery_entry()
|
D | core.c | 156 ops = nvmet_transports[port->disc_addr.trtype]; in nvmet_enable_port() 159 request_module("nvmet-transport-%d", port->disc_addr.trtype); in nvmet_enable_port() 161 ops = nvmet_transports[port->disc_addr.trtype]; in nvmet_enable_port() 164 port->disc_addr.trtype); in nvmet_enable_port() 190 ops = nvmet_transports[port->disc_addr.trtype]; in nvmet_disable_port()
|
D | rdma.c | 1426 switch (port->disc_addr.adrfam) { in nvmet_rdma_add_port() 1431 port->disc_addr.adrfam); in nvmet_rdma_add_port() 1435 ret = kstrtou16(port->disc_addr.trsvcid, 0, &port_in); in nvmet_rdma_add_port() 1440 addr_in.sin_addr.s_addr = in_aton(port->disc_addr.traddr); in nvmet_rdma_add_port() 1463 le16_to_cpu(port->disc_addr.portid), &addr_in); in nvmet_rdma_add_port()
|
D | nvmet.h | 90 struct nvmf_disc_rsp_page_entry disc_addr; member
|