Lines Matching refs:to_subsys

681 	struct nvmet_subsys *subsys = to_subsys(item->ci_parent);  in nvmet_passthru_device_path_show()
689 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_store()
722 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_show()
730 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_store()
749 return sprintf(page, "%u\n", to_subsys(item->ci_parent)->admin_timeout); in nvmet_passthru_admin_timeout_show()
755 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_admin_timeout_store()
768 return sprintf(page, "%u\n", to_subsys(item->ci_parent)->io_timeout); in nvmet_passthru_io_timeout_show()
774 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_io_timeout_store()
787 return sprintf(page, "%u\n", to_subsys(item->ci_parent)->clear_ids); in nvmet_passthru_clear_ids_show()
793 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_clear_ids_store()
845 subsys = to_subsys(target); in nvmet_port_subsys_allow_link()
880 struct nvmet_subsys *subsys = to_subsys(target); in nvmet_port_subsys_drop_link()
915 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); in nvmet_allowed_hosts_allow_link()
957 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); in nvmet_allowed_hosts_drop_link()
991 to_subsys(item)->allow_any_host); in nvmet_subsys_attr_allow_any_host_show()
997 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_allow_any_host_store()
1026 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_version_show()
1075 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_version_store()
1097 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_serial_show()
1136 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_serial_store()
1152 return snprintf(page, PAGE_SIZE, "%u\n", to_subsys(item)->cntlid_min); in nvmet_subsys_attr_cntlid_min_show()
1167 if (cntlid_min >= to_subsys(item)->cntlid_max) in nvmet_subsys_attr_cntlid_min_store()
1169 to_subsys(item)->cntlid_min = cntlid_min; in nvmet_subsys_attr_cntlid_min_store()
1182 return snprintf(page, PAGE_SIZE, "%u\n", to_subsys(item)->cntlid_max); in nvmet_subsys_attr_cntlid_max_show()
1197 if (cntlid_max <= to_subsys(item)->cntlid_min) in nvmet_subsys_attr_cntlid_max_store()
1199 to_subsys(item)->cntlid_max = cntlid_max; in nvmet_subsys_attr_cntlid_max_store()
1212 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_model_show()
1255 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_model_store()
1271 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_ieee_oui_show()
1303 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_ieee_oui_store()
1319 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_firmware_show()
1365 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_firmware_store()
1382 return snprintf(page, PAGE_SIZE, "%d\n", to_subsys(item)->pi_support); in nvmet_subsys_attr_pi_enable_show()
1388 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_pi_enable_store()
1403 return snprintf(page, PAGE_SIZE, "%u\n", to_subsys(item)->max_qid); in nvmet_subsys_attr_qid_max_show()
1409 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_qid_max_store()
1452 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_release()