Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/target/
H A Dconfigfs.c35 static struct nvmet_type_name_map nvmet_transport[] = { variable
291 for (i = 0; i < ARRAY_SIZE(nvmet_transport); i++) { in nvmet_addr_trtype_show()
292 if (port->disc_addr.trtype == nvmet_transport[i].type) in nvmet_addr_trtype_show()
294 "%s\n", nvmet_transport[i].name); in nvmet_addr_trtype_show()
316 for (i = 0; i < ARRAY_SIZE(nvmet_transport); i++) { in nvmet_addr_trtype_store()
317 if (sysfs_streq(page, nvmet_transport[i].name)) in nvmet_addr_trtype_store()
326 port->disc_addr.trtype = nvmet_transport[i].type; in nvmet_addr_trtype_store()