Home
last modified time | relevance | path

Searched refs:socket_fd (Results 1 – 3 of 3) sorted by relevance

/openbmc/obmc-console/
H A Dconsole-dbus.c123 int socket_fd = -1; in method_connect() local
134 socket_fd = dbus_create_socket_consumer(console); in method_connect()
135 if (socket_fd < 0) { in method_connect()
136 rc = socket_fd; in method_connect()
143 rc = sd_bus_reply_method_return(msg, "h", socket_fd); in method_connect()
146 close(socket_fd); in method_connect()
/openbmc/qemu/contrib/plugins/
H A Dlockstep.c75 static int socket_fd; variable
87 close(socket_fd); in plugin_cleanup()
210 bytes = write(socket_fd, &us, sizeof(ExecState)); in vcpu_tb_exec()
223 bytes = read(socket_fd, &them, sizeof(ExecState)); in vcpu_tb_exec()
305 socket_fd = accept(fd, NULL, NULL); in setup_socket()
306 if (socket_fd < 0 && errno != EINTR) { in setup_socket()
345 socket_fd = fd; in connect_socket()
/openbmc/qemu/tests/qtest/
H A Dlibqmp.c99 static void socket_send_fds(int socket_fd, int *fds, size_t fds_num, in socket_send_fds() argument
126 ret = sendmsg(socket_fd, &msg, 0); in socket_send_fds()