Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dgluster.c356 int uri_port, ret; in qemu_gluster_parse_uri() local
396 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()
H A Dnbd.c1522 int uri_port; in nbd_parse_uri() local
1564 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()