Home
last modified time | relevance | path

Searched refs:iscsi_url (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/contrib/vhost-user-scsi/
H A Dvhost-user-scsi.c47 struct iscsi_url *iscsi_url; in vus_iscsi_add_lun() local
61 iscsi_url = iscsi_parse_full_url(iscsi_ctx, iscsi_uri); in vus_iscsi_add_lun()
62 if (!iscsi_url) { in vus_iscsi_add_lun()
69 if (iscsi_full_connect_sync(iscsi_ctx, iscsi_url->portal, iscsi_url->lun)) { in vus_iscsi_add_lun()
76 lun->iscsi_lun = iscsi_url->lun; in vus_iscsi_add_lun()
81 if (iscsi_url) { in vus_iscsi_add_lun()
82 iscsi_destroy_url(iscsi_url); in vus_iscsi_add_lun()
/openbmc/qemu/block/
H A Discsi.c1677 struct iscsi_url *iscsi_url; in iscsi_parse_filename() local
1681 iscsi_url = iscsi_parse_full_url(NULL, filename); in iscsi_parse_filename()
1682 if (iscsi_url == NULL) { in iscsi_parse_filename()
1688 switch (iscsi_url->transport) { in iscsi_parse_filename()
1697 iscsi_url->transport); in iscsi_parse_filename()
1705 qdict_set_default_str(options, "portal", iscsi_url->portal); in iscsi_parse_filename()
1706 qdict_set_default_str(options, "target", iscsi_url->target); in iscsi_parse_filename()
1708 lun_str = g_strdup_printf("%d", iscsi_url->lun); in iscsi_parse_filename()
1713 iscsi_parse_iscsi_option(iscsi_url->target, options); in iscsi_parse_filename()
1715 if (iscsi_url->user[0] != '\0') { in iscsi_parse_filename()
[all …]