Function report |
Source Code:fs\select.c |
Create Date:2022-07-28 20:07:02 |
| Last Modify:2020-03-18 10:25:38 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:max_select_fd
Proto:static int max_select_fd(unsigned long n, fd_set_bits *fds)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | n | |
| fd_set_bits * | fds |
| 427 | set = ~( ~0UL << (n & BITS_PER_LONG - 1 )) |
| 428 | n /= BITS_PER_LONG |
| 429 | fdt = files_fdtable(files) |
| 431 | max = 0 |
| 432 | If set Then |
| 434 | If set Then |
| 441 | open_fds-- |
| 442 | n-- |
| 444 | If Not set Then Continue |
| 448 | If max Then Continue |
| 450 | get_max : |
| 451 | Do |
| 455 | max += n * BITS_PER_LONG |
| 458 | Return max |
| Name | Describe |
|---|---|
| do_select |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |