Lines Matching refs:to_nvmet_ns
334 return sprintf(page, "%s\n", to_nvmet_ns(item)->device_path); in nvmet_ns_device_path_show()
340 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_path_store()
374 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_show()
382 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_p2pmem_store()
415 return sprintf(page, "%pUb\n", &to_nvmet_ns(item)->uuid); in nvmet_ns_device_uuid_show()
421 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_uuid_store()
443 return sprintf(page, "%pUb\n", &to_nvmet_ns(item)->nguid); in nvmet_ns_device_nguid_show()
449 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_device_nguid_store()
489 return sprintf(page, "%u\n", to_nvmet_ns(item)->anagrpid); in nvmet_ns_ana_grpid_show()
495 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_ana_grpid_store()
522 return sprintf(page, "%d\n", to_nvmet_ns(item)->enabled); in nvmet_ns_enable_show()
528 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_enable_store()
547 return sprintf(page, "%d\n", to_nvmet_ns(item)->buffered_io); in nvmet_ns_buffered_io_show()
553 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_buffered_io_store()
576 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_revalidate_size_store()
614 struct nvmet_ns *ns = to_nvmet_ns(item); in nvmet_ns_release()