Home
last modified time | relevance | path

Searched refs:maxfd (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c115 static int acpi_aml_set_fd(int fd, int maxfd, fd_set *set) in acpi_aml_set_fd() argument
117 if (fd > maxfd) in acpi_aml_set_fd()
118 maxfd = fd; in acpi_aml_set_fd()
120 return maxfd; in acpi_aml_set_fd()
271 int maxfd = 0; in acpi_aml_loop() local
290 maxfd = acpi_aml_set_fd(STDIN_FILENO, maxfd, &rfds); in acpi_aml_loop()
298 maxfd = acpi_aml_set_fd(fd, maxfd, &wfds); in acpi_aml_loop()
302 maxfd = acpi_aml_set_fd(fd, maxfd, &rfds); in acpi_aml_loop()
304 maxfd = acpi_aml_set_fd(STDOUT_FILENO, maxfd, &wfds); in acpi_aml_loop()
306 ret = select(maxfd+1, &rfds, &wfds, NULL, &tv); in acpi_aml_loop()
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/
H A Decho_rotary_test.c38 static int rotary_wait_event(int maxfd, fd_set *readfds, int time) in rotary_wait_event() argument
44 FD_SET(maxfd, readfds); in rotary_wait_event()
47 ret = select(maxfd + 1, readfds, NULL, NULL, &timeout); in rotary_wait_event()
55 if (FD_ISSET(maxfd, readfds)) { in rotary_wait_event()
56 FD_CLR (maxfd, readfds); in rotary_wait_event()
H A Decho_ir_test.c153 static int ir_wait_event(int maxfd, fd_set *readfds, int time) in ir_wait_event() argument
159 FD_SET(maxfd, readfds); in ir_wait_event()
162 ret = select(maxfd + 1, readfds, NULL, NULL, &timeout); in ir_wait_event()
173 if (FD_ISSET(maxfd, readfds)) { in ir_wait_event()
174 FD_CLR (maxfd, readfds); in ir_wait_event()
H A Decho_key_test.c267 static int key_wait_event(int maxfd, fd_set *readfds, int time) in key_wait_event() argument
273 FD_SET(maxfd, readfds); in key_wait_event()
276 ret = select(maxfd + 1, readfds, NULL, NULL, &timeout); in key_wait_event()
284 if (FD_ISSET(maxfd, readfds)) { in key_wait_event()
285 FD_CLR (maxfd, readfds); in key_wait_event()
/OK3568_Linux_fs/kernel/fs/
H A Dfile.c509 unsigned int maxfd = fdt->max_fds; in find_next_fd() local
510 unsigned int maxbit = maxfd / BITS_PER_LONG; in find_next_fd()
514 if (bitbit > maxfd) in find_next_fd()
515 return maxfd; in find_next_fd()
518 return find_next_zero_bit(fdt->open_fds, maxfd, start); in find_next_fd()
/OK3568_Linux_fs/buildroot/package/fbterm/
H A D0001-fbio.cpp-improxy.cpp-fbterm.cpp-fix-musl-compile.patch39 static u32 maxfd = 0;