tag | line | file | source code |
NR_OPEN | 103 | arch/alpha/kernel/osf_sys.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 165 | arch/alpha/kernel/osf_sys.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 204 | arch/alpha/kernel/osf_sys.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 446 | arch/alpha/kernel/osf_sys.c | return NR_OPEN; |
NR_OPEN | 59 | arch/i386/kernel/sys_i386.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 1574 | drivers/char/tty_io.c | for (i=0; i < NR_OPEN; i++) { |
NR_OPEN | 245 | fs/buffer.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
NR_OPEN | 118 | fs/exec.c | if (++fd >= NR_OPEN) { |
NR_OPEN | 544 | 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 | 48 | fs/fcntl.c | if (newfd > NR_OPEN) /* historical botch - should have been >= */ |
NR_OPEN | 51 | fs/fcntl.c | if (newfd == NR_OPEN) |
NR_OPEN | 72 | 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 | 103 | fs/locks.c | if ((fd >= NR_OPEN) || !(filp = current->files->fd[fd])) |
NR_OPEN | 125 | fs/locks.c | if ((fd >= NR_OPEN) || !(filp = current->files->fd[fd])) |
NR_OPEN | 172 | fs/locks.c | if ((fd >= NR_OPEN) || !(filp = current->files->fd[fd])) |
NR_OPEN | 98 | 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 | 112 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 276 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 317 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 368 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 469 | fs/open.c | for(fd=0; fd<NR_OPEN && fd<current->rlim[RLIMIT_NOFILE].rlim_cur; fd++) |
NR_OPEN | 472 | fs/open.c | if (fd>=NR_OPEN || fd>=current->rlim[RLIMIT_NOFILE].rlim_cur) |
NR_OPEN | 563 | fs/open.c | if (fd >= NR_OPEN) |
NR_OPEN | 399 | fs/pipe.c | for(i=0;j<2 && i<NR_OPEN && i<current->rlim[RLIMIT_NOFILE].rlim_cur;i++) |
NR_OPEN | 107 | fs/proc/fd.c | if (fd >= NR_OPEN || !p->files->fd[fd] || !p->files->fd[fd]->f_inode) |
NR_OPEN | 152 | fs/proc/fd.c | for (fd -= 2 ; fd < NR_OPEN; fd++, filp->f_pos++) { |
NR_OPEN | 279 | fs/proc/inode.c | if (ino >= NR_OPEN || !p->files->fd[ino]) |
NR_OPEN | 73 | fs/proc/link.c | for(fd=0 ; fd<NR_OPEN ; fd++) |
NR_OPEN | 76 | fs/proc/link.c | if (fd>=NR_OPEN) |
NR_OPEN | 151 | fs/proc/link.c | if (ino < NR_OPEN && p->files->fd[ino]) { |
NR_OPEN | 21 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
NR_OPEN | 61 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
NR_OPEN | 107 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
NR_OPEN | 128 | 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 | 201 | fs/smbfs/inode.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) { |
NR_OPEN | 170 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
NR_OPEN | 185 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
NR_OPEN | 94 | include/linux/sched.h | struct file * fd[NR_OPEN]; |
NR_OPEN | 248 | include/linux/sched.h | {MAX_TASKS_PER_USER, MAX_TASKS_PER_USER}, {NR_OPEN, NR_OPEN}}, \ |
NR_OPEN | 362 | kernel/exit.c | for (i=0 ; i<NR_OPEN ; i++) |
NR_OPEN | 125 | kernel/fork.c | for (i=0; i<NR_OPEN;i++) |
NR_OPEN | 129 | kernel/fork.c | for (i=0; i<NR_OPEN;i++) |
NR_OPEN | 737 | kernel/sys.c | if (new_rlim.rlim_cur > NR_OPEN || new_rlim.rlim_max > NR_OPEN) |
NR_OPEN | 172 | net/socket.c | for (fd = 0; fd < NR_OPEN; ++fd) |
NR_OPEN | 175 | net/socket.c | if (fd == NR_OPEN) |
NR_OPEN | 215 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 701 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
NR_OPEN | 728 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
NR_OPEN | 761 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 823 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL) |
NR_OPEN | 873 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
NR_OPEN | 898 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
NR_OPEN | 922 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 949 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 982 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1013 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1047 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1065 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1085 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1107 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1144 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |