Searched refs:max_fd (Results 1 – 3 of 3) sorted by relevance
/xen/tools/libvchan/ |
A D | vchan-socket-proxy.c | 293 int max_fd; in data_loop() local 302 max_fd = -1; in data_loop() 305 if (state->input_fd > max_fd) in data_loop() 306 max_fd = state->input_fd; in data_loop() 310 if (state->output_fd > max_fd) in data_loop() 311 max_fd = state->output_fd; in data_loop() 314 if (libxenvchan_fd > max_fd) in data_loop() 315 max_fd = libxenvchan_fd; in data_loop() 316 ret = select(max_fd + 1, &rfds, &wfds, NULL, NULL); in data_loop()
|
/xen/tools/console/client/ |
A D | main.c | 180 int ret, xs_fd = xs_fileno(xs), max_fd = -1; in console_loop() local 188 max_fd = STDIN_FILENO; in console_loop() 191 if (xs_fd > max_fd) max_fd = xs_fd; in console_loop() 193 if (fd > max_fd) max_fd = fd; in console_loop() 195 ret = select(max_fd + 1, &fds, NULL, NULL, NULL); in console_loop()
|
/xen/tools/ocaml/xenstored/ |
A D | select.ml | 70 let sel_fun, max_fd = 74 set_fd_limit max_fd
|
Completed in 6 milliseconds