Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/nvme/host/
Dsysfs.c38 static inline struct nvme_ns_head *dev_to_ns_head(struct device *dev) in dev_to_ns_head() function
51 struct nvme_ns_head *head = dev_to_ns_head(dev); in wwid_show()
82 return sysfs_emit(buf, "%pU\n", dev_to_ns_head(dev)->ids.nguid); in nguid_show()
89 struct nvme_ns_ids *ids = &dev_to_ns_head(dev)->ids; in uuid_show()
106 return sysfs_emit(buf, "%8ph\n", dev_to_ns_head(dev)->ids.eui64); in eui_show()
113 return sysfs_emit(buf, "%d\n", dev_to_ns_head(dev)->ns_id); in nsid_show()
134 struct nvme_ns_ids *ids = &dev_to_ns_head(dev)->ids; in nvme_ns_id_attrs_are_visible()