/kernel/linux/linux-5.10/drivers/nvme/target/ |
D | discovery.c | 105 struct nvmet_port *port, char *subsys_nqn, char *traddr, in nvmet_format_discovery_entry() argument 119 memcpy(e->traddr, traddr, NVMF_TRADDR_SIZE); in nvmet_format_discovery_entry() 135 char *traddr) in nvmet_set_disc_traddr() argument 138 req->ops->disc_traddr(req, port, traddr); in nvmet_set_disc_traddr() 140 memcpy(traddr, port->disc_addr.traddr, NVMF_TRADDR_SIZE); in nvmet_set_disc_traddr() 208 char traddr[NVMF_TRADDR_SIZE]; in nvmet_execute_disc_get_log_page() local 213 nvmet_set_disc_traddr(req, req->port, traddr); in nvmet_execute_disc_get_log_page() 215 p->subsys->subsysnqn, traddr, in nvmet_execute_disc_get_log_page() 223 r->disc_addr.traddr, in nvmet_execute_disc_get_log_page()
|
D | fc.c | 2795 nvme_fc_parse_traddr(struct nvmet_fc_traddr *traddr, char *buf, size_t blen) in nvme_fc_parse_traddr() argument 2823 if (__nvme_fc_parse_u64(&wwn, &traddr->nn)) in nvme_fc_parse_traddr() 2827 if (__nvme_fc_parse_u64(&wwn, &traddr->pn)) in nvme_fc_parse_traddr() 2842 struct nvmet_fc_traddr traddr = { 0L, 0L }; in nvmet_fc_add_port() local 2853 ret = nvme_fc_parse_traddr(&traddr, port->disc_addr.traddr, in nvmet_fc_add_port() 2854 sizeof(port->disc_addr.traddr)); in nvmet_fc_add_port() 2865 if ((tgtport->fc_target_port.node_name == traddr.nn) && in nvmet_fc_add_port() 2866 (tgtport->fc_target_port.port_name == traddr.pn)) { in nvmet_fc_add_port()
|
D | tcp.c | 1662 ret = inet_pton_with_scope(&init_net, af, nport->disc_addr.traddr, in nvmet_tcp_add_port() 1666 nport->disc_addr.traddr, nport->disc_addr.trsvcid); in nvmet_tcp_add_port() 1774 struct nvmet_port *nport, char *traddr) in nvmet_tcp_disc_port_addr() argument 1783 sprintf(traddr, "%pISc", (struct sockaddr *)&queue->sockaddr); in nvmet_tcp_disc_port_addr() 1785 memcpy(traddr, nport->disc_addr.traddr, NVMF_TRADDR_SIZE); in nvmet_tcp_disc_port_addr()
|
D | rdma.c | 1946 ret = inet_pton_with_scope(&init_net, af, nport->disc_addr.traddr, in nvmet_rdma_add_port() 1950 nport->disc_addr.traddr, nport->disc_addr.trsvcid); in nvmet_rdma_add_port() 1979 struct nvmet_port *nport, char *traddr) in nvmet_rdma_disc_port_addr() argument 1990 sprintf(traddr, "%pISc", addr); in nvmet_rdma_disc_port_addr() 1992 memcpy(traddr, nport->disc_addr.traddr, NVMF_TRADDR_SIZE); in nvmet_rdma_disc_port_addr()
|
D | loop.c | 573 strcmp(ctrl->opts->traddr, p->disc_addr.traddr)) in nvme_loop_find_port()
|
D | nvmet.h | 303 struct nvmet_port *port, char *traddr);
|
D | configfs.c | 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()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | fabrics.c | 108 len += scnprintf(buf, size, "traddr=%s", ctrl->opts->traddr); in nvmf_get_address() 693 kfree(opts->traddr); in nvmf_parse_options() 694 opts->traddr = p; in nvmf_parse_options() 934 strcmp(opts->traddr, ctrl->opts->traddr) || in nvmf_ip_options_match() 984 kfree(opts->traddr); in nvmf_free_options()
|
D | fabrics.h | 97 char *traddr; member
|
D | fc.c | 3635 nvme_fc_parse_traddr(struct nvmet_fc_traddr *traddr, char *buf, size_t blen) in nvme_fc_parse_traddr() argument 3663 if (__nvme_fc_parse_u64(&wwn, &traddr->nn)) in nvme_fc_parse_traddr() 3667 if (__nvme_fc_parse_u64(&wwn, &traddr->pn)) in nvme_fc_parse_traddr() 3688 ret = nvme_fc_parse_traddr(&raddr, opts->traddr, NVMF_TRADDR_SIZE); in nvme_fc_create_ctrl() 3725 __func__, opts->traddr, opts->host_traddr); in nvme_fc_create_ctrl()
|
D | rdma.c | 2345 opts->traddr, opts->trsvcid, &ctrl->addr); in nvme_rdma_create_ctrl() 2348 opts->traddr, opts->trsvcid); in nvme_rdma_create_ctrl()
|
D | tcp.c | 2506 opts->traddr, opts->trsvcid, &ctrl->addr); in nvme_tcp_create_ctrl() 2509 opts->traddr, opts->trsvcid); in nvme_tcp_create_ctrl()
|
D | core.c | 4205 ret = add_uevent_var(env, "NVME_TRADDR=%s", opts->traddr); in nvme_class_uevent()
|
/kernel/linux/linux-5.10/include/linux/ |
D | nvme.h | 1298 char traddr[NVMF_TRADDR_SIZE]; member
|