Home
last modified time | relevance | path

Searched refs:socket (Results 1 – 25 of 32) sorted by relevance

12

/tools/vchan/
A DMakefile12 vchan-socket-proxy.o: CFLAGS += $(CFLAGS_libxenvchan) $(CFLAGS_libxenstore) $(CFLAGS_libxenctrl) $(…
14 TARGETS := vchan-node1 vchan-node2 vchan-socket-proxy
25 vchan-socket-proxy: vchan-socket-proxy.o
31 $(INSTALL_PROG) vchan-socket-proxy $(DESTDIR)$(bindir)
A Dvchan-socket-proxy.c163 fd = socket(AF_UNIX, SOCK_STREAM, 0); in connect_socket()
199 fd = socket(AF_UNIX, SOCK_STREAM, 0); in listen_socket()
/tools/ocaml/libs/xs/
A Dxs.mli67 NOTE: it works only for socket-based connection *)
72 NOTE: it works only when use with a socket-based connection *)
83 (** open a socket-based xenstored connection *)
A Dxs.ml97 (* Returns true if a watch event read from the socket satisfied us *)
150 let daemon_socket = Paths.xen_run_stored ^ "/socket"
158 let sock = Unix.socket Unix.PF_UNIX Unix.SOCK_STREAM 0 in
/tools/ocaml/xenstored/
A Dparse_arg.ml67 ("--disable-socket", Arg.Unit (fun () -> disable_socket := true), "Disable socket");
70 …>] [--no-domain-init] [--help] [--no-fork] [--reraise-top-level] [--restart] [--disable-socket]" in
A Ddefine.ml20 let xs_daemon_socket = Paths.xen_run_stored ^ "/socket"
A Dxenstored.ml35 error "closing socket connection: write error: %s"
40 error "closing socket connection: read error: %s"
44 debug "closing socket connection"
167 e.g. a RO socket from a previous version: ignore it *)
172 | "socket" :: fd :: [] ->
233 warn "Ignoring invalid socket FD %d" fd
483 debug "new connection through socket";
583 | None -> true (* Treat socket-connections as exempt, and free to conflict. *)
A Dhistory.ml49 | None -> () (* treat socket connections as always free to conflict *)
A Dutils.ml85 let sock = Unix.socket Unix.PF_UNIX Unix.SOCK_STREAM 0 in
A Dconnection.ml423 * GLOBAL_DATA: not strictly needed, systemd is giving the socket FDs to us
470 Printf.fprintf chan "socket,%d\n" fd;
485 …| None -> () (* It's a socket connection. We don't know which domain we're in, so treat it as if i…
/tools/include/
A Dxen-sd-notify.h75 fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0); in xen_sd_notify()
/tools/libs/ctrl/
A Dxc_psr.c332 int xc_psr_get_hw_info(xc_interface *xch, uint32_t socket, in xc_psr_get_hw_info() argument
345 sysctl.u.psr_alloc.target = socket; in xc_psr_get_hw_info()
/tools/libs/light/
A Dlibxl_colo_proxy.c229 skfd = socket(AF_INET, SOCK_STREAM, 0); in colo_proxy_setup()
257 skfd = socket(PF_NETLINK, SOCK_RAW, NETLINK_COLO); in colo_proxy_setup()
A Dlibxl_console.c472 if (!channel->u.socket.path) { in libxl__init_console_from_channel()
477 console->path = libxl__strdup(NOGC, channel->u.socket.path); in libxl__init_console_from_channel()
518 (const char **)(&channel->u.socket.path)); in libxl__device_channel_from_xenstore()
A Dlibxl_utils.c916 if (tinfo[i].socket != XEN_INVALID_SOCKET_ID in libxl_get_online_socketmap()
917 && !libxl_bitmap_test(socketmap, tinfo[i].socket)) in libxl_get_online_socketmap()
918 libxl_bitmap_set(socketmap, tinfo[i].socket); in libxl_get_online_socketmap()
A Dlibxl.c446 ret[i].socket = V(socket, i, XEN_INVALID_SOCKET_ID); in libxl_get_cpu_topology()
A Dlibxl_types.idl102 (2, "SOCKET"), # a listening Unix domain socket
407 ("socket", None),
981 ("socket", Struct(None, [("path", string)])),
1247 ("socket", uint32),
A Dlibxl_psr.c137 if (topology[i].socket == socketid) { in libxl__pick_socket_cpu()
A Dlibxl_qmp.c340 qmp->qmp_fd = socket(AF_UNIX, SOCK_STREAM, 0); in qmp_open()
1285 fd = socket(AF_UNIX, SOCK_STREAM, 0); in qmp_ev_connect()
/tools/misc/
A Dxenpm.c573 cputopo[i].socket == XEN_INVALID_SOCKET_ID ) in signal_int_handler()
582 if ( cputopo[i].socket == socket_ids[j] ) in signal_int_handler()
586 socket_ids[j] = cputopo[i].socket; in signal_int_handler()
608 if ( cputopo[j].socket == socket_ids[i] ) in signal_int_handler()
627 if ( cputopo[j].socket == socket_ids[i] && in signal_int_handler()
1183 i, cputopo[i].core, cputopo[i].socket, cputopo[i].node); in cpu_topology_func()
/tools/debugger/gdbsx/gx/
A Dgx_comm.c73 sock_fd = socket(PF_INET, SOCK_STREAM, 0); in do_tcp()
/tools/xenstored/
A Dposix.c304 sock = socket(PF_UNIX, SOCK_STREAM, 0); in init_sockets()
/tools/libs/stat/
A Dxenstat_qmp.c338 if ((s = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) in qmp_connect()
/tools/xl/
A Dxl_info.c306 cpuinfo[i].core, cpuinfo[i].socket, cpuinfo[i].node); in output_topologyinfo()
/tools/python/xen/lowlevel/xc/
A Dxc.c1009 if ( cputopo[i].socket == XEN_INVALID_SOCKET_ID ) in pyxc_topologyinfo()
1015 PyObject *pyint = PyLongOrInt_FromLong(cputopo[i].socket); in pyxc_topologyinfo()

Completed in 56 milliseconds

12