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]))
fd1601drivers/char/tty_io.cfilp = (*p)->files->fd[i];
fd1078drivers/net/wavelan.cfd_t    fd;
fd1097drivers/net/wavelan.cfd.fd_status = 0;
fd1098drivers/net/wavelan.cfd.fd_command = (i == NRXBLOCKS - 1) ? FD_COMMAND_EL : 0;
fd1099drivers/net/wavelan.cfd.fd_link_offset = rx_next;
fd1100drivers/net/wavelan.cfd.fd_rbd_offset = rx + sizeof(fd);
fd1101drivers/net/wavelan.cobram_write(ioaddr, rx, (unsigned char *)&fd, sizeof(fd));
fd1105drivers/net/wavelan.crbd.rbd_bufl = rx + sizeof(fd) + sizeof(rbd);
fd1108drivers/net/wavelan.cobram_write(ioaddr, rx + sizeof(fd), (unsigned char *)&rbd, sizeof(rbd));
fd1498drivers/net/wavelan.cfd_t    fd;
fd1504drivers/net/wavelan.cobram_read(ioaddr, lp->rx_head, (unsigned char *)&fd, sizeof(fd));
fd1506drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_C) != FD_STATUS_C)
fd1513drivers/net/wavelan.c(fd.fd_status & (FD_STATUS_B | FD_STATUS_OK))
fd1525drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_OK) != FD_STATUS_OK)
fd1529drivers/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)
fd1533drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S6) != 0)
fd1536drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S7) != 0)
fd1542drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S8) != 0)
fd1548drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S9) != 0)
fd1554drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S10) != 0)
fd1560drivers/net/wavelan.cif ((fd.fd_status & FD_STATUS_S11) != 0)
fd1567drivers/net/wavelan.cif (fd.fd_rbd_offset == I82586NULL)
fd1571drivers/net/wavelan.cobram_read(ioaddr, fd.fd_rbd_offset, (unsigned char *)&rbd, sizeof(rbd));
fd1617drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", fd.fd_dest[i]);
fd1622drivers/net/wavelan.cprintk("%s%02x", (i == 0) ? "" : ":", fd.fd_src[i]);
fd1624drivers/net/wavelan.cprintk("%s: fd_length=%d\n", dev->name, fd.fd_length);
fd1690drivers/net/wavelan.cfd.fd_status = 0;
fd1691drivers/net/wavelan.cobram_write(ioaddr, fdoff(lp->rx_head, fd_status), (unsigned char *)&fd.fd_status, sizeof(fd.fd_status));
fd1693drivers/net/wavelan.cfd.fd_command = FD_COMMAND_EL;
fd1694drivers/net/wavelan.cobram_write(ioaddr, fdoff(lp->rx_head, fd_command), (unsigned char *)&fd.fd_command, sizeof(fd.fd_command));
fd1696drivers/net/wavelan.cfd.fd_command = 0;
fd1697drivers/net/wavelan.cobram_write(ioaddr, fdoff(lp->rx_last, fd_command), (unsigned char *)&fd.fd_command, sizeof(fd.fd_command));
fd1700drivers/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);
fd220fs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
fd418fs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
fd701fs/binfmt_elf.cload_elf_library(int fd){
fd715fs/binfmt_elf.cfile = current->files->fd[fd];
fd721fs/binfmt_elf.cSYS(close)(fd);
fd781fs/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;
fd277fs/exec.cint fd, retval;
fd281fs/exec.cfd = sys_open(library, 0, 0);
fd282fs/exec.cif (fd < 0)
fd283fs/exec.creturn fd;
fd284fs/exec.cfile = current->files->fd[fd];
fd291fs/exec.cretval = fn(fd);
fd296fs/exec.csys_close(fd);
fd811fs/exec.cint fd;
fd863fs/exec.cfd = open_inode(bprm->inode, O_RDONLY);
fd865fs/exec.cif (fd < 0)
fd866fs/exec.creturn fd;
fd867fs/exec.cfile = current->files->fd[fd];
fd869fs/exec.csys_close(fd);
fd884fs/exec.csys_close(fd);
fd893fs/exec.csys_close(fd);
fd932fs/exec.cstatic int load_aout_library(int fd)
fd942fs/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])) {
fd45fs/open.casmlinkage int sys_fstatfs(unsigned int fd, struct statfs * buf)
fd54fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd106fs/open.casmlinkage int sys_ftruncate(unsigned int fd, unsigned int length)
fd112fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd270fs/open.casmlinkage int sys_fchdir(unsigned int fd)
fd276fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd311fs/open.casmlinkage int sys_fchmod(unsigned int fd, mode_t mode)
fd317fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd362fs/open.casmlinkage int sys_fchown(unsigned int fd, uid_t user, gid_t group)
fd368fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
fd467fs/open.cint flag,error,fd;
fd505fs/open.cfor(fd = 0; fd < NR_OPEN && fd < current->rlim[RLIMIT_NOFILE].rlim_cur; fd++) {
fd506fs/open.cif (!current->files->fd[fd]) {
fd507fs/open.ccurrent->files->fd[fd] = f;
fd508fs/open.cFD_CLR(fd,&current->files->close_on_exec);
fd509fs/open.creturn fd;
fd567fs/open.casmlinkage int sys_close(unsigned int fd)
fd571fs/open.cif (fd >= NR_OPEN)
fd573fs/open.cFD_CLR(fd, &current->files->close_on_exec);
fd574fs/open.cif (!(filp = current->files->fd[fd]))
fd576fs/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)
fd268fs/proc/inode.cif (ino >= NR_OPEN || !p->files->fd[ino])
fd273fs/proc/inode.cif (p->files->fd[ino]->f_mode & 1)
fd275fs/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])) {
fd185fs/smbfs/inode.cunsigned int fd;
fd195fs/smbfs/inode.cfd = data->fd;
fd201fs/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;
fd209include/asm-alpha/unistd.hstatic inline int dup(int fd)
fd211include/asm-alpha/unistd.hreturn sys_dup(fd);
fd214include/asm-alpha/unistd.hstatic inline int close(int fd)
fd216include/asm-alpha/unistd.hreturn sys_close(fd);
fd228include/asm-alpha/unistd.hstatic inline int write(int fd, const char * buf, int nr)
fd230include/asm-alpha/unistd.hreturn sys_write(fd, buf, nr);
fd234include/asm-alpha/unistd.hstatic inline int read(int fd, char * buf, int nr)
fd236include/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)), \
fd259include/asm-i386/unistd.hstatic inline _syscall3(int,write,int,fd,const char *,buf,off_t,count)
fd260include/asm-i386/unistd.hstatic inline _syscall1(int,dup,int,fd)
fd263include/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 */
fd102include/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)
fd367kernel/exit.cstruct file * filp = files->fd[i];
fd370kernel/exit.cfiles->fd[i] = NULL;
fd155kernel/fork.cstruct file * f = current->files->fd[i];
fd158kernel/fork.ctsk->files->fd[i] = f;
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)
fd161net/socket.cint fd;
fd172net/socket.cfor (fd = 0; fd < NR_OPEN; ++fd)
fd173net/socket.cif (!current->files->fd[fd]) 
fd175net/socket.cif (fd == NR_OPEN) 
fd181net/socket.cFD_CLR(fd, &current->files->close_on_exec);
fd182net/socket.ccurrent->files->fd[fd] = file;
fd191net/socket.creturn(fd);
fd211net/socket.cextern __inline struct socket *sockfd_lookup(int fd, struct file **pfile)
fd216net/socket.cif (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) 
fd489net/socket.cint i, fd;
fd540net/socket.cif ((fd = get_fd(SOCK_INODE(sock))) < 0) 
fd546net/socket.creturn(fd);
fd618net/socket.casmlinkage int sys_bind(int fd, struct sockaddr *umyaddr, int addrlen)
fd625net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
fd628net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd648net/socket.casmlinkage int sys_listen(int fd, int backlog)
fd652net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
fd654net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd677net/socket.casmlinkage int sys_accept(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen)
fd685net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd687net/socket.cif (!(sock = sockfd_lookup(fd, &file))) 
fd719net/socket.cif ((fd = get_fd(SOCK_INODE(newsock))) < 0) 
fd730net/socket.creturn(fd);
fd739net/socket.casmlinkage int sys_connect(int fd, struct sockaddr *uservaddr, int addrlen)
fd747net/socket.cif (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL)
fd749net/socket.cif (!(sock = sockfd_lookup(fd, &file)))
fd790net/socket.casmlinkage int sys_getsockname(int fd, struct sockaddr *usockaddr, int *usockaddr_len)
fd797net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
fd799net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd815net/socket.casmlinkage int sys_getpeername(int fd, struct sockaddr *usockaddr, int *usockaddr_len)
fd822net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
fd824net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd840net/socket.casmlinkage int sys_send(int fd, void * buff, int len, unsigned flags)
fd846net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd848net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd865net/socket.casmlinkage int sys_sendto(int fd, void * buff, int len, unsigned flags,
fd873net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd875net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd900net/socket.casmlinkage int sys_recv(int fd, void * buff, int len, unsigned flags)
fd906net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd909net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd929net/socket.casmlinkage int sys_recvfrom(int fd, void * buff, int len, unsigned flags,
fd937net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd939net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd966net/socket.casmlinkage int sys_setsockopt(int fd, int level, int optname, char *optval, int optlen)
fd971net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd973net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd984net/socket.casmlinkage int sys_getsockopt(int fd, int level, int optname, char *optval, int *optlen)
fd989net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd991net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd1004net/socket.casmlinkage int sys_shutdown(int fd, int how)
fd1009net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd1011net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
fd1021net/socket.casmlinkage int sys_sendmsg(int fd, struct msghdr *msg, unsigned int flags)
fd1031net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd1033net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
fd1056net/socket.casmlinkage int sys_recvmsg(int fd, struct msghdr *msg, unsigned int flags)
fd1068net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
fd1070net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))