Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/nvme/host/
Dsysfs.c63 static inline struct nvme_ns_head *dev_to_ns_head(struct device *dev) in dev_to_ns_head() function
75 struct nvme_ns_head *head = dev_to_ns_head(dev); in nvme_io_passthru_err_log_enabled_show()
83 struct nvme_ns_head *head = dev_to_ns_head(dev); in nvme_io_passthru_err_log_enabled_store()
106 struct nvme_ns_head *head = dev_to_ns_head(dev); in wwid_show()
137 return sysfs_emit(buf, "%pU\n", dev_to_ns_head(dev)->ids.nguid); in nguid_show()
144 struct nvme_ns_ids *ids = &dev_to_ns_head(dev)->ids; in uuid_show()
161 return sysfs_emit(buf, "%8ph\n", dev_to_ns_head(dev)->ids.eui64); in eui_show()
168 return sysfs_emit(buf, "%d\n", dev_to_ns_head(dev)->ns_id); in nsid_show()
175 return sysfs_emit(buf, "%u\n", dev_to_ns_head(dev)->ids.csi); in csi_show()
182 return sysfs_emit(buf, "%u\n", dev_to_ns_head(dev)->ms); in metadata_bytes_show()
[all …]