Home
last modified time | relevance | path

Searched refs:trtype (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/sbin/nvmecontrol/
H A Dconnect.c74 switch (trtype) { in connect_nvm_controller()
79 warnx("Unsupported transport %s", nvmf_transport_type(trtype)); in connect_nvm_controller()
107 switch (entry->trtype) { in connect_discovery_entry()
132 nvmf_transport_type(entry->trtype), entry->subnqn); in connect_discovery_entry()
142 connect_nvm_controller(entry->trtype, adrfam, entry->traddr, in connect_discovery_entry()
162 discover_controllers(enum nvmf_trtype trtype, const char *address, in discover_controllers() argument
177 enum nvmf_trtype trtype; in connect_fn() local
190 trtype = NVMF_TRTYPE_TCP; in connect_fn()
211 enum nvmf_trtype trtype; in connect_all_fn() local
222 trtype = NVMF_TRTYPE_TCP; in connect_all_fn()
[all …]
H A Dreconnect.c58 reconnect_nvm_controller(int fd, enum nvmf_trtype trtype, int adrfam, in reconnect_nvm_controller() argument
75 switch (trtype) { in reconnect_nvm_controller()
80 warnx("Unsupported transport %s", nvmf_transport_type(trtype)); in reconnect_nvm_controller()
85 error = connect_nvm_queues(&aparams, trtype, adrfam, address, port, in reconnect_nvm_controller()
106 enum nvmf_trtype trtype; in reconnect_fn() local
115 trtype = NVMF_TRTYPE_TCP; in reconnect_fn()
125 error = reconnect_nvm_controller(fd, trtype, AF_UNSPEC, address, port); in reconnect_fn()
H A Ddiscover.c188 nvmf_transport_type(entry->trtype)); in print_discovery_entry()
203 switch (entry->trtype) { in print_discovery_entry()
245 enum nvmf_trtype trtype; in discover() local
254 trtype = NVMF_TRTYPE_TCP; in discover()
259 qp = connect_discovery_adminq(trtype, address, port, opt.hostnqn); in discover()
H A Dfabrics.c185 connect_discovery_adminq(enum nvmf_trtype trtype, const char *address, in connect_discovery_adminq() argument
197 switch (trtype) { in connect_discovery_adminq()
206 nvmf_transport_type(trtype)); in connect_discovery_adminq()
217 na = nvmf_allocate_association(trtype, false, &aparams); in connect_discovery_adminq()
404 enum nvmf_trtype trtype, int adrfam, const char *address, in connect_nvm_queues() argument
415 switch (trtype) { in connect_nvm_queues()
419 warnx("Unsupported transport %s", nvmf_transport_type(trtype)); in connect_nvm_queues()
434 na = nvmf_allocate_association(trtype, false, aparams); in connect_nvm_queues()
H A Dfabrics.h26 struct nvmf_qpair *connect_discovery_adminq(enum nvmf_trtype trtype,
36 enum nvmf_trtype trtype, int adrfam, const char *address,
/freebsd/sys/dev/nvmf/
H A Dnvmf_transport.c43 nvmf_supported_trtype(enum nvmf_trtype trtype) in nvmf_supported_trtype() argument
45 return (trtype < nitems(nvmf_transports)); in nvmf_supported_trtype()
57 if (!nvmf_supported_trtype(trtype)) in nvmf_allocate_qpair()
61 SLIST_FOREACH(nt, &nvmf_transports[trtype], nt_link) { in nvmf_allocate_qpair()
234 if (!nvmf_supported_trtype(ops->trtype)) { in nvmf_transport_module_handler()
243 if (SLIST_EMPTY(&nvmf_transports[ops->trtype])) { in nvmf_transport_module_handler()
248 SLIST_FOREACH(nt2, &nvmf_transports[ops->trtype], in nvmf_transport_module_handler()
255 SLIST_INSERT_HEAD(&nvmf_transports[ops->trtype], in nvmf_transport_module_handler()
264 if (!nvmf_supported_trtype(ops->trtype)) in nvmf_transport_module_handler()
284 if (!nvmf_supported_trtype(ops->trtype)) in nvmf_transport_module_handler()
[all …]
H A Dnvmf.h50 u_int trtype; member
64 u_int trtype; member
H A Dnvmf_transport.h56 struct nvmf_qpair *nvmf_allocate_qpair(enum nvmf_trtype trtype,
H A Dnvmf_transport_internal.h41 enum nvmf_trtype trtype; member
H A Dnvmf_proto.h428 uint8_t trtype; member
/freebsd/lib/libnvmf/
H A Dnvmf_transport.c20 nvmf_allocate_association(enum nvmf_trtype trtype, bool controller, in nvmf_allocate_association() argument
26 switch (trtype) { in nvmf_allocate_association()
40 na->na_trtype = trtype; in nvmf_allocate_association()
252 nvmf_transport_type(uint8_t trtype) in nvmf_transport_type() argument
256 switch (trtype) { in nvmf_transport_type()
266 snprintf(buf, sizeof(buf), "0x%02x\n", trtype); in nvmf_transport_type()
H A Dlibnvmf.h67 struct nvmf_association *nvmf_allocate_association(enum nvmf_trtype trtype,
111 const char *nvmf_transport_type(uint8_t trtype);
H A Dnvmf_controller.c461 h->trtype = qp->nq_association->na_trtype; in nvmf_handoff_controller_qpair()
/freebsd/sys/dev/nvmf/host/
H A Dnvmf_sim.c194 cpi->xport_specific.nvmf.trtype = sc->trtype; in nvmf_sim_action()
223 nvmf->trtype = sc->trtype; in nvmf_sim_action()
H A Dnvmf_var.h40 enum nvmf_trtype trtype; member
202 enum nvmf_trtype trtype, struct nvmf_handoff_qpair_params *handoff,
H A Dnvmf.c270 sc->admin = nvmf_init_qp(sc, ivars->hh->trtype, &ivars->hh->admin, in nvmf_establish_connection()
283 sc->io[i] = nvmf_init_qp(sc, ivars->hh->trtype, in nvmf_establish_connection()
466 sc->trtype = ivars->hh->trtype; in nvmf_attach()
648 if (sc->trtype != hh->trtype) { in nvmf_reconnect_host()
H A Dnvmf_qpair.c225 nvmf_init_qp(struct nvmf_softc *sc, enum nvmf_trtype trtype, in nvmf_init_qp() argument
258 qp->qp = nvmf_allocate_qpair(trtype, false, handoff, nvmf_qp_error, in nvmf_init_qp()
/freebsd/sys/dev/nvmf/controller/
H A Dnvmft_var.h75 u_int trtype; member
135 struct nvmft_qpair *nvmft_qpair_init(enum nvmf_trtype trtype,
H A Dnvmft_qpair.c101 nvmft_qpair_init(enum nvmf_trtype trtype, in nvmft_qpair_init() argument
118 qp->qp = nvmf_allocate_qpair(trtype, true, handoff, nvmft_qpair_error, in nvmft_qpair_init()
H A Dnvmft_controller.c123 qp = nvmft_qpair_init(handoff->trtype, &handoff->params, 0, in nvmft_handoff_admin_queue()
149 ctrlr->trtype = handoff->trtype; in nvmft_handoff_admin_queue()
189 qp = nvmft_qpair_init(handoff->trtype, &handoff->params, qid, name); in nvmft_handoff_io_queue()
/freebsd/tools/tools/nvmf/nvmfdd/
H A Dnvmfdd.c362 enum nvmf_trtype trtype; in main() local
435 trtype = NVMF_TRTYPE_TCP; in main()
447 na = nvmf_allocate_association(trtype, false, &aparams); in main()
/freebsd/usr.sbin/nvmfd/
H A Ddiscovery.c56 entry->trtype = NVMF_TRTYPE_TCP; in init_discovery_log_entry()
/freebsd/usr.sbin/ctladm/
H A Dctladm.c3831 int trtype; member
3923 cur_conn->trtype = atoi(str); in cctl_nvlist_end_element()
3948 nvmf_transport_descr(u_int trtype) in nvmf_transport_descr() argument
3952 switch (trtype) { in nvmf_transport_descr()
3960 snprintf(buf, sizeof(buf), "%#x", trtype); in nvmf_transport_descr()
4052 nvmf_transport_descr(conn->trtype)); in cctl_nvlist()
4061 nvmf_transport_descr(conn->trtype), in cctl_nvlist()
/freebsd/sys/dev/nvme/
H A Dnvme.h1555 uint8_t trtype; member
1680 uint8_t trtype; member
2340 if (s->trtype == 0x01 /* RDMA */) { in nvme_discovery_log_entry_swapbytes()
/freebsd/sys/cam/
H A Dcam_ccb.h659 uint8_t trtype; member
1065 uint8_t trtype; member

12