Lines Matching refs:to_subsys
673 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_show()
681 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_store()
714 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_show()
722 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_store()
741 return sprintf(page, "%u\n", to_subsys(item->ci_parent)->admin_timeout); in nvmet_passthru_admin_timeout_show()
747 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_admin_timeout_store()
760 return sprintf(page, "%u\n", to_subsys(item->ci_parent)->io_timeout); in nvmet_passthru_io_timeout_show()
766 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_io_timeout_store()
817 subsys = to_subsys(target); in nvmet_port_subsys_allow_link()
852 struct nvmet_subsys *subsys = to_subsys(target); in nvmet_port_subsys_drop_link()
887 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); in nvmet_allowed_hosts_allow_link()
929 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); in nvmet_allowed_hosts_drop_link()
963 to_subsys(item)->allow_any_host); in nvmet_subsys_attr_allow_any_host_show()
969 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_allow_any_host_store()
998 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_version_show()
1047 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_version_store()
1069 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_serial_show()
1108 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_serial_store()
1124 return snprintf(page, PAGE_SIZE, "%u\n", to_subsys(item)->cntlid_min); in nvmet_subsys_attr_cntlid_min_show()
1139 if (cntlid_min >= to_subsys(item)->cntlid_max) in nvmet_subsys_attr_cntlid_min_store()
1141 to_subsys(item)->cntlid_min = cntlid_min; in nvmet_subsys_attr_cntlid_min_store()
1154 return snprintf(page, PAGE_SIZE, "%u\n", to_subsys(item)->cntlid_max); in nvmet_subsys_attr_cntlid_max_show()
1169 if (cntlid_max <= to_subsys(item)->cntlid_min) in nvmet_subsys_attr_cntlid_max_store()
1171 to_subsys(item)->cntlid_max = cntlid_max; in nvmet_subsys_attr_cntlid_max_store()
1184 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_model_show()
1227 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_model_store()
1244 return snprintf(page, PAGE_SIZE, "%d\n", to_subsys(item)->pi_support); in nvmet_subsys_attr_pi_enable_show()
1250 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_pi_enable_store()
1280 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_release()