Searched refs:max_fdset (Results 1 – 16 of 16) sorted by relevance
/linux-2.4.37.9/fs/ |
D | file.c | 172 if (files->max_fdset >= NR_OPEN || nr >= NR_OPEN) in expand_fdset() 175 nfds = files->max_fdset; in expand_fdset() 199 if (nfds > files->max_fdset) { in expand_fdset() 200 int i = files->max_fdset / (sizeof(unsigned long) * 8); in expand_fdset() 201 int count = (nfds - files->max_fdset) / 8; in expand_fdset() 208 memcpy (new_openset, files->open_fds, files->max_fdset/8); in expand_fdset() 209 memcpy (new_execset, files->close_on_exec, files->max_fdset/8); in expand_fdset() 214 nfds = xchg(&files->max_fdset, nfds); in expand_fdset()
|
D | select.c | 264 int ret, size, max_fdset; in sys_select() local 290 max_fdset = current->files->max_fdset; in sys_select() 291 if (n > max_fdset) in sys_select() 292 n = max_fdset; in sys_select() 420 if (nfds > current->files->max_fdset && nfds > OPEN_MAX) in sys_poll()
|
D | fcntl.c | 36 if (nr >= files->max_fdset) { in expand_files() 84 if (start < files->max_fdset) { in locate_fd() 86 files->max_fdset, start); in locate_fd()
|
D | open.c | 751 files->max_fdset, in get_unused_fd() 762 if (fd >= files->max_fdset) { in get_unused_fd()
|
D | exec.c | 531 if (i >= files->max_fds || i >= files->max_fdset) in flush_old_files()
|
/linux-2.4.37.9/kernel/ |
D | fork.c | 470 newf->max_fdset = __FD_SETSIZE; in copy_files() 477 size = oldf->max_fdset; in copy_files() 479 newf->max_fdset = 0; in copy_files() 537 if (newf->max_fdset > open_files) { in copy_files() 538 int left = (newf->max_fdset-open_files)/8; in copy_files() 551 free_fdset (newf->close_on_exec, newf->max_fdset); in copy_files() 552 free_fdset (newf->open_fds, newf->max_fdset); in copy_files()
|
D | exit.c | 188 if (i >= files->max_fdset || i >= files->max_fds) in close_files() 212 if (files->max_fdset > __FD_SETSIZE) { in put_files_struct() 213 free_fdset(files->open_fds, files->max_fdset); in put_files_struct() 214 free_fdset(files->close_on_exec, files->max_fdset); in put_files_struct()
|
/linux-2.4.37.9/include/linux/ |
D | sched.h | 176 int max_fdset; member 191 max_fdset: __FD_SETSIZE, \
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | osf_sys.c | 1070 if (n < 0 || n > current->files->max_fdset) in osf_select()
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | sys_parisc32.c | 2635 if (n > current->files->max_fdset) in sys32_select() 2636 n = current->files->max_fdset; in sys32_select()
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | sys_ia32.c | 911 if (n > current->files->max_fdset) in sys32_select() 912 n = current->files->max_fdset; in sys32_select()
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | linux32.c | 1356 if (n > current->files->max_fdset) in sys32_select() 1357 n = current->files->max_fdset; in sys32_select()
|
/linux-2.4.37.9/arch/ia64/ia32/ |
D | sys_ia32.c | 1086 if (n > current->files->max_fdset) in sys32_select() 1087 n = current->files->max_fdset; in sys32_select()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | sys_ppc32.c | 813 if (n > current->files->max_fdset) in sys32_select() 814 n = current->files->max_fdset; in sys32_select()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | sys_sparc32.c | 1475 if (n > current->files->max_fdset) in sys32_select() 1476 n = current->files->max_fdset; in sys32_select()
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | linux32.c | 1448 if (n > current->files->max_fdset) in sys32_select() 1449 n = current->files->max_fdset; in sys32_select()
|