tag | line | file | source code |
NR_OPEN | 1553 | 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 | 120 | fs/exec.c | if (++fd >= NR_OPEN) { |
NR_OPEN | 538 | 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 | 65 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
NR_OPEN | 109 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
NR_OPEN | 93 | fs/nfs/inode.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) { |
NR_OPEN | 59 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 117 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 233 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
NR_OPEN | 274 | 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 | 414 | fs/open.c | for(fd=0; fd<NR_OPEN && fd<current->rlim[RLIMIT_NOFILE].rlim_cur; fd++) |
NR_OPEN | 417 | fs/open.c | if (fd>=NR_OPEN || fd>=current->rlim[RLIMIT_NOFILE].rlim_cur) |
NR_OPEN | 508 | fs/open.c | if (fd >= NR_OPEN) |
NR_OPEN | 397 | 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 | 153 | fs/proc/fd.c | if (fd >= NR_OPEN) |
NR_OPEN | 239 | 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 | 32 | fs/read_write.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd]) || |
NR_OPEN | 52 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
NR_OPEN | 92 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(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 | 149 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
NR_OPEN | 219 | fs/select.c | if (n > NR_OPEN) |
NR_OPEN | 220 | fs/select.c | n = NR_OPEN; |
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 | 89 | include/linux/sched.h | struct file * fd[NR_OPEN]; |
NR_OPEN | 233 | include/linux/sched.h | {MAX_TASKS_PER_USER, MAX_TASKS_PER_USER}, {NR_OPEN, NR_OPEN}}, \ |
NR_OPEN | 361 | kernel/exit.c | for (i=0 ; i<NR_OPEN ; i++) |
NR_OPEN | 123 | kernel/fork.c | for (i=0; i<NR_OPEN;i++) |
NR_OPEN | 127 | kernel/fork.c | for (i=0; i<NR_OPEN;i++) |
NR_OPEN | 705 | kernel/sys.c | if (new_rlim.rlim_cur > NR_OPEN || new_rlim.rlim_max > NR_OPEN) |
NR_OPEN | 199 | mm/mmap.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
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 | 736 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
NR_OPEN | 763 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
NR_OPEN | 796 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 858 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL) |
NR_OPEN | 908 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
NR_OPEN | 933 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
NR_OPEN | 957 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 984 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1017 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1048 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1082 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1100 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
NR_OPEN | 1120 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |