Home
last modified time | relevance | path

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

/xen/tools/xenstore/
A Dxenstored_core.c74 static int ro_sock = -1; variable
331 if (ro_sock != -1) in initialize_fds()
332 *p_ro_sock_pollfd_idx = set_fd(ro_sock, POLLIN|POLLPRI); in initialize_fds()
1888 if (ro_sock >= 0) in destroy_fds()
1889 close(ro_sock); in destroy_fds()
1903 ro_sock = socket(PF_UNIX, SOCK_STREAM, 0); in init_sockets()
1904 if (ro_sock < 0) in init_sockets()
1922 if (bind(ro_sock, (struct sockaddr *)&addr, sizeof(addr)) != 0) in init_sockets()
1929 if (listen(sock, 1) != 0 || listen(ro_sock, 1) != 0) in init_sockets()
2160 accept_connection(ro_sock, false); in main()
/xen/tools/ocaml/xenstored/
A Dxenstored.ml247 let rw_sock, ro_sock =
329 (match ro_sock with None -> [] | Some x -> [ x ]) @
361 maybe (fun fd -> do_if_set fd rset (accept_connection false)) ro_sock;

Completed in 7 milliseconds