/xen/tools/libxl/ |
A D | libxl_convert_callout.c | 58 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 D | libxl_event.c | 1283 fds[used].fd = req_fd; in beforepoll_internal() 1284 fds[used].events = req_events; in beforepoll_internal() 1285 fds[used].revents = 0; in beforepoll_internal() 1360 if (fds[slot].fd != fd) in afterpoll_check_fd() 1728 void libxl__pipe_close(int fds[2]) in libxl__pipe_close() 1730 if (fds[0] >= 0) close(fds[0]); in libxl__pipe_close() 1731 if (fds[1] >= 0) close(fds[1]); in libxl__pipe_close() 1732 fds[0] = fds[1] = -1; in libxl__pipe_close() 1739 r = libxl_pipe(ctx, fds); in libxl__pipe_nonblock() 1741 fds[0] = fds[1] = -1; in libxl__pipe_nonblock() [all …]
|
A D | libxl_event.h | 262 struct pollfd *fds, int *timeout_upd, 278 void libxl_osevent_afterpoll(libxl_ctx *ctx, int nfds, const struct pollfd *fds,
|
A D | libxl_save_callout.c | 197 int fds[2]; in run_helper() local 198 if (libxl_pipe(CTX,fds)) { in run_helper() 205 childs_pipes[childfd] = libxl__carefd_record(CTX, fds[childs_end]); in run_helper() 206 shs->pipes[childfd] = libxl__carefd_record(CTX, fds[our_end]); in run_helper()
|
A D | libxl_utils.c | 1065 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() 1088 memcpy(CMSG_DATA(cmsg), fds, spaceneeded); in libxl__sendmsg_fds() 1116 int nfds, int fds[], const char *what) in libxl__recvmsg_fds() argument 1120 size_t spaceneeded = nfds * sizeof(fds[0]); in libxl__recvmsg_fds() 1169 CMSG_SPACE(i * sizeof(fds[0])); in libxl__recvmsg_fds() 1176 memcpy(fds, CMSG_DATA(cmsg), spaceneeded); in libxl__recvmsg_fds()
|
A D | libxl_internal.h | 911 _hidden int libxl__pipe_nonblock(libxl_ctx *ctx, int fds[2]); 914 _hidden void libxl__pipe_close(int fds[2]); 2140 int nfds, const int fds[], const char *what); 2146 int nfds, int fds[], const char *what);
|
/xen/tools/console/client/ |
A D | main.c | 183 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/tools/console/daemon/ |
A D | io.c | 79 static struct pollfd *fds; variable 1124 !(fds[con->xce_pollfd_idx].revents & in handle_console_ring() 1126 (fds[con->xce_pollfd_idx].revents & in handle_console_ring() 1234 fds = new_fds; in set_fds() 1236 memset(&fds[0] + current_array_size, 0, in set_fds() 1241 fds[nr_fds].fd = fd; in set_fds() 1242 fds[nr_fds].events = events; in set_fds() 1255 if (fds) in reset_fds() 1298 if (fds[con->master_pollfd_idx].revents & in handle_console_tty() 1302 if (fds[con->master_pollfd_idx].revents & in handle_console_tty() [all …]
|
/xen/tools/xenstore/ |
A D | xenstored_core.c | 69 static struct pollfd *fds; variable 299 fds = new_fds; in set_fd() 301 memset(&fds[0] + current_array_size, 0, in set_fd() 306 fds[nr_fds].fd = fd; in set_fd() 307 fds[nr_fds].events = events; in set_fd() 323 if (fds) in initialize_fds() 2123 if (poll(fds, nr_fds, timeout) < 0) { in main() 2200 if (fds[conn->pollfd_idx].revents in main() 2203 else if ((fds[conn->pollfd_idx].revents in main() 2214 if (fds[conn->pollfd_idx].revents in main() [all …]
|
/xen/xen/include/asm-x86/ |
A D | i387.h | 27 uint16_t fds, _res6; member
|
/xen/tools/ocaml/xenstored/ |
A D | select.mli | 23 (** [use_poll true] will use poll based select with max fds number limitation
|
A D | xenstored.ml | 45 let process_fdset_with fds fct = 50 ) fds in
|
/xen/xen/arch/x86/ |
A D | i387.c | 188 fpu_ctxt->fdp.sel = fpu_env.fds; in fpu_fxsave()
|
A D | xstate.c | 354 ptr->fpu_sse.fdp.sel = fpu_env.fds; in xsave()
|
/xen/tools/debugger/kdd/ |
A D | kdd.c | 1362 fd_set fds; in main() local 1378 FD_ZERO(&fds); in main() 1379 FD_SET(fd, &fds); in main() 1380 if (select(fd + 1, &fds, NULL, NULL, NULL) > 0) in main()
|
/xen/xen/arch/x86/x86_emulate/ |
A D | x86_emulate.c | 925 uint16_t fds; member 947 uint32_t fds:16, :16; member 11774 fpstate.env.mode.prot.fds = fdp >> 4; in x86_emul_blk() 11798 fpstate.env.mode.prot.fds = env->mode.prot.fds; in x86_emul_blk() 11814 fpstate.env.mode.prot.fds = fdp >> 4; in x86_emul_blk() 11859 (fpstate.env.mode.prot.fds << 4); in x86_emul_blk() 11889 env->mode.prot.fds = fpstate.env.mode.prot.fds; in x86_emul_blk() 11897 (fpstate.env.mode.prot.fds << 4); in x86_emul_blk()
|
/xen/docs/misc/ |
A D | 9pfs.pandoc | 10 sockets, fds, virtio and rdma.
|