Lines Matching refs:to_subsys
875 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_show()
883 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_store()
916 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_show()
924 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_store()
943 return sprintf(page, "%u\n", to_subsys(item->ci_parent)->admin_timeout); in nvmet_passthru_admin_timeout_show()
949 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_admin_timeout_store()
962 return sprintf(page, "%u\n", to_subsys(item->ci_parent)->io_timeout); in nvmet_passthru_io_timeout_show()
968 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_io_timeout_store()
981 return sprintf(page, "%u\n", to_subsys(item->ci_parent)->clear_ids); in nvmet_passthru_clear_ids_show()
987 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_clear_ids_store()
1039 subsys = to_subsys(target); in nvmet_port_subsys_allow_link()
1074 struct nvmet_subsys *subsys = to_subsys(target); in nvmet_port_subsys_drop_link()
1109 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); in nvmet_allowed_hosts_allow_link()
1151 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); in nvmet_allowed_hosts_drop_link()
1185 to_subsys(item)->allow_any_host); in nvmet_subsys_attr_allow_any_host_show()
1191 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_allow_any_host_store()
1220 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_version_show()
1269 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_version_store()
1291 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_serial_show()
1330 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_serial_store()
1346 return snprintf(page, PAGE_SIZE, "%u\n", to_subsys(item)->cntlid_min); in nvmet_subsys_attr_cntlid_min_show()
1361 if (cntlid_min > to_subsys(item)->cntlid_max) in nvmet_subsys_attr_cntlid_min_store()
1363 to_subsys(item)->cntlid_min = cntlid_min; in nvmet_subsys_attr_cntlid_min_store()
1376 return snprintf(page, PAGE_SIZE, "%u\n", to_subsys(item)->cntlid_max); in nvmet_subsys_attr_cntlid_max_show()
1391 if (cntlid_max < to_subsys(item)->cntlid_min) in nvmet_subsys_attr_cntlid_max_store()
1393 to_subsys(item)->cntlid_max = cntlid_max; in nvmet_subsys_attr_cntlid_max_store()
1406 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_model_show()
1449 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_model_store()
1465 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_ieee_oui_show()
1497 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_ieee_oui_store()
1513 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_firmware_show()
1559 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_firmware_store()
1576 return snprintf(page, PAGE_SIZE, "%d\n", to_subsys(item)->pi_support); in nvmet_subsys_attr_pi_enable_show()
1582 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_pi_enable_store()
1597 return snprintf(page, PAGE_SIZE, "%u\n", to_subsys(item)->max_qid); in nvmet_subsys_attr_qid_max_show()
1603 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_qid_max_store()
1646 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_release()