Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/nvme/target/
Dconfigfs.c332 return sprintf(page, "%s\n", to_nvmet_ns(item)->device_path); in nvmet_ns_device_path_show()
338 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_path_store()
372 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_show()
380 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_store()
413 return sprintf(page, "%pUb\n", &to_nvmet_ns(item)->uuid); in nvmet_ns_device_uuid_show()
419 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_uuid_store()
441 return sprintf(page, "%pUb\n", &to_nvmet_ns(item)->nguid); in nvmet_ns_device_nguid_show()
447 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_nguid_store()
487 return sprintf(page, "%u\n", to_nvmet_ns(item)->anagrpid); in nvmet_ns_ana_grpid_show()
493 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_ana_grpid_store()
[all …]
Dnvmet.h89 static inline struct nvmet_ns *to_nvmet_ns(struct config_item *item) in to_nvmet_ns() function