Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/target/
H A Dconfigfs.c42 static const struct nvmet_type_name_map nvmet_addr_family[] = { variable
68 for (i = 1; i < ARRAY_SIZE(nvmet_addr_family); i++) { in nvmet_addr_adrfam_show()
69 if (nvmet_addr_family[i].type == adrfam) in nvmet_addr_adrfam_show()
71 nvmet_addr_family[i].name); in nvmet_addr_adrfam_show()
86 for (i = 1; i < ARRAY_SIZE(nvmet_addr_family); i++) { in nvmet_addr_adrfam_store()
87 if (sysfs_streq(page, nvmet_addr_family[i].name)) in nvmet_addr_adrfam_store()
95 port->disc_addr.adrfam = nvmet_addr_family[i].type; in nvmet_addr_adrfam_store()