Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/nvme/host/
Dcore.c3125 static inline struct nvme_ns_head *dev_to_ns_head(struct device *dev) in dev_to_ns_head() function
3138 struct nvme_ns_head *head = dev_to_ns_head(dev); in wwid_show()
3169 return sysfs_emit(buf, "%pU\n", dev_to_ns_head(dev)->ids.nguid); in nguid_show()
3176 struct nvme_ns_ids *ids = &dev_to_ns_head(dev)->ids; in uuid_show()
3193 return sysfs_emit(buf, "%8ph\n", dev_to_ns_head(dev)->ids.eui64); in eui_show()
3200 return sysfs_emit(buf, "%d\n", dev_to_ns_head(dev)->ns_id); in nsid_show()
3221 struct nvme_ns_ids *ids = &dev_to_ns_head(dev)->ids; in nvme_ns_id_attrs_are_visible()