tag | line | file | source code |
NR_OPEN | 104 | arch/alpha/kernel/osf_sys.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 177 | arch/alpha/kernel/osf_sys.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 216 | arch/alpha/kernel/osf_sys.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 458 | arch/alpha/kernel/osf_sys.c | return NR_OPEN; |
NR_OPEN | 58 | arch/i386/kernel/sys_i386.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 45 | arch/mips/kernel/syscall.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 36 | arch/sparc/kernel/sunos_ioctl.c | if (fd >= NR_OPEN || !(filp = current->files->fd [fd])) |
NR_OPEN | 74 | arch/sparc/kernel/sys_sunos.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 296 | arch/sparc/kernel/sys_sunos.c | return NR_OPEN; |
NR_OPEN | 380 | arch/sparc/kernel/sys_sunos.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 449 | arch/sparc/kernel/sys_sunos.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 246 | drivers/block/loop.c | if (arg >= NR_OPEN || !(file = current->files->fd[arg])) |
NR_OPEN | 1646 | drivers/char/tty_io.c | for (i=0; i < NR_OPEN; i++) { |
NR_OPEN | 264 | fs/buffer.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
NR_OPEN | 278 | fs/buffer.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
NR_OPEN | 126 | fs/exec.c | if (++fd >= NR_OPEN) { |
NR_OPEN | 435 | fs/exec.c | for (i=0 ; i<NR_OPEN ; i++) |
NR_OPEN | 22 | fs/fcntl.c | if (fd >= NR_OPEN || !current->files->fd[fd]) |
NR_OPEN | 24 | fs/fcntl.c | if (arg >= NR_OPEN) |
NR_OPEN | 26 | fs/fcntl.c | while (arg < NR_OPEN) |
NR_OPEN | 31 | fs/fcntl.c | if (arg >= NR_OPEN) |
NR_OPEN | 40 | fs/fcntl.c | if (oldfd >= NR_OPEN || !current->files->fd[oldfd]) |
NR_OPEN | 44 | fs/fcntl.c | if (newfd >= NR_OPEN) |
NR_OPEN | 62 | fs/fcntl.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
NR_OPEN | 63 | fs/ioctl.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
NR_OPEN | 158 | fs/locks.c | if ((fd >= NR_OPEN) || !(filp = current->files->fd[fd])) |
NR_OPEN | 180 | fs/locks.c | if ((fd >= NR_OPEN) || !(filp = current->files->fd[fd])) |
NR_OPEN | 227 | fs/locks.c | if ((fd >= NR_OPEN) || !(filp = current->files->fd[fd])) |
NR_OPEN | 184 | fs/ncpfs/inode.c | if ( (data->ncp_fd >= NR_OPEN) |
NR_OPEN | 193 | fs/ncpfs/inode.c | if ( (data->wdog_fd >= NR_OPEN) |
NR_OPEN | 202 | fs/ncpfs/inode.c | if ( (data->message_fd >= NR_OPEN) |
NR_OPEN | 109 | fs/nfs/inode.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) { |
NR_OPEN | 54 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 123 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 278 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 319 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 369 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 521 | fs/open.c | for(fd = 0; fd < NR_OPEN && fd < current->rlim[RLIMIT_NOFILE].rlim_cur; fd++) { |
NR_OPEN | 596 | fs/open.c | if (fd >= NR_OPEN) |
NR_OPEN | 420 | fs/pipe.c | for(i=0;j<2 && i<NR_OPEN && i<current->rlim[RLIMIT_NOFILE].rlim_cur;i++) |
NR_OPEN | 109 | fs/proc/fd.c | if (fd >= NR_OPEN || !p->files->fd[fd] || !p->files->fd[fd]->f_inode) |
NR_OPEN | 154 | fs/proc/fd.c | for (fd -= 2 ; fd < NR_OPEN; fd++, filp->f_pos++) { |
NR_OPEN | 239 | fs/proc/inode.c | if (ino >= NR_OPEN || !p->files->fd[ino]) |
NR_OPEN | 124 | fs/proc/link.c | if (ino < NR_OPEN && p->files->fd[ino]) { |
NR_OPEN | 23 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
NR_OPEN | 63 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
NR_OPEN | 109 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
NR_OPEN | 130 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
NR_OPEN | 261 | fs/read_write.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd]) || !(inode = file->f_inode)) |
NR_OPEN | 274 | fs/read_write.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd]) || !(inode = file->f_inode)) |
NR_OPEN | 62 | fs/readdir.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 126 | fs/readdir.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 220 | fs/select.c | if (n > NR_OPEN) |
NR_OPEN | 221 | fs/select.c | n = NR_OPEN; |
NR_OPEN | 194 | fs/smbfs/inode.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) { |
NR_OPEN | 198 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
NR_OPEN | 215 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
NR_OPEN | 31 | include/asm-alpha/resource.h | { NR_OPEN, NR_OPEN}, /* RLIMIT_NOFILE */ \ |
NR_OPEN | 31 | include/asm-i386/resource.h | { NR_OPEN, NR_OPEN }, \ |
NR_OPEN | 39 | include/asm-mips/resource.h | {NR_OPEN, NR_OPEN}, \ |
NR_OPEN | 32 | include/asm-sparc/resource.h | {MAX_TASKS_PER_USER, MAX_TASKS_PER_USER}, {NR_OPEN, NR_OPEN}, \ |
NR_OPEN | 121 | include/linux/sched.h | struct file * fd[NR_OPEN]; |
NR_OPEN | 389 | include/linux/sched.h | if (fd >= NR_OPEN) |
NR_OPEN | 373 | kernel/exit.c | for (i=0 ; i<NR_OPEN ; i++) { |
NR_OPEN | 172 | kernel/fork.c | for (i = 0; i < NR_OPEN; i++) { |
NR_OPEN | 909 | kernel/sys.c | if (new_rlim.rlim_cur > NR_OPEN || new_rlim.rlim_max > NR_OPEN) |
NR_OPEN | 181 | net/socket.c | for (fd = 0; fd < NR_OPEN; ++fd) |
NR_OPEN | 184 | net/socket.c | if (fd == NR_OPEN) |
NR_OPEN | 225 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 676 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
NR_OPEN | 704 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
NR_OPEN | 738 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 801 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL) |
NR_OPEN | 851 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
NR_OPEN | 876 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
NR_OPEN | 902 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 938 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 976 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1016 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1057 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1075 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1095 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1117 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1160 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 743 | net/unix/af_unix.c | if(fd < 0|| fd >=NR_OPEN) |
NR_OPEN | 785 | net/unix/af_unix.c | for (i=0;i<NR_OPEN;i++) |
NR_OPEN | 791 | net/unix/af_unix.c | i=NR_OPEN; |