tag | line | file | source code |
files | 387 | arch/i386/ibcs/binfmt_coff.c | fp = current->files->fd[fd]; |
files | 759 | arch/i386/ibcs/binfmt_coff.c | file = current->files->fd[fd]; |
files | 172 | arch/i386/ibcs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
files | 329 | arch/i386/ibcs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
files | 578 | arch/i386/ibcs/binfmt_elf.c | file = current->files->fd[fd]; |
files | 1556 | drivers/char/tty_io.c | filp = (*p)->files->fd[i]; |
files | 42 | drivers/sound/soundcard.c | static struct fileinfo files[SND_NDEVS]; |
files | 68 | drivers/sound/soundcard.c | return sound_read_sw (dev, &files[dev], buf, count); |
files | 79 | drivers/sound/soundcard.c | return sound_write_sw (dev, &files[dev], buf, count); |
files | 102 | drivers/sound/soundcard.c | files[dev].mode = 0; |
files | 105 | drivers/sound/soundcard.c | files[dev].mode = OPEN_READWRITE; |
files | 107 | drivers/sound/soundcard.c | files[dev].mode = OPEN_READ; |
files | 109 | drivers/sound/soundcard.c | files[dev].mode = OPEN_WRITE; |
files | 111 | drivers/sound/soundcard.c | return sound_open_sw (dev, &files[dev]); |
files | 122 | drivers/sound/soundcard.c | sound_release_sw (dev, &files[dev]); |
files | 134 | drivers/sound/soundcard.c | return sound_ioctl_sw (dev, &files[dev], cmd, arg); |
files | 151 | drivers/sound/soundcard.c | return sequencer_select (dev, &files[dev], sel_type, wait); |
files | 157 | drivers/sound/soundcard.c | return MIDIbuf_select (dev, &files[dev], sel_type, wait); |
files | 206 | fs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
files | 374 | fs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
files | 650 | fs/binfmt_elf.c | file = current->files->fd[fd]; |
files | 245 | fs/buffer.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
files | 116 | fs/exec.c | fpp = current->files->fd; |
files | 279 | fs/exec.c | file = current->files->fd[fd]; |
files | 539 | fs/exec.c | if (FD_ISSET(i,¤t->files->close_on_exec)) |
files | 541 | fs/exec.c | FD_ZERO(¤t->files->close_on_exec); |
files | 791 | fs/exec.c | file = current->files->fd[fd]; |
files | 860 | fs/exec.c | file = current->files->fd[fd]; |
files | 22 | fs/fcntl.c | if (fd >= NR_OPEN || !current->files->fd[fd]) |
files | 27 | fs/fcntl.c | if (current->files->fd[arg]) |
files | 33 | fs/fcntl.c | FD_CLR(arg, ¤t->files->close_on_exec); |
files | 34 | fs/fcntl.c | (current->files->fd[arg] = current->files->fd[fd])->f_count++; |
files | 40 | fs/fcntl.c | if (oldfd >= NR_OPEN || !current->files->fd[oldfd]) |
files | 72 | fs/fcntl.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
files | 78 | fs/fcntl.c | return FD_ISSET(fd, ¤t->files->close_on_exec); |
files | 81 | fs/fcntl.c | FD_SET(fd, ¤t->files->close_on_exec); |
files | 83 | fs/fcntl.c | FD_CLR(fd, ¤t->files->close_on_exec); |
files | 63 | fs/ioctl.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
files | 67 | fs/ioctl.c | FD_SET(fd, ¤t->files->close_on_exec); |
files | 71 | fs/ioctl.c | FD_CLR(fd, ¤t->files->close_on_exec); |
files | 65 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
files | 109 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
files | 93 | fs/nfs/inode.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) { |
files | 59 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 117 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 233 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 274 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 319 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 415 | fs/open.c | if (!current->files->fd[fd]) |
files | 419 | fs/open.c | FD_CLR(fd,¤t->files->close_on_exec); |
files | 423 | fs/open.c | current->files->fd[fd] = f; |
files | 437 | fs/open.c | current->files->fd[fd]=NULL; |
files | 454 | fs/open.c | current->files->fd[fd]=NULL; |
files | 510 | fs/open.c | FD_CLR(fd, ¤t->files->close_on_exec); |
files | 511 | fs/open.c | if (!(filp = current->files->fd[fd])) |
files | 513 | fs/open.c | current->files->fd[fd] = NULL; |
files | 398 | fs/pipe.c | if (!current->files->fd[i]) { |
files | 399 | fs/pipe.c | current->files->fd[ fd[j]=i ] = f[j]; |
files | 403 | fs/pipe.c | current->files->fd[fd[0]]=NULL; |
files | 410 | fs/pipe.c | current->files->fd[fd[0]] = NULL; |
files | 411 | fs/pipe.c | current->files->fd[fd[1]] = NULL; |
files | 107 | fs/proc/fd.c | if (fd >= NR_OPEN || !p->files->fd[fd] || !p->files->fd[fd]->f_inode) |
files | 156 | fs/proc/fd.c | if (!p->files->fd[fd] || !p->files->fd[fd]->f_inode) |
files | 239 | fs/proc/inode.c | if (ino >= NR_OPEN || !p->files->fd[ino]) |
files | 244 | fs/proc/inode.c | if (p->files->fd[ino]->f_mode & 1) |
files | 246 | fs/proc/inode.c | if (p->files->fd[ino]->f_mode & 2) |
files | 74 | fs/proc/link.c | if (current->files->fd[fd] == f) |
files | 88 | fs/proc/link.c | ((ino >> 8) != 1) || !(new_f = p->files->fd[ino & 0x0ff])) |
files | 95 | fs/proc/link.c | current->files->fd[fd] = new_f; |
files | 151 | fs/proc/link.c | if (ino < NR_OPEN && p->files->fd[ino]) { |
files | 158 | fs/proc/link.c | new_inode = p->files->fd[ino]->f_inode; |
files | 32 | fs/read_write.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd]) || |
files | 52 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
files | 92 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
files | 128 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
files | 149 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
files | 105 | fs/select.c | if (!current->files->fd[i]) |
files | 107 | fs/select.c | if (!current->files->fd[i]->f_inode) |
files | 126 | fs/select.c | if (FD_ISSET(i,in) && check(SEL_IN,wait,current->files->fd[i])) { |
files | 131 | fs/select.c | if (FD_ISSET(i,out) && check(SEL_OUT,wait,current->files->fd[i])) { |
files | 136 | fs/select.c | if (FD_ISSET(i,ex) && check(SEL_EX,wait,current->files->fd[i])) { |
files | 170 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
files | 185 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
files | 189 | include/linux/sched.h | struct files_struct files[1]; |
files | 362 | kernel/exit.c | if (current->files->fd[i]) |
files | 124 | kernel/fork.c | if ((f = p->files->fd[i]) != NULL) |
files | 125 | kernel/fork.c | p->files->fd[i] = copy_fd(f); |
files | 128 | kernel/fork.c | if ((f = p->files->fd[i]) != NULL) |
files | 199 | mm/mmap.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 173 | net/socket.c | if (!current->files->fd[fd]) |
files | 181 | net/socket.c | FD_CLR(fd, ¤t->files->close_on_exec); |
files | 182 | net/socket.c | current->files->fd[fd] = file; |
files | 215 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 736 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
files | 763 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
files | 796 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
files | 858 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL) |
files | 908 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
files | 933 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
files | 957 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
files | 984 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
files | 1017 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
files | 1048 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
files | 1082 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
files | 1100 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
files | 1120 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |