Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/nvme/host/
Dcore.c3273 static inline struct nvme_ns_head *dev_to_ns_head(struct device *dev) in dev_to_ns_head() function
3286 struct nvme_ns_head *head = dev_to_ns_head(dev); in wwid_show()
3317 return sprintf(buf, "%pU\n", dev_to_ns_head(dev)->ids.nguid); in nguid_show()
3324 struct nvme_ns_ids *ids = &dev_to_ns_head(dev)->ids; in uuid_show()
3341 return sprintf(buf, "%8ph\n", dev_to_ns_head(dev)->ids.eui64); in eui_show()
3348 return sprintf(buf, "%d\n", dev_to_ns_head(dev)->ns_id); in nsid_show()
3369 struct nvme_ns_ids *ids = &dev_to_ns_head(dev)->ids; in nvme_ns_id_attrs_are_visible()