Home
last modified time | relevance | path

Searched refs:disc_addr (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/nvme/target/
Ddiscovery.c111 e->trtype = port->disc_addr.trtype; in nvmet_format_discovery_entry()
112 e->adrfam = port->disc_addr.adrfam; in nvmet_format_discovery_entry()
113 e->treq = port->disc_addr.treq; in nvmet_format_discovery_entry()
114 e->portid = port->disc_addr.portid; in nvmet_format_discovery_entry()
119 memcpy(e->trsvcid, port->disc_addr.trsvcid, NVMF_TRSVCID_SIZE); in nvmet_format_discovery_entry()
121 memcpy(e->tsas.common, port->disc_addr.tsas.common, NVMF_TSAS_SIZE); in nvmet_format_discovery_entry()
141 memcpy(traddr, port->disc_addr.traddr, NVMF_TRADDR_SIZE); in nvmet_set_disc_traddr()
229 r->disc_addr.traddr, in nvmet_execute_disc_get_log_page()
Dconfigfs.c53 le16_to_cpu(p->disc_addr.portid), caller); in nvmet_is_port_enabled()
63 u8 adrfam = to_nvmet_port(item)->disc_addr.adrfam; in nvmet_addr_adrfam_show()
93 port->disc_addr.adrfam = nvmet_addr_family[i].type; in nvmet_addr_adrfam_store()
102 __le16 portid = to_nvmet_port(item)->disc_addr.portid; in nvmet_addr_portid_show()
121 port->disc_addr.portid = cpu_to_le16(portid); in nvmet_addr_portid_store()
132 return snprintf(page, PAGE_SIZE, "%s\n", port->disc_addr.traddr); in nvmet_addr_traddr_show()
148 if (sscanf(page, "%s\n", port->disc_addr.traddr) != 1) in nvmet_addr_traddr_store()
163 u8 treq = to_nvmet_port(item)->disc_addr.treq & in nvmet_addr_treq_show()
180 u8 treq = port->disc_addr.treq & ~NVME_TREQ_SECURE_CHANNEL_MASK; in nvmet_addr_treq_store()
196 port->disc_addr.treq = treq; in nvmet_addr_treq_store()
[all …]
Dcore.c324 ops = nvmet_transports[port->disc_addr.trtype]; in nvmet_enable_port()
327 request_module("nvmet-transport-%d", port->disc_addr.trtype); in nvmet_enable_port()
329 ops = nvmet_transports[port->disc_addr.trtype]; in nvmet_enable_port()
332 port->disc_addr.trtype); in nvmet_enable_port()
346 port->disc_addr.trtype); in nvmet_enable_port()
377 ops = nvmet_transports[port->disc_addr.trtype]; in nvmet_disable_port()
1396 if (ctrl->port->disc_addr.trtype == NVMF_TRTYPE_LOOP) in nvmet_alloc_ctrl()
Dtcp.c1691 switch (nport->disc_addr.adrfam) { in nvmet_tcp_add_port()
1700 nport->disc_addr.adrfam); in nvmet_tcp_add_port()
1705 ret = inet_pton_with_scope(&init_net, af, nport->disc_addr.traddr, in nvmet_tcp_add_port()
1706 nport->disc_addr.trsvcid, &port->addr); in nvmet_tcp_add_port()
1709 nport->disc_addr.traddr, nport->disc_addr.trsvcid); in nvmet_tcp_add_port()
1748 le16_to_cpu(nport->disc_addr.portid), &port->addr); in nvmet_tcp_add_port()
1828 memcpy(traddr, nport->disc_addr.traddr, NVMF_TRADDR_SIZE); in nvmet_tcp_disc_port_addr()
Drdma.c1923 switch (nport->disc_addr.adrfam) { in nvmet_rdma_add_port()
1932 nport->disc_addr.adrfam); in nvmet_rdma_add_port()
1946 ret = inet_pton_with_scope(&init_net, af, nport->disc_addr.traddr, in nvmet_rdma_add_port()
1947 nport->disc_addr.trsvcid, &port->addr); in nvmet_rdma_add_port()
1950 nport->disc_addr.traddr, nport->disc_addr.trsvcid); in nvmet_rdma_add_port()
1959 le16_to_cpu(nport->disc_addr.portid), in nvmet_rdma_add_port()
1992 memcpy(traddr, nport->disc_addr.traddr, NVMF_TRADDR_SIZE); in nvmet_rdma_disc_port_addr()
Dfc.c2858 if ((port->disc_addr.trtype != NVMF_TRTYPE_FC) || in nvmet_fc_add_port()
2859 (port->disc_addr.adrfam != NVMF_ADDR_FAMILY_FC)) in nvmet_fc_add_port()
2864 ret = nvme_fc_parse_traddr(&traddr, port->disc_addr.traddr, in nvmet_fc_add_port()
2865 sizeof(port->disc_addr.traddr)); in nvmet_fc_add_port()
Dloop.c524 strcmp(ctrl->opts->traddr, p->disc_addr.traddr)) in nvme_loop_find_port()
Dnvmet.h150 struct nvmf_disc_rsp_page_entry disc_addr; member
/linux-6.1.9/drivers/platform/x86/intel/
Dsdsi.c542 void __iomem *disc_addr; in sdsi_probe() local
556 disc_addr = devm_ioremap_resource(&auxdev->dev, disc_res); in sdsi_probe()
557 if (IS_ERR(disc_addr)) in sdsi_probe()
558 return PTR_ERR(disc_addr); in sdsi_probe()
560 memcpy_fromio(&disc_table, disc_addr, DISC_TABLE_SIZE); in sdsi_probe()