taglinefilesource code
fd42arch/alpha/boot/tools/build.cint fd, i;
fd91arch/alpha/boot/tools/build.cfd = open(infile, O_RDONLY);
fd92arch/alpha/boot/tools/build.cif (fd < 0) {
fd96arch/alpha/boot/tools/build.cif (read(fd, &fhdr, sizeof(struct filehdr)) != sizeof(struct filehdr))
fd102arch/alpha/boot/tools/build.cif (read(fd, &ahdr, sizeof(struct aouthdr)) != sizeof(struct aouthdr))
fd105arch/alpha/boot/tools/build.cif (read(fd, i+shdr, sizeof(struct scnhdr)) != sizeof(struct scnhdr))
fd131arch/alpha/boot/tools/build.cif (lseek(fd, offset, SEEK_SET) != offset)
fd138arch/alpha/boot/tools/build.cif (read(fd, buffer, num) != num)
fd97arch/alpha/kernel/osf_sys.casmlinkage int osf_getdirentries(unsigned int fd, struct osf_dirent * dirent,
fd104arch/alpha/kernel/osf_sys.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd158arch/alpha/kernel/osf_sys.cunsigned long prot, unsigned long flags, unsigned long fd,
fd166arch/alpha/kernel/osf_sys.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd194arch/alpha/kernel/osf_sys.casmlinkage int osf_fstatfs(unsigned long fd, struct statfs * buffer, unsigned long bufsiz)
fd205arch/alpha/kernel/osf_sys.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd453arch/alpha/kernel/osf_sys.cint fd[2];
fd456arch/alpha/kernel/osf_sys.cerror = do_pipe(fd);
fd459arch/alpha/kernel/osf_sys.c(&regs)->r20 = fd[1];
fd460arch/alpha/kernel/osf_sys.creturn fd[0];
fd533arch/alpha/kernel/osf_sys.clong fd;
fd546arch/alpha/kernel/osf_sys.clong fd;
fd558arch/alpha/kernel/osf_sys.clong fd;
fd26arch/i386/kernel/sys_i386.cint fd[2];
fd32arch/i386/kernel/sys_i386.cerror = do_pipe(fd);
fd35arch/i386/kernel/sys_i386.cput_fs_long(fd[0],0+fildes);
fd36arch/i386/kernel/sys_i386.cput_fs_long(fd[1],1+fildes);
fd57arch/i386/kernel/sys_i386.cunsigned long fd = get_user(buffer+4);
fd58arch/i386/kernel/sys_i386.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd28arch/mips/kernel/syscall.cint fd[2];
fd31arch/mips/kernel/syscall.cerror = do_pipe(fd);
fd34arch/mips/kernel/syscall.cregs->reg2 = fd[0];
fd35arch/mips/kernel/syscall.cregs->reg3 = fd[1];
fd40arch/mips/kernel/syscall.cint flags, int fd, off_t offset)
fd45arch/mips/kernel/syscall.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd19arch/ppc/boot/cortstrip.cint fd, fdo;
fd30arch/ppc/boot/cortstrip.cfd = open(argv[1], O_RDONLY);
fd31arch/ppc/boot/cortstrip.cif ( fd == -1 )
fd51arch/ppc/boot/cortstrip.ci = lseek(fd, skip, SEEK_SET);
fd58arch/ppc/boot/cortstrip.cwhile ( (n = read(fd, data, SIZE)) > 0 )
fd67arch/ppc/boot/cortstrip.cclose(fd);
fd14arch/ppc/kernel/cortstrip.cint fd, fdo;
fd25arch/ppc/kernel/cortstrip.cfd = open(argv[1], O_RDONLY);
fd26arch/ppc/kernel/cortstrip.cif ( fd == -1 )
fd42arch/ppc/kernel/cortstrip.ci = lseek(fd, skip, SEEK_SET);
fd49arch/ppc/kernel/cortstrip.cwhile ( (n = read(fd, data, SIZE)) > 0 )
fd58arch/ppc/kernel/cortstrip.cclose(fd);
fd15arch/ppc/kernel/mkboot.cint fd, fdo;
fd26arch/ppc/kernel/mkboot.cfd = open(argv[1], O_RDONLY);
fd27arch/ppc/kernel/mkboot.cif ( fd == -1 )
fd47arch/ppc/kernel/mkboot.ci = lseek(fd, skip, SEEK_SET);
fd54arch/ppc/kernel/mkboot.cwhile ( (n = read(fd, data, SIZE)) > 0 )
fd63arch/ppc/kernel/mkboot.cclose(fd);
fd23arch/sparc/kernel/sunos_ioctl.casmlinkage int sunos_ioctl (int fd, unsigned long cmd, unsigned long arg)
fd27arch/sparc/kernel/sunos_ioctl.cif (fd >= NR_OPEN || !(filp = current->files->fd [fd]))
fd33arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCADDRT, arg);
fd35arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCDELRT, arg);
fd37arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCSIFADDR, arg);
fd39arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCGIFADDR, arg);
fd41arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCSIFDSTADDR, arg);
fd43arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCGIFDSTADDR, arg);
fd45arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCSIFFLAGS, arg);
fd47arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCGIFFLAGS, arg);
fd49arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCSIFMEM, arg);
fd51arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCGIFMEM, arg);
fd53arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCGIFCONF, arg);
fd55arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCSIFMTU, arg);
fd57arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCGIFMTU, arg);
fd60arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCGIFBRDADDR, arg);
fd62arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCGIFBRDADDR, arg);
fd64arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCGIFNETMASK, arg);
fd66arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCSIFNETMASK, arg);
fd68arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCGIFMETRIC, arg);
fd70arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCSIFMETRIC, arg);
fd73arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCSARP, arg);
fd75arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCGARP, arg);
fd77arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCGARP, arg);
fd89arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCADDMULTI, arg);
fd91arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl(fd, SIOCDELMULTI, arg);
fd106arch/sparc/kernel/sunos_ioctl.creturn sys_ioctl (fd, cmd, arg);
fd34arch/sparc/kernel/sys_sparc.cint fd[2];
fd37arch/sparc/kernel/sys_sparc.cerror = do_pipe(fd);
fd41arch/sparc/kernel/sys_sparc.cregs->u_regs[UREG_I0] = fd[0];
fd42arch/sparc/kernel/sys_sparc.cregs->u_regs[UREG_I1] = fd[1];
fd66arch/sparc/kernel/sys_sunos.cunsigned long fd, unsigned long off)
fd77arch/sparc/kernel/sys_sunos.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd372arch/sparc/kernel/sys_sunos.casmlinkage int sunos_getdents(unsigned int fd, void * dirent, int cnt)
fd379arch/sparc/kernel/sys_sunos.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd466arch/sparc/kernel/sys_sunos.casmlinkage int sunos_fpathconf(int fd, int name)
fd585arch/sparc/kernel/sys_sunos.csys_connect(int fd, struct sockaddr *uservaddr, int addrlen);
fd591arch/sparc/kernel/sys_sunos.csys_bind(int fd, struct sockaddr *umyaddr, int addrlen);
fd599arch/sparc/kernel/sys_sunos.csunos_nfs_get_server_fd (int fd, struct sockaddr_in *addr)
fd609arch/sparc/kernel/sys_sunos.cfile = current->files->fd [fd];
fd682arch/sparc/kernel/sys_sunos.clinux_nfs_mount.fd       = server_fd;
fd1632drivers/char/tty_io.cfilp = (*p)->files->fd[i];
fd1075drivers/net/wavelan.cfd_t    fd;
fd1094drivers/net/wavelan.cfd.fd_status = 0;
fd1095drivers/net/wavelan.cfd.fd_command = (i == NRXBLOCKS - 1) ? FD_COMMAND_EL : 0;
fd1096drivers/net/wavelan.cfd.fd_link_offset = rx_next;
fd1097drivers/net/wavelan.cfd.fd_rbd_offset = rx + sizeof(fd);
fd1098drivers/net/wavelan.cobram_write(ioaddr, rx, (unsigned char *)&fd, sizeof(fd));
fd1102drivers/net/wavelan.crbd.rbd_bufl = rx + sizeof(fd) + sizeof(rbd);
fd1105drivers/net/wavelan.cobram_write(ioaddr, rx + sizeof(fd), (unsigned char *)&rbd, sizeof(rbd));
fd1493drivers/net/wavelan.cfd_t    fd;
fd1499drivers/net/wavelan.cobram_read(ioaddr, lp->rx_head, (unsigned char *)&fd, sizeof(fd));
fd1501drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_C) != FD_STATUS_C)
fd1508drivers/net/wavelan.c(fd.fd_status & (FD_STATUS_B | FD_STATUS_OK))
fd1520drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_OK) != FD_STATUS_OK)
fd1524drivers/net/wavelan.cif ((fd.fd_status & (FD_STATUS_S6 | FD_STATUS_S7 | FD_STATUS_S8 | FD_STATUS_S9 | FD_STATUS_S10 | FD_STATUS_S11)) != 0)
fd1528drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S6) != 0)
fd1531drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S7) != 0)
fd1537drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S8) != 0)
fd1543drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S9) != 0)
fd1549drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S10) != 0)
fd1555drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S11) != 0)
fd1562drivers/net/wavelan.cif (fd.fd_rbd_offset == I82586NULL)
fd1566drivers/net/wavelan.cobram_read(ioaddr, fd.fd_rbd_offset, (unsigned char *)&rbd, sizeof(rbd));
fd1612drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", fd.fd_dest[i]);
fd1617drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", fd.fd_src[i]);
fd1619drivers/net/wavelan.cprintk("%s: fd_length=%d\n", dev->name, fd.fd_length);
fd1685drivers/net/wavelan.cfd.fd_status = 0;
fd1686drivers/net/wavelan.cobram_write(ioaddr, fdoff(lp->rx_head, fd_status), (unsigned char *)&fd.fd_status, sizeof(fd.fd_status));
fd1688drivers/net/wavelan.cfd.fd_command = FD_COMMAND_EL;
fd1689drivers/net/wavelan.cobram_write(ioaddr, fdoff(lp->rx_head, fd_command), (unsigned char *)&fd.fd_command, sizeof(fd.fd_command));
fd1691drivers/net/wavelan.cfd.fd_command = 0;
fd1692drivers/net/wavelan.cobram_write(ioaddr, fdoff(lp->rx_last, fd_command), (unsigned char *)&fd.fd_command, sizeof(fd.fd_command));
fd1695drivers/net/wavelan.clp->rx_head = fd.fd_link_offset;
fd1739drivers/sound/configure.cint             fd;
fd1744drivers/sound/configure.cif ((fd = open (path, 0)) > 0)
fd1752drivers/sound/configure.ccount = read (fd, &c, 1);
fd1763drivers/sound/configure.cclose (fd);
fd46fs/binfmt_elf.cstatic int load_elf_library(int fd);
fd226fs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
fd417fs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
fd714fs/binfmt_elf.cdo_load_elf_library(int fd){
fd727fs/binfmt_elf.cfile = current->files->fd[fd];
fd809fs/binfmt_elf.cstatic int load_elf_library(int fd)
fd814fs/binfmt_elf.cretval = do_load_elf_library(fd);
fd254fs/buffer.casmlinkage int sys_fsync(unsigned int fd)
fd259fs/buffer.cif (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode))
fd268fs/buffer.casmlinkage int sys_fdatasync(unsigned int fd)
fd273fs/buffer.cif (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode))
fd55fs/exec.cstatic int load_aout_library(int fd);
fd111fs/exec.cint error, fd;
fd119fs/exec.cfd = 0;
fd120fs/exec.cfpp = current->files->fd;
fd124fs/exec.cif (++fd >= NR_OPEN) {
fd146fs/exec.creturn fd;
fd288fs/exec.cint fd, retval;
fd292fs/exec.cfd = sys_open(library, 0, 0);
fd293fs/exec.cif (fd < 0)
fd294fs/exec.creturn fd;
fd295fs/exec.cfile = current->files->fd[fd];
fd302fs/exec.cretval = fn(fd);
fd307fs/exec.csys_close(fd);
fd840fs/exec.cint fd;
fd912fs/exec.cfd = open_inode(bprm->inode, O_RDONLY);
fd914fs/exec.cif (fd < 0)
fd915fs/exec.creturn fd;
fd916fs/exec.cfile = current->files->fd[fd];
fd918fs/exec.csys_close(fd);
fd933fs/exec.csys_close(fd);
fd942fs/exec.csys_close(fd);
fd981fs/exec.cstatic int load_aout_library(int fd)
fd991fs/exec.cfile = current->files->fd[fd];
fd20fs/fcntl.cstatic inline int dupfd(unsigned int fd, unsigned int arg)
fd22fs/fcntl.cif (fd >= NR_OPEN || !current->files->fd[fd])
fd27fs/fcntl.cif (current->files->fd[arg])
fd34fs/fcntl.c(current->files->fd[arg] = current->files->fd[fd])->f_count++;
fd40fs/fcntl.cif (oldfd >= NR_OPEN || !current->files->fd[oldfd])
fd56fs/fcntl.casmlinkage long sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
fd62fs/fcntl.cif (fd >= NR_OPEN || !(filp = current->files->fd[fd]))
fd66fs/fcntl.creturn dupfd(fd,arg);
fd68fs/fcntl.creturn FD_ISSET(fd, &current->files->close_on_exec);
fd71fs/fcntl.cFD_SET(fd, &current->files->close_on_exec);
fd73fs/fcntl.cFD_CLR(fd, &current->files->close_on_exec);
fd95fs/fcntl.creturn fcntl_getlk(fd, (struct flock *) arg);
fd97fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
fd99fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
fd58fs/ioctl.casmlinkage int sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
fd63fs/ioctl.cif (fd >= NR_OPEN || !(filp = current->files->fd[fd]))
fd67fs/ioctl.cFD_SET(fd, &current->files->close_on_exec);
fd71fs/ioctl.cFD_CLR(fd, &current->files->close_on_exec);
fd98fs/locks.casmlinkage int sys_flock(unsigned int fd, unsigned int cmd)
fd103fs/locks.cif ((fd >= NR_OPEN) || !(filp = current->files->fd[fd]))
fd118fs/locks.cint fcntl_getlk(unsigned int fd, struct flock *l)
fd125fs/locks.cif ((fd >= NR_OPEN) || !(filp = current->files->fd[fd]))
fd161fs/locks.cint fcntl_setlk(unsigned int fd, unsigned int cmd, struct flock *l)
fd172fs/locks.cif ((fd >= NR_OPEN) || !(filp = current->files->fd[fd]))
fd203fs/ncpfs/inode.c|| ((ncp_filp = current->files->fd[data->ncp_fd]) == NULL)
fd212fs/ncpfs/inode.c|| ((wdog_filp = current->files->fd[data->wdog_fd]) == NULL)
fd76fs/nfs/inode.cunsigned int fd;
fd88fs/nfs/inode.cfd = data->fd;
fd93fs/nfs/inode.cif (fd >= NR_OPEN || !(filp = current->files->fd[fd])) {
fd689fs/nfs/nfsroot.cif ((nfs_data.fd = sys_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) {
fd699fs/nfs/nfsroot.cfilp = current->files->fd[nfs_data.fd];
fd702fs/nfs/nfsroot.ccurrent->files->fd[nfs_data.fd] = &nfs_file;
fd725fs/nfs/nfsroot.ccurrent->files->fd[nfs_data.fd] = NULL;
fd45fs/open.casmlinkage int sys_fstatfs(unsigned int fd, struct statfs * buf)
fd54fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd118fs/open.casmlinkage int sys_ftruncate(unsigned int fd, unsigned long length)
fd123fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd261fs/open.casmlinkage int sys_fchdir(unsigned int fd)
fd267fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd302fs/open.casmlinkage int sys_fchmod(unsigned int fd, mode_t mode)
fd308fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd351fs/open.casmlinkage int sys_fchown(unsigned int fd, uid_t user, gid_t group)
fd358fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd472fs/open.cint flag,error,fd;
fd510fs/open.cfor(fd = 0; fd < NR_OPEN && fd < current->rlim[RLIMIT_NOFILE].rlim_cur; fd++) {
fd511fs/open.cif (!current->files->fd[fd]) {
fd512fs/open.ccurrent->files->fd[fd] = f;
fd513fs/open.cFD_CLR(fd,&current->files->close_on_exec);
fd514fs/open.creturn fd;
fd573fs/open.casmlinkage int sys_close(unsigned int fd)
fd577fs/open.cif (fd >= NR_OPEN)
fd579fs/open.cFD_CLR(fd, &current->files->close_on_exec);
fd580fs/open.cif (!(filp = current->files->fd[fd]))
fd582fs/open.ccurrent->files->fd[fd] = NULL;
fd396fs/pipe.cint do_pipe(int *fd)
fd417fs/pipe.cif (!current->files->fd[i]) {
fd418fs/pipe.ccurrent->files->fd[ fd[j]=i ] = f[j];
fd426fs/pipe.ccurrent->files->fd[fd[0]] = NULL;
fd58fs/proc/fd.cunsigned int ino, pid, fd, c;
fd88fs/proc/fd.cfd = 0;
fd93fs/proc/fd.cfd = 0xfffff;
fd96fs/proc/fd.cfd *= 10;
fd97fs/proc/fd.cfd += c;
fd98fs/proc/fd.cif (fd & 0xffff0000) {
fd99fs/proc/fd.cfd = 0xfffff;
fd109fs/proc/fd.cif (fd >= NR_OPEN || !p->files->fd[fd] || !p->files->fd[fd]->f_inode)
fd112fs/proc/fd.cino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd;
fd127fs/proc/fd.cunsigned int fd, pid, ino;
fd138fs/proc/fd.cfor (fd = filp->f_pos; fd < 2; fd++, filp->f_pos++) {
fd140fs/proc/fd.cif (fd)
fd142fs/proc/fd.cif (filldir(dirent, "..", fd+1, fd, ino) < 0)
fd154fs/proc/fd.cfor (fd -= 2 ; fd < NR_OPEN; fd++, filp->f_pos++) {
fd157fs/proc/fd.cif (!p->files->fd[fd] || !p->files->fd[fd]->f_inode)
fd161fs/proc/fd.ci = fd;
fd168fs/proc/fd.cino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd;
fd169fs/proc/fd.cif (filldir(dirent, buf+j, NUMBUF-j, fd+2, ino) < 0)
fd241fs/proc/inode.cif (ino >= NR_OPEN || !p->files->fd[ino])
fd246fs/proc/inode.cif (p->files->fd[ino]->f_mode & 1)
fd248fs/proc/inode.cif (p->files->fd[ino]->f_mode & 2)
fd124fs/proc/link.cif (ino < NR_OPEN && p->files->fd[ino]) {
fd125fs/proc/link.cnew_inode = p->files->fd[ino]->f_inode;
fd18fs/read_write.casmlinkage int sys_lseek(unsigned int fd, off_t offset, unsigned int origin)
fd23fs/read_write.cif (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode))
fd54fs/read_write.casmlinkage int sys_llseek(unsigned int fd, unsigned long offset_high,
fd63fs/read_write.cif (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode))
fd103fs/read_write.casmlinkage int sys_read(unsigned int fd,char * buf,unsigned int count)
fd109fs/read_write.cif (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode))
fd123fs/read_write.casmlinkage int sys_write(unsigned int fd,char * buf,unsigned int count)
fd130fs/read_write.cif (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode))
fd252fs/read_write.casmlinkage int sys_readv(unsigned long fd, const struct iovec * vector, long count)
fd257fs/read_write.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]) || !(inode = file->f_inode))
fd264fs/read_write.casmlinkage int sys_writev(unsigned long fd, const struct iovec * vector, long count)
fd270fs/read_write.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]) || !(inode = file->f_inode))
fd56fs/readdir.casmlinkage int old_readdir(unsigned int fd, void * dirent, unsigned int count)
fd62fs/readdir.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd119fs/readdir.casmlinkage int sys_getdents(unsigned int fd, void * dirent, unsigned int count)
fd126fs/readdir.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd105fs/select.cif (!current->files->fd[i])
fd107fs/select.cif (!current->files->fd[i]->f_inode)
fd126fs/select.cif (FD_ISSET(i,in) && check(SEL_IN,wait,current->files->fd[i])) {
fd131fs/select.cif (FD_ISSET(i,out) && check(SEL_OUT,wait,current->files->fd[i])) {
fd136fs/select.cif (FD_ISSET(i,ex) && check(SEL_EX,wait,current->files->fd[i])) {
fd178fs/smbfs/inode.cunsigned int fd;
fd188fs/smbfs/inode.cfd = data->fd;
fd194fs/smbfs/inode.cif (fd >= NR_OPEN || !(filp = current->files->fd[fd])) {
fd161fs/stat.casmlinkage int sys_fstat(unsigned int fd, struct old_stat * statbuf)
fd170fs/stat.cif (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode))
fd176fs/stat.casmlinkage int sys_newfstat(unsigned int fd, struct new_stat * statbuf)
fd185fs/stat.cif (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode))
fd103include/asm-alpha/types.hstatic __inline__ void __FD_SET(unsigned long fd, fd_set *fdsetp)
fd105include/asm-alpha/types.hunsigned long _tmp = fd / __NFDBITS;
fd106include/asm-alpha/types.hunsigned long _rem = fd % __NFDBITS;
fd111include/asm-alpha/types.hstatic __inline__ void __FD_CLR(unsigned long fd, fd_set *fdsetp)
fd113include/asm-alpha/types.hunsigned long _tmp = fd / __NFDBITS;
fd114include/asm-alpha/types.hunsigned long _rem = fd % __NFDBITS;
fd119include/asm-alpha/types.hstatic __inline__ int __FD_ISSET(unsigned long fd, fd_set *p)
fd121include/asm-alpha/types.hunsigned long _tmp = fd / __NFDBITS;
fd122include/asm-alpha/types.hunsigned long _rem = fd % __NFDBITS;
fd217include/asm-alpha/unistd.hstatic inline int dup(int fd)
fd219include/asm-alpha/unistd.hreturn sys_dup(fd);
fd222include/asm-alpha/unistd.hstatic inline int close(int fd)
fd224include/asm-alpha/unistd.hreturn sys_close(fd);
fd236include/asm-alpha/unistd.hstatic inline int write(int fd, const char * buf, int nr)
fd238include/asm-alpha/unistd.hreturn sys_write(fd, buf, nr);
fd242include/asm-alpha/unistd.hstatic inline int read(int fd, char * buf, int nr)
fd244include/asm-alpha/unistd.hreturn sys_read(fd, buf, nr);
fd79include/asm-i386/types.h#define __FD_SET(fd,fdsetp) \
fd81include/asm-i386/types.h"=m" (*(fd_set *) (fdsetp)):"r" ((int) (fd)))
fd84include/asm-i386/types.h#define __FD_CLR(fd,fdsetp) \
fd86include/asm-i386/types.h"=m" (*(fd_set *) (fdsetp)):"r" ((int) (fd)))
fd89include/asm-i386/types.h#define __FD_ISSET(fd,fdsetp) (__extension__ ({ \
fd92include/asm-i386/types.h:"=q" (__result) :"r" ((int) (fd)), \
fd277include/asm-i386/unistd.hstatic inline _syscall3(int,write,int,fd,const char *,buf,off_t,count)
fd278include/asm-i386/unistd.hstatic inline _syscall1(int,dup,int,fd)
fd281include/asm-i386/unistd.hstatic inline _syscall1(int,close,int,fd)
fd109include/asm-mips/types.hstatic __inline__ void __FD_SET(unsigned long fd, fd_set *fdsetp)
fd111include/asm-mips/types.hunsigned long _tmp = fd / __NFDBITS;
fd112include/asm-mips/types.hunsigned long _rem = fd % __NFDBITS;
fd117include/asm-mips/types.hstatic __inline__ void __FD_CLR(unsigned long fd, fd_set *fdsetp)
fd119include/asm-mips/types.hunsigned long _tmp = fd / __NFDBITS;
fd120include/asm-mips/types.hunsigned long _rem = fd % __NFDBITS;
fd125include/asm-mips/types.hstatic __inline__ int __FD_ISSET(unsigned long fd, fd_set *p)
fd127include/asm-mips/types.hunsigned long _tmp = fd / __NFDBITS;
fd128include/asm-mips/types.hunsigned long _rem = fd % __NFDBITS;
fd1302include/asm-mips/unistd.hstatic inline _syscall3(int,write,int,fd,const char *,buf,off_t,count)
fd1303include/asm-mips/unistd.hstatic inline _syscall1(int,dup,int,fd)
fd1306include/asm-mips/unistd.hstatic inline _syscall1(int,close,int,fd)
fd79include/asm-ppc/types.hstatic __inline__ void __FD_SET(unsigned long fd, fd_set *fdsetp)
fd81include/asm-ppc/types.hunsigned long _tmp = fd / __NFDBITS;
fd82include/asm-ppc/types.hunsigned long _rem = fd % __NFDBITS;
fd87include/asm-ppc/types.hstatic __inline__ void __FD_CLR(unsigned long fd, fd_set *fdsetp)
fd89include/asm-ppc/types.hunsigned long _tmp = fd / __NFDBITS;
fd90include/asm-ppc/types.hunsigned long _rem = fd % __NFDBITS;
fd95include/asm-ppc/types.hstatic __inline__ int __FD_ISSET(unsigned long fd, fd_set *p)
fd97include/asm-ppc/types.hunsigned long _tmp = fd / __NFDBITS;
fd98include/asm-ppc/types.hunsigned long _rem = fd % __NFDBITS;
fd272include/asm-ppc/unistd.hstatic /*inline*/ _syscall3(int,write,int,fd,const char *,buf,off_t,count)
fd273include/asm-ppc/unistd.hstatic /*inline*/ _syscall1(int,dup,int,fd)
fd276include/asm-ppc/unistd.hstatic inline _syscall1(int,close,int,fd)
fd79include/asm-sparc/types.hstatic __inline__ void __FD_SET(unsigned long fd, fd_set *fdsetp)
fd81include/asm-sparc/types.hunsigned long _tmp = fd / __NFDBITS;
fd82include/asm-sparc/types.hunsigned long _rem = fd % __NFDBITS;
fd87include/asm-sparc/types.hstatic __inline__ void __FD_CLR(unsigned long fd, fd_set *fdsetp)
fd89include/asm-sparc/types.hunsigned long _tmp = fd / __NFDBITS;
fd90include/asm-sparc/types.hunsigned long _rem = fd % __NFDBITS;
fd95include/asm-sparc/types.hstatic __inline__ int __FD_ISSET(unsigned long fd, fd_set *p)
fd97include/asm-sparc/types.hunsigned long _tmp = fd / __NFDBITS;
fd98include/asm-sparc/types.hunsigned long _rem = fd % __NFDBITS;
fd405include/asm-sparc/unistd.hstatic inline _syscall3(int,write,int,fd,const char *,buf,off_t,count)
fd406include/asm-sparc/unistd.hstatic inline _syscall1(int,dup,int,fd)
fd409include/asm-sparc/unistd.hstatic inline _syscall1(int,close,int,fd)
fd36include/linux/binfmts.hint (*load_shlib)(int fd);
fd36include/linux/nfs_mount.hint fd;        /* 1 */
fd116include/linux/sched.hstruct file * fd[NR_OPEN];
fd18include/linux/smb_mount.hunsigned int fd;
fd27include/linux/time.h#define FD_SET(fd,fdsetp)  __FD_SET(fd,fdsetp)
fd28include/linux/time.h#define FD_CLR(fd,fdsetp)  __FD_CLR(fd,fdsetp)
fd29include/linux/time.h#define FD_ISSET(fd,fdsetp)  __FD_ISSET(fd,fdsetp)
fd371kernel/exit.cstruct file * filp = files->fd[i];
fd374kernel/exit.cfiles->fd[i] = NULL;
fd172kernel/fork.cstruct file * f = current->files->fd[i];
fd175kernel/fork.ctsk->files->fd[i] = f;
fd164net/socket.cint fd;
fd175net/socket.cfor (fd = 0; fd < NR_OPEN; ++fd)
fd176net/socket.cif (!current->files->fd[fd]) 
fd178net/socket.cif (fd == NR_OPEN) 
fd184net/socket.cFD_CLR(fd, &current->files->close_on_exec);
fd185net/socket.ccurrent->files->fd[fd] = file;
fd194net/socket.creturn(fd);
fd214net/socket.cextern __inline struct socket *sockfd_lookup(int fd, struct file **pfile)
fd219net/socket.cif (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) 
fd511net/socket.cint i, fd;
fd562net/socket.cif ((fd = get_fd(SOCK_INODE(sock))) < 0) 
fd568net/socket.creturn(fd);
fd640net/socket.casmlinkage int sys_bind(int fd, struct sockaddr *umyaddr, int addrlen)
fd647net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
fd650net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd670net/socket.casmlinkage int sys_listen(int fd, int backlog)
fd675net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
fd677net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd701net/socket.casmlinkage int sys_accept(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen)
fd709net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd711net/socket.cif (!(sock = sockfd_lookup(fd, &file))) 
fd743net/socket.cif ((fd = get_fd(SOCK_INODE(newsock))) < 0) 
fd754net/socket.creturn(fd);
fd763net/socket.casmlinkage int sys_connect(int fd, struct sockaddr *uservaddr, int addrlen)
fd771net/socket.cif (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL)
fd773net/socket.cif (!(sock = sockfd_lookup(fd, &file)))
fd814net/socket.casmlinkage int sys_getsockname(int fd, struct sockaddr *usockaddr, int *usockaddr_len)
fd821net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
fd823net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd839net/socket.casmlinkage int sys_getpeername(int fd, struct sockaddr *usockaddr, int *usockaddr_len)
fd846net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
fd848net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd864net/socket.casmlinkage int sys_send(int fd, void * buff, int len, unsigned flags)
fd872net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd874net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd898net/socket.casmlinkage int sys_sendto(int fd, void * buff, int len, unsigned flags,
fd908net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd910net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd938net/socket.casmlinkage int sys_recv(int fd, void * ubuf, int size, unsigned flags)
fd946net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd949net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd976net/socket.casmlinkage int sys_recvfrom(int fd, void * ubuf, int size, unsigned flags,
fd986net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd988net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd1022net/socket.casmlinkage int sys_setsockopt(int fd, int level, int optname, char *optval, int optlen)
fd1027net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd1029net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd1040net/socket.casmlinkage int sys_getsockopt(int fd, int level, int optname, char *optval, int *optlen)
fd1045net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd1047net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd1060net/socket.casmlinkage int sys_shutdown(int fd, int how)
fd1065net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd1067net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd1077net/socket.casmlinkage int sys_sendmsg(int fd, struct msghdr *msg, unsigned int flags)
fd1087net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd1089net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd1112net/socket.casmlinkage int sys_recvmsg(int fd, struct msghdr *msg, unsigned int flags)
fd1124net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd1126net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))