Lines Matching refs:transport_name
1678 const char *transport_name; in iscsi_parse_filename() local
1690 transport_name = "tcp"; in iscsi_parse_filename()
1693 transport_name = "iser"; in iscsi_parse_filename()
1701 transport_name = "tcp"; in iscsi_parse_filename()
1704 qdict_set_default_str(options, "transport", transport_name); in iscsi_parse_filename()
1806 const char *transport_name, *portal, *target; in iscsi_open() local
1818 transport_name = qemu_opt_get(opts, "transport"); in iscsi_open()
1823 if (!transport_name || !portal || !target) { in iscsi_open()
1829 if (!strcmp(transport_name, "tcp")) { in iscsi_open()
1832 } else if (!strcmp(transport_name, "iser")) { in iscsi_open()
1838 error_setg(errp, "Unknown transport: %s", transport_name); in iscsi_open()