Home
last modified time | relevance | path

Searched refs:max_fdset (Results 1 – 16 of 16) sorted by relevance

/linux-2.4.37.9/fs/
Dfile.c172 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()
Dselect.c264 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()
Dfcntl.c36 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()
Dopen.c751 files->max_fdset, in get_unused_fd()
762 if (fd >= files->max_fdset) { in get_unused_fd()
Dexec.c531 if (i >= files->max_fds || i >= files->max_fdset) in flush_old_files()
/linux-2.4.37.9/kernel/
Dfork.c470 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()
Dexit.c188 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/
Dsched.h176 int max_fdset; member
191 max_fdset: __FD_SETSIZE, \
/linux-2.4.37.9/arch/alpha/kernel/
Dosf_sys.c1070 if (n < 0 || n > current->files->max_fdset) in osf_select()
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc32.c2635 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/
Dsys_ia32.c911 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/
Dlinux32.c1356 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/
Dsys_ia32.c1086 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/
Dsys_ppc32.c813 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/
Dsys_sparc32.c1475 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/
Dlinux32.c1448 if (n > current->files->max_fdset) in sys32_select()
1449 n = current->files->max_fdset; in sys32_select()