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)
fd96arch/alpha/kernel/osf_sys.casmlinkage int osf_getdirentries(unsigned int fd, struct osf_dirent * dirent,
fd103arch/alpha/kernel/osf_sys.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd157arch/alpha/kernel/osf_sys.cunsigned long prot, unsigned long flags, unsigned long fd,
fd165arch/alpha/kernel/osf_sys.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd193arch/alpha/kernel/osf_sys.casmlinkage int osf_fstatfs(unsigned long fd, struct statfs * buffer, unsigned long bufsiz)
fd204arch/alpha/kernel/osf_sys.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd452arch/alpha/kernel/osf_sys.cint fd[2];
fd455arch/alpha/kernel/osf_sys.cerror = do_pipe(fd);
fd458arch/alpha/kernel/osf_sys.c(&regs)->r20 = fd[1];
fd459arch/alpha/kernel/osf_sys.creturn fd[0];
fd532arch/alpha/kernel/osf_sys.clong fd;
fd545arch/alpha/kernel/osf_sys.clong fd;
fd557arch/alpha/kernel/osf_sys.clong fd;
fd27arch/i386/kernel/sys_i386.cint fd[2];
fd33arch/i386/kernel/sys_i386.cerror = do_pipe(fd);
fd36arch/i386/kernel/sys_i386.cput_fs_long(fd[0],0+fildes);
fd37arch/i386/kernel/sys_i386.cput_fs_long(fd[1],1+fildes);
fd58arch/i386/kernel/sys_i386.cunsigned long fd = get_user(buffer+4);
fd59arch/i386/kernel/sys_i386.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd1576drivers/char/tty_io.cfilp = (*p)->files->fd[i];
fd1066drivers/net/wavelan.cfd_t    fd;
fd1085drivers/net/wavelan.cfd.fd_status = 0;
fd1086drivers/net/wavelan.cfd.fd_command = (i == NRXBLOCKS - 1) ? FD_COMMAND_EL : 0;
fd1087drivers/net/wavelan.cfd.fd_link_offset = rx_next;
fd1088drivers/net/wavelan.cfd.fd_rbd_offset = rx + sizeof(fd);
fd1089drivers/net/wavelan.cobram_write(ioaddr, rx, (unsigned char *)&fd, sizeof(fd));
fd1093drivers/net/wavelan.crbd.rbd_bufl = rx + sizeof(fd) + sizeof(rbd);
fd1096drivers/net/wavelan.cobram_write(ioaddr, rx + sizeof(fd), (unsigned char *)&rbd, sizeof(rbd));
fd1486drivers/net/wavelan.cfd_t    fd;
fd1492drivers/net/wavelan.cobram_read(ioaddr, lp->rx_head, (unsigned char *)&fd, sizeof(fd));
fd1494drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_C) != FD_STATUS_C)
fd1501drivers/net/wavelan.c(fd.fd_status & (FD_STATUS_B | FD_STATUS_OK))
fd1513drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_OK) != FD_STATUS_OK)
fd1517drivers/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)
fd1521drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S6) != 0)
fd1524drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S7) != 0)
fd1530drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S8) != 0)
fd1536drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S9) != 0)
fd1542drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S10) != 0)
fd1548drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S11) != 0)
fd1555drivers/net/wavelan.cif (fd.fd_rbd_offset == I82586NULL)
fd1559drivers/net/wavelan.cobram_read(ioaddr, fd.fd_rbd_offset, (unsigned char *)&rbd, sizeof(rbd));
fd1605drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", fd.fd_dest[i]);
fd1610drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", fd.fd_src[i]);
fd1612drivers/net/wavelan.cprintk("%s: fd_length=%d\n", dev->name, fd.fd_length);
fd1678drivers/net/wavelan.cfd.fd_status = 0;
fd1679drivers/net/wavelan.cobram_write(ioaddr, fdoff(lp->rx_head, fd_status), (unsigned char *)&fd.fd_status, sizeof(fd.fd_status));
fd1681drivers/net/wavelan.cfd.fd_command = FD_COMMAND_EL;
fd1682drivers/net/wavelan.cobram_write(ioaddr, fdoff(lp->rx_head, fd_command), (unsigned char *)&fd.fd_command, sizeof(fd.fd_command));
fd1684drivers/net/wavelan.cfd.fd_command = 0;
fd1685drivers/net/wavelan.cobram_write(ioaddr, fdoff(lp->rx_last, fd_command), (unsigned char *)&fd.fd_command, sizeof(fd.fd_command));
fd1688drivers/net/wavelan.clp->rx_head = fd.fd_link_offset;
fd1325drivers/sound/configure.cint             fd;
fd1330drivers/sound/configure.cif ((fd = open (path, 0)) > 0)
fd1338drivers/sound/configure.ccount = read (fd, &c, 1);
fd1349drivers/sound/configure.cclose (fd);
fd52fs/binfmt_elf.cstatic int load_elf_library(int fd);
fd215fs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
fd408fs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
fd677fs/binfmt_elf.cload_elf_library(int fd){
fd691fs/binfmt_elf.cfile = current->files->fd[fd];
fd697fs/binfmt_elf.cSYS(close)(fd);
fd753fs/binfmt_elf.cSYS(close)(fd);
fd240fs/buffer.casmlinkage int sys_fsync(unsigned int fd)
fd245fs/buffer.cif (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode))
fd52fs/exec.cstatic int load_aout_library(int fd);
fd105fs/exec.cint error, fd;
fd113fs/exec.cfd = 0;
fd114fs/exec.cfpp = current->files->fd;
fd118fs/exec.cif (++fd >= NR_OPEN) {
fd140fs/exec.creturn fd;
fd270fs/exec.cint fd, retval;
fd274fs/exec.cfd = sys_open(library, 0, 0);
fd275fs/exec.cif (fd < 0)
fd276fs/exec.creturn fd;
fd277fs/exec.cfile = current->files->fd[fd];
fd284fs/exec.cretval = fn(fd);
fd289fs/exec.csys_close(fd);
fd747fs/exec.cint fd;
fd799fs/exec.cfd = open_inode(bprm->inode, O_RDONLY);
fd801fs/exec.cif (fd < 0)
fd802fs/exec.creturn fd;
fd803fs/exec.cfile = current->files->fd[fd];
fd805fs/exec.csys_close(fd);
fd820fs/exec.csys_close(fd);
fd829fs/exec.csys_close(fd);
fd865fs/exec.cstatic int load_aout_library(int fd)
fd875fs/exec.cfile = current->files->fd[fd];
fd20fs/fcntl.cstatic 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])
fd66fs/fcntl.casmlinkage long sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
fd72fs/fcntl.cif (fd >= NR_OPEN || !(filp = current->files->fd[fd]))
fd76fs/fcntl.creturn dupfd(fd,arg);
fd78fs/fcntl.creturn FD_ISSET(fd, &current->files->close_on_exec);
fd81fs/fcntl.cFD_SET(fd, &current->files->close_on_exec);
fd83fs/fcntl.cFD_CLR(fd, &current->files->close_on_exec);
fd105fs/fcntl.creturn fcntl_getlk(fd, (struct flock *) arg);
fd107fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
fd109fs/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]))
fd81fs/nfs/inode.cunsigned int fd;
fd93fs/nfs/inode.cfd = data->fd;
fd98fs/nfs/inode.cif (fd >= NR_OPEN || !(filp = current->files->fd[fd])) {
fd50fs/open.casmlinkage int sys_fstatfs(unsigned int fd, struct statfs * buf)
fd59fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd111fs/open.casmlinkage int sys_ftruncate(unsigned int fd, unsigned int length)
fd117fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd275fs/open.casmlinkage int sys_fchdir(unsigned int fd)
fd281fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd316fs/open.casmlinkage int sys_fchmod(unsigned int fd, mode_t mode)
fd322fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd367fs/open.casmlinkage int sys_fchown(unsigned int fd, uid_t user, gid_t group)
fd373fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd472fs/open.cint flag,error,fd;
fd474fs/open.cfor(fd=0; fd<NR_OPEN && fd<current->rlim[RLIMIT_NOFILE].rlim_cur; fd++)
fd475fs/open.cif (!current->files->fd[fd])
fd477fs/open.cif (fd>=NR_OPEN || fd>=current->rlim[RLIMIT_NOFILE].rlim_cur)
fd479fs/open.cFD_CLR(fd,&current->files->close_on_exec);
fd483fs/open.ccurrent->files->fd[fd] = f;
fd497fs/open.ccurrent->files->fd[fd]=NULL;
fd514fs/open.ccurrent->files->fd[fd]=NULL;
fd519fs/open.creturn (fd);
fd564fs/open.casmlinkage int sys_close(unsigned int fd)
fd568fs/open.cif (fd >= NR_OPEN)
fd570fs/open.cFD_CLR(fd, &current->files->close_on_exec);
fd571fs/open.cif (!(filp = current->files->fd[fd]))
fd573fs/open.ccurrent->files->fd[fd] = NULL;
fd379fs/pipe.cint do_pipe(int *fd)
fd400fs/pipe.cif (!current->files->fd[i]) {
fd401fs/pipe.ccurrent->files->fd[ fd[j]=i ] = f[j];
fd409fs/pipe.ccurrent->files->fd[fd[0]] = NULL;
fd56fs/proc/fd.cunsigned int ino, pid, fd, c;
fd86fs/proc/fd.cfd = 0;
fd91fs/proc/fd.cfd = 0xfffff;
fd94fs/proc/fd.cfd *= 10;
fd95fs/proc/fd.cfd += c;
fd96fs/proc/fd.cif (fd & 0xffff0000) {
fd97fs/proc/fd.cfd = 0xfffff;
fd107fs/proc/fd.cif (fd >= NR_OPEN || !p->files->fd[fd] || !p->files->fd[fd]->f_inode)
fd110fs/proc/fd.cino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd;
fd125fs/proc/fd.cunsigned int fd, pid, ino;
fd136fs/proc/fd.cfor (fd = filp->f_pos; fd < 2; fd++, filp->f_pos++) {
fd138fs/proc/fd.cif (fd)
fd140fs/proc/fd.cif (filldir(dirent, "..", fd+1, fd, ino) < 0)
fd152fs/proc/fd.cfor (fd -= 2 ; fd < NR_OPEN; fd++, filp->f_pos++) {
fd153fs/proc/fd.cif (!p->files->fd[fd] || !p->files->fd[fd]->f_inode)
fd157fs/proc/fd.ci = fd;
fd164fs/proc/fd.cino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd;
fd165fs/proc/fd.cif (filldir(dirent, buf+j, NUMBUF-j, fd+2, ino) < 0)
fd277fs/proc/inode.cif (ino >= NR_OPEN || !p->files->fd[ino])
fd282fs/proc/inode.cif (p->files->fd[ino]->f_mode & 1)
fd284fs/proc/inode.cif (p->files->fd[ino]->f_mode & 2)
fd69fs/proc/link.cint  i, fd;
fd73fs/proc/link.cfor(fd=0 ; fd<NR_OPEN ; fd++)
fd74fs/proc/link.cif (current->files->fd[fd] == f)
fd76fs/proc/link.cif (fd>=NR_OPEN)
fd88fs/proc/link.c((ino >> 8) != 1) || !(new_f = p->files->fd[ino & 0x0ff]))
fd95fs/proc/link.ccurrent->files->fd[fd] = new_f;
fd151fs/proc/link.cif (ino < NR_OPEN && p->files->fd[ino]) {
fd158fs/proc/link.cnew_inode = p->files->fd[ino]->f_inode;
fd16fs/read_write.casmlinkage int sys_lseek(unsigned int fd, off_t offset, unsigned int origin)
fd21fs/read_write.cif (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode))
fd52fs/read_write.casmlinkage int sys_llseek(unsigned int fd, unsigned long offset_high,
fd61fs/read_write.cif (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode))
fd101fs/read_write.casmlinkage int sys_read(unsigned int fd,char * buf,unsigned int count)
fd107fs/read_write.cif (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode))
fd121fs/read_write.casmlinkage int sys_write(unsigned int fd,char * buf,unsigned int count)
fd128fs/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])) {
fd186fs/smbfs/inode.cunsigned int fd;
fd196fs/smbfs/inode.cfd = data->fd;
fd202fs/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;
fd199include/asm-alpha/unistd.hstatic inline int dup(int fd)
fd201include/asm-alpha/unistd.hreturn sys_dup(fd);
fd204include/asm-alpha/unistd.hstatic inline int close(int fd)
fd206include/asm-alpha/unistd.hreturn sys_close(fd);
fd218include/asm-alpha/unistd.hstatic inline int write(int fd, const char * buf, int nr)
fd220include/asm-alpha/unistd.hreturn sys_write(fd, buf, nr);
fd224include/asm-alpha/unistd.hstatic inline int read(int fd, char * buf, int nr)
fd226include/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)), \
fd257include/asm-i386/unistd.hstatic inline _syscall3(int,write,int,fd,const char *,buf,off_t,count)
fd258include/asm-i386/unistd.hstatic inline _syscall1(int,dup,int,fd)
fd261include/asm-i386/unistd.hstatic inline _syscall1(int,close,int,fd)
fd160include/asm-sparc/unistd.hstatic inline _syscall3(int,write,int,fd,const char *,buf,off_t,count)
fd161include/asm-sparc/unistd.hstatic inline _syscall1(int,dup,int,fd)
fd164include/asm-sparc/unistd.hstatic inline _syscall1(int,close,int,fd)
fd36include/linux/binfmts.hint (*load_shlib)(int fd);
fd24include/linux/nfs_mount.hint fd;        /* 1 */
fd94include/linux/sched.hstruct file * fd[NR_OPEN];
fd18include/linux/smb_mount.hunsigned int fd;
fd21include/linux/time.h#define FD_SET(fd,fdsetp)  __FD_SET(fd,fdsetp)
fd22include/linux/time.h#define FD_CLR(fd,fdsetp)  __FD_CLR(fd,fdsetp)
fd23include/linux/time.h#define FD_ISSET(fd,fdsetp)  __FD_ISSET(fd,fdsetp)
fd363kernel/exit.cif (current->files->fd[i])
fd126kernel/fork.cif ((f = p->files->fd[i]) != NULL)
fd127kernel/fork.cp->files->fd[i] = copy_fd(f);
fd130kernel/fork.cif ((f = p->files->fd[i]) != NULL)
fd10lib/close.c_syscall1(int,close,int,fd)
fd10lib/dup.c_syscall1(int,dup,int,fd)
fd11lib/write.c_syscall3(int,write,int,fd,const char *,buf,off_t,count)
fd160net/socket.cint fd;
fd171net/socket.cfor (fd = 0; fd < NR_OPEN; ++fd)
fd172net/socket.cif (!current->files->fd[fd]) 
fd174net/socket.cif (fd == NR_OPEN) 
fd180net/socket.cFD_CLR(fd, &current->files->close_on_exec);
fd181net/socket.ccurrent->files->fd[fd] = file;
fd190net/socket.creturn(fd);
fd209net/socket.cstatic inline struct socket *sockfd_lookup(int fd, struct file **pfile)
fd214net/socket.cif (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) 
fd564net/socket.cint i, fd;
fd615net/socket.cif ((fd = get_fd(SOCK_INODE(sock))) < 0) 
fd621net/socket.creturn(fd);
fd693net/socket.casmlinkage int sys_bind(int fd, struct sockaddr *umyaddr, int addrlen)
fd700net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
fd703net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd723net/socket.casmlinkage int sys_listen(int fd, int backlog)
fd727net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
fd729net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd752net/socket.casmlinkage int sys_accept(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen)
fd760net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd762net/socket.cif (!(sock = sockfd_lookup(fd, &file))) 
fd794net/socket.cif ((fd = get_fd(SOCK_INODE(newsock))) < 0) 
fd805net/socket.creturn(fd);
fd814net/socket.casmlinkage int sys_connect(int fd, struct sockaddr *uservaddr, int addrlen)
fd822net/socket.cif (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL)
fd824net/socket.cif (!(sock = sockfd_lookup(fd, &file)))
fd865net/socket.casmlinkage int sys_getsockname(int fd, struct sockaddr *usockaddr, int *usockaddr_len)
fd872net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
fd874net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd890net/socket.casmlinkage int sys_getpeername(int fd, struct sockaddr *usockaddr, int *usockaddr_len)
fd897net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
fd899net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd915net/socket.casmlinkage int sys_send(int fd, void * buff, int len, unsigned flags)
fd921net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd923net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd940net/socket.casmlinkage int sys_sendto(int fd, void * buff, int len, unsigned flags,
fd948net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd950net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd975net/socket.casmlinkage int sys_recv(int fd, void * buff, int len, unsigned flags)
fd981net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd984net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd1004net/socket.casmlinkage int sys_recvfrom(int fd, void * buff, int len, unsigned flags,
fd1012net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd1014net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd1041net/socket.casmlinkage int sys_setsockopt(int fd, int level, int optname, char *optval, int optlen)
fd1046net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd1048net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd1059net/socket.casmlinkage int sys_getsockopt(int fd, int level, int optname, char *optval, int *optlen)
fd1064net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd1066net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd1079net/socket.casmlinkage int sys_shutdown(int fd, int how)
fd1084net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd1086net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))