tag | line | file | source code |
files | 1453 | drivers/char/tty_io.c | filp = (*p)->files->fd[i]; |
files | 41 | drivers/sound/soundcard.c | static struct fileinfo files[SND_NDEVS]; |
files | 61 | drivers/sound/soundcard.c | return sound_read_sw (dev, &files[dev], buf, count); |
files | 72 | drivers/sound/soundcard.c | return sound_write_sw (dev, &files[dev], buf, count); |
files | 95 | drivers/sound/soundcard.c | files[dev].mode = 0; |
files | 98 | drivers/sound/soundcard.c | files[dev].mode = OPEN_READWRITE; |
files | 100 | drivers/sound/soundcard.c | files[dev].mode = OPEN_READ; |
files | 102 | drivers/sound/soundcard.c | files[dev].mode = OPEN_WRITE; |
files | 104 | drivers/sound/soundcard.c | return sound_open_sw (dev, &files[dev]); |
files | 115 | drivers/sound/soundcard.c | sound_release_sw (dev, &files[dev]); |
files | 127 | drivers/sound/soundcard.c | return sound_ioctl_sw (dev, &files[dev], cmd, arg); |
files | 144 | drivers/sound/soundcard.c | return sequencer_select (dev, &files[dev], sel_type, wait); |
files | 150 | drivers/sound/soundcard.c | return MIDIbuf_select (dev, &files[dev], sel_type, wait); |
files | 241 | fs/buffer.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
files | 110 | fs/exec.c | fpp = current->files->fd; |
files | 290 | fs/exec.c | file = current->files->fd[fd]; |
files | 567 | fs/exec.c | if (FD_ISSET(i,¤t->files->close_on_exec)) |
files | 569 | fs/exec.c | FD_ZERO(¤t->files->close_on_exec); |
files | 833 | fs/exec.c | file = current->files->fd[fd]; |
files | 905 | 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 | 70 | fs/fcntl.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
files | 76 | fs/fcntl.c | return FD_ISSET(fd, ¤t->files->close_on_exec); |
files | 79 | fs/fcntl.c | FD_SET(fd, ¤t->files->close_on_exec); |
files | 81 | fs/fcntl.c | FD_CLR(fd, ¤t->files->close_on_exec); |
files | 62 | fs/ioctl.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
files | 66 | fs/ioctl.c | FD_SET(fd, ¤t->files->close_on_exec); |
files | 70 | fs/ioctl.c | FD_CLR(fd, ¤t->files->close_on_exec); |
files | 61 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
files | 105 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
files | 80 | fs/nfs/inode.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) { |
files | 58 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 103 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 213 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 253 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 307 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 416 | fs/open.c | if (!current->files->fd[fd]) |
files | 420 | fs/open.c | FD_CLR(fd,¤t->files->close_on_exec); |
files | 424 | fs/open.c | current->files->fd[fd] = f; |
files | 433 | fs/open.c | current->files->fd[fd]=NULL; |
files | 449 | fs/open.c | current->files->fd[fd]=NULL; |
files | 504 | fs/open.c | FD_CLR(fd, ¤t->files->close_on_exec); |
files | 505 | fs/open.c | if (!(filp = current->files->fd[fd])) |
files | 507 | fs/open.c | current->files->fd[fd] = NULL; |
files | 397 | fs/pipe.c | if (!current->files->fd[i]) { |
files | 398 | fs/pipe.c | current->files->fd[ fd[j]=i ] = f[j]; |
files | 402 | fs/pipe.c | current->files->fd[fd[0]]=NULL; |
files | 409 | fs/pipe.c | current->files->fd[fd[0]] = NULL; |
files | 410 | fs/pipe.c | current->files->fd[fd[1]] = NULL; |
files | 108 | fs/proc/fd.c | if (fd >= NR_OPEN || !p->files->fd[fd] || !p->files->fd[fd]->f_inode) |
files | 158 | fs/proc/fd.c | if (!p->files->fd[fd] || !p->files->fd[fd]->f_inode) |
files | 174 | fs/proc/inode.c | if (ino >= NR_OPEN || !p->files->fd[ino]) |
files | 89 | fs/proc/link.c | if (ino < NR_OPEN && p->files->fd[ino]) |
files | 90 | fs/proc/link.c | inode = p->files->fd[ino]->f_inode; |
files | 25 | fs/read_write.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd]) || |
files | 42 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
files | 79 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
files | 114 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
files | 135 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
files | 104 | fs/select.c | if (!current->files->fd[i]) |
files | 106 | fs/select.c | if (!current->files->fd[i]->f_inode) |
files | 125 | fs/select.c | if (FD_ISSET(i,in) && check(SEL_IN,wait,current->files->fd[i])) { |
files | 130 | fs/select.c | if (FD_ISSET(i,out) && check(SEL_OUT,wait,current->files->fd[i])) { |
files | 135 | fs/select.c | if (FD_ISSET(i,ex) && check(SEL_EX,wait,current->files->fd[i])) { |
files | 164 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
files | 179 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
files | 387 | ibcs/binfmt_coff.c | fp = current->files->fd[fd]; |
files | 759 | ibcs/binfmt_coff.c | file = current->files->fd[fd]; |
files | 173 | ibcs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
files | 330 | ibcs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
files | 579 | ibcs/binfmt_elf.c | file = current->files->fd[fd]; |
files | 301 | include/linux/sched.h | struct files_struct files[1]; |
files | 393 | kernel/exit.c | if (current->files->fd[i]) |
files | 123 | kernel/fork.c | if ((f = p->files->fd[i]) != NULL) |
files | 124 | kernel/fork.c | p->files->fd[i] = copy_fd(f); |
files | 127 | kernel/fork.c | if ((f = p->files->fd[i]) != NULL) |
files | 181 | mm/mmap.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 160 | net/socket.c | if (!current->files->fd[fd]) |
files | 168 | net/socket.c | FD_CLR(fd, ¤t->files->close_on_exec); |
files | 169 | net/socket.c | current->files->fd[fd] = file; |
files | 224 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) |
files | 699 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
files | 726 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
files | 759 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
files | 820 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL) |
files | 871 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
files | 896 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
files | 920 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
files | 949 | 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 | 1015 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
files | 1049 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
files | 1067 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
files | 1087 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |