Searched refs:uri_port (Results 1 – 2 of 2) sorted by relevance
356 int uri_port, ret; in qemu_gluster_parse_uri() local396 uri_port = g_uri_get_port(uri); in qemu_gluster_parse_uri()400 if (uri_server || uri_port != -1 || !uri_socket) { in qemu_gluster_parse_uri()406 if (uri_port > 0) { in qemu_gluster_parse_uri()407 gsconf->u.inet.port = g_strdup_printf("%d", uri_port); in qemu_gluster_parse_uri()
1522 int uri_port; in nbd_parse_uri() local1564 uri_port = g_uri_get_port(uri); in nbd_parse_uri()1569 if (uri_server || uri_port != -1 || !uri_socket) { in nbd_parse_uri()1585 port_str = g_strdup_printf("%d", uri_port > 0 ? uri_port in nbd_parse_uri()