Home
last modified time | relevance | path

Searched refs:fds (Results 1 – 17 of 17) sorted by relevance

/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_convert_callout.c58 int fds[2]; in libxl__convert_legacy_stream() local
59 if (libxl_pipe(CTX, fds)) { in libxl__convert_legacy_stream()
64 child_out = libxl__carefd_record(CTX, fds[0]); in libxl__convert_legacy_stream()
65 child_in = libxl__carefd_record(CTX, fds[1]); in libxl__convert_legacy_stream()
75 "--out", GCSPRINTF("%d", fds[1]), in libxl__convert_legacy_stream()
A Dlibxl_event.c1096 fds[used].fd = req_fd; in beforepoll_internal()
1097 fds[used].events = req_events; in beforepoll_internal()
1098 fds[used].revents = 0; in beforepoll_internal()
1173 if (fds[slot].fd != fd) in afterpoll_check_fd()
1534 void libxl__pipe_close(int fds[2]) in libxl__pipe_close()
1536 if (fds[0] >= 0) close(fds[0]); in libxl__pipe_close()
1537 if (fds[1] >= 0) close(fds[1]); in libxl__pipe_close()
1538 fds[0] = fds[1] = -1; in libxl__pipe_close()
1545 r = libxl_pipe(ctx, fds); in libxl__pipe_nonblock()
1547 fds[0] = fds[1] = -1; in libxl__pipe_nonblock()
[all …]
A Dlibxl_event.h262 struct pollfd *fds, int *timeout_upd,
278 void libxl_osevent_afterpoll(libxl_ctx *ctx, int nfds, const struct pollfd *fds,
A Dlibxl_save_callout.c199 int fds[2]; in run_helper() local
200 if (libxl_pipe(CTX,fds)) { in run_helper()
207 childs_pipes[childfd] = libxl__carefd_record(CTX, fds[childs_end]); in run_helper()
208 shs->pipes[childfd] = libxl__carefd_record(CTX, fds[our_end]); in run_helper()
A Dlibxl_utils.c1065 int nfds, const int fds[], const char *what) { in libxl__sendmsg_fds() argument
1068 size_t spaceneeded = nfds * sizeof(fds[0]); in libxl__sendmsg_fds()
1087 memcpy(CMSG_DATA(cmsg), fds, spaceneeded); in libxl__sendmsg_fds()
1102 int nfds, int fds[], const char *what) in libxl__recvmsg_fds() argument
1106 size_t spaceneeded = nfds * sizeof(fds[0]); in libxl__recvmsg_fds()
1155 CMSG_SPACE(i * sizeof(fds[0])); in libxl__recvmsg_fds()
1162 memcpy(fds, CMSG_DATA(cmsg), spaceneeded); in libxl__recvmsg_fds()
A Dlibxl_internal.h679 _hidden int libxl__pipe_nonblock(libxl_ctx *ctx, int fds[2]);
682 _hidden void libxl__pipe_close(int fds[2]);
1866 int nfds, const int fds[], const char *what);
1872 int nfds, int fds[], const char *what);
/xen-4.10.0-shim-comet/tools/console/client/
A Dmain.c183 fd_set fds; in console_loop() local
185 FD_ZERO(&fds); in console_loop()
187 FD_SET(STDIN_FILENO, &fds); in console_loop()
190 FD_SET(xs_fd, &fds); in console_loop()
192 if (fd != -1) FD_SET(fd, &fds); in console_loop()
195 ret = select(max_fd + 1, &fds, NULL, NULL, NULL); in console_loop()
203 if (FD_ISSET(xs_fileno(xs), &fds)) { in console_loop()
214 if (FD_ISSET(STDIN_FILENO, &fds)) { in console_loop()
238 if (fd != -1 && FD_ISSET(fd, &fds)) { in console_loop()
/xen-4.10.0-shim-comet/tools/console/daemon/
A Dio.c78 static struct pollfd *fds; variable
1099 !(fds[con->xce_pollfd_idx].revents & in handle_console_ring()
1101 (fds[con->xce_pollfd_idx].revents & in handle_console_ring()
1209 fds = new_fds; in set_fds()
1211 memset(&fds[0] + current_array_size, 0, in set_fds()
1216 fds[nr_fds].fd = fd; in set_fds()
1217 fds[nr_fds].events = events; in set_fds()
1230 if (fds) in reset_fds()
1273 if (fds[con->master_pollfd_idx].revents & in handle_console_tty()
1277 if (fds[con->master_pollfd_idx].revents & in handle_console_tty()
[all …]
/xen-4.10.0-shim-comet/tools/xenstore/
A Dxenstored_core.c69 static struct pollfd *fds; variable
295 fds = new_fds; in set_fd()
297 memset(&fds[0] + current_array_size, 0, in set_fd()
302 fds[nr_fds].fd = fd; in set_fd()
303 fds[nr_fds].events = events; in set_fd()
320 if (fds) in initialize_fds()
2043 if (poll(fds, nr_fds, timeout) < 0) { in main()
2120 if (fds[conn->pollfd_idx].revents in main()
2123 else if (fds[conn->pollfd_idx].revents in main()
2133 if (fds[conn->pollfd_idx].revents in main()
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Di387.h28 uint16_t fds, _res6; member
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/
A Dselect.mli23 (** [use_poll true] will use poll based select with max fds number limitation
A Dxenstored.ml45 let process_fdset_with fds fct =
50 ) fds in
/xen-4.10.0-shim-comet/tools/blktap2/include/
A Dblktaplib.h119 int fds[2]; member
/xen-4.10.0-shim-comet/xen/arch/x86/
A Di387.c189 fpu_ctxt->fdp.sel = fpu_env.fds; in fpu_fxsave()
A Dxstate.c353 ptr->fpu_sse.fdp.sel = fpu_env.fds; in xsave()
/xen-4.10.0-shim-comet/tools/debugger/kdd/
A Dkdd.c1024 fd_set fds; in main() local
1040 FD_ZERO(&fds); in main()
1041 FD_SET(fd, &fds); in main()
1042 if (select(fd + 1, &fds, NULL, NULL, NULL) > 0) in main()
/xen-4.10.0-shim-comet/docs/misc/
A D9pfs.markdown10 sockets, fds, virtio and rdma.

Completed in 75 milliseconds