Searched refs:maxfd (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/power/acpi/tools/acpidbg/ |
D | acpidbg.c | 115 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 …]
|
/linux-6.1.9/fs/ |
D | file.c | 484 unsigned int maxfd = fdt->max_fds; in find_next_fd() local 485 unsigned int maxbit = maxfd / BITS_PER_LONG; in find_next_fd() 489 if (bitbit > maxfd) in find_next_fd() 490 return maxfd; in find_next_fd() 493 return find_next_zero_bit(fdt->open_fds, maxfd, start); in find_next_fd()
|