taglinefilesource code
file119drivers/block/cdu31a.cstatic int scd_open(struct inode *inode, struct file *filp);
file1401drivers/block/cdu31a.cstruct file  *file,
file1718drivers/block/cdu31a.cstruct file *filp)
file1796drivers/block/cdu31a.cstruct file *filp)
file1105drivers/block/floppy.cstatic int fd_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
file1271drivers/block/floppy.cstatic int floppy_open(struct inode * inode, struct file * filp)
file1291drivers/block/floppy.cstatic void floppy_release(struct inode * inode, struct file * filp)
file519drivers/block/hd.cstatic int hd_ioctl(struct inode * inode, struct file * file,
file574drivers/block/hd.cstatic int hd_open(struct inode * inode, struct file * filp)
file589drivers/block/hd.cstatic void hd_release(struct inode * inode, struct file * file)
file186drivers/block/mcd.cmcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd,
file756drivers/block/mcd.cmcd_open(struct inode *ip, struct file *fp)
file785drivers/block/mcd.cmcd_release(struct inode * inode, struct file * file)
file2223drivers/block/sbpcd.cstatic int sbpcd_ioctl(struct inode *inode,struct file *file,
file3067drivers/block/sbpcd.cint sbpcd_open(struct inode *ip, struct file *fp)
file3116drivers/block/sbpcd.cstatic void sbpcd_release(struct inode * ip, struct file * file)
file191drivers/block/xd.cstatic int xd_open (struct inode *inode,struct file *file)
file236drivers/block/xd.cstatic int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg)
file285drivers/block/xd.cstatic void xd_release (struct inode *inode, struct file *file)
file87drivers/char/atixlmouse.cstatic void release_mouse(struct inode * inode, struct file * file)
file96drivers/char/atixlmouse.cstatic int open_mouse(struct inode * inode, struct file * file)
file116drivers/char/atixlmouse.cstatic int write_mouse(struct inode * inode, struct file * file, char * buffer, int count)
file121drivers/char/atixlmouse.cstatic int read_mouse(struct inode * inode, struct file * file, char * buffer, int count)
file152drivers/char/atixlmouse.cstatic int mouse_select(struct inode *inode, struct file *file, int sel_type, select_table * wait)
file92drivers/char/busmouse.cstatic void close_mouse(struct inode * inode, struct file * file)
file105drivers/char/busmouse.cstatic int open_mouse(struct inode * inode, struct file * file)
file126drivers/char/busmouse.cstatic int write_mouse(struct inode * inode, struct file * file, char * buffer, int count)
file135drivers/char/busmouse.cstatic int read_mouse(struct inode * inode, struct file * file, char * buffer, int count)
file188drivers/char/busmouse.cstatic int mouse_select(struct inode *inode, struct file *file, int sel_type, select_table * wait)
file1691drivers/char/console.cint con_open(struct tty_struct *tty, struct file * filp)
file124drivers/char/lp.cstatic int lp_write_interrupt(struct inode * inode, struct file * file, char * buf, int count)
file192drivers/char/lp.cstatic int lp_write_polled(struct inode * inode, struct file * file,
file266drivers/char/lp.cstatic int lp_write(struct inode * inode, struct file * file, char * buf, int count)
file269drivers/char/lp.creturn lp_write_interrupt(inode, file, buf, count);
file271drivers/char/lp.creturn lp_write_polled(inode, file, buf, count);
file274drivers/char/lp.cstatic int lp_lseek(struct inode * inode, struct file * file,
file280drivers/char/lp.cstatic int lp_open(struct inode * inode, struct file * file)
file317drivers/char/lp.cstatic void lp_release(struct inode * inode, struct file * file)
file332drivers/char/lp.cstatic int lp_ioctl(struct inode *inode, struct file *file,
file26drivers/char/mem.cstatic int read_ram(struct inode * inode, struct file * file,char * buf, int count)
file31drivers/char/mem.cstatic int write_ram(struct inode * inode, struct file * file,char * buf, int count)
file36drivers/char/mem.cstatic int read_mem(struct inode * inode, struct file * file,char * buf, int count)
file38drivers/char/mem.cunsigned long p = file->f_pos;
file57drivers/char/mem.cfile->f_pos += read;
file61drivers/char/mem.cstatic int write_mem(struct inode * inode, struct file * file,char * buf, int count)
file63drivers/char/mem.cunsigned long p = file->f_pos;
file82drivers/char/mem.cfile->f_pos += written;
file86drivers/char/mem.cstatic int mmap_mem(struct inode * inode, struct file * file,
file117drivers/char/mem.cstatic int read_kmem(struct inode *inode, struct file *file, char *buf, int count)
file121drivers/char/mem.cread1 = read_mem(inode, file, buf, count);
file124drivers/char/mem.cread2 = vread(buf + read1, (char *) file->f_pos, count - read1);
file127drivers/char/mem.cfile->f_pos += read2;
file131drivers/char/mem.cstatic int read_port(struct inode * inode,struct file * file,char * buf, int count)
file133drivers/char/mem.cunsigned int i = file->f_pos;
file141drivers/char/mem.cfile->f_pos = i;
file145drivers/char/mem.cstatic int write_port(struct inode * inode,struct file * file,char * buf, int count)
file147drivers/char/mem.cunsigned int i = file->f_pos;
file155drivers/char/mem.cfile->f_pos = i;
file159drivers/char/mem.cstatic int read_null(struct inode * node,struct file * file,char * buf,int count)
file164drivers/char/mem.cstatic int write_null(struct inode * inode,struct file * file,char * buf, int count)
file169drivers/char/mem.cstatic int read_zero(struct inode * node,struct file * file,char * buf,int count)
file180drivers/char/mem.cstatic int mmap_zero(struct inode * inode, struct file * file,
file211drivers/char/mem.cstatic int read_full(struct inode * node,struct file * file,char * buf,int count)
file216drivers/char/mem.cstatic int write_full(struct inode * inode,struct file * file,char * buf, int count)
file226drivers/char/mem.cstatic int null_lseek(struct inode * inode, struct file * file, off_t offset, int orig)
file228drivers/char/mem.creturn file->f_pos=0;
file238drivers/char/mem.cstatic int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig)
file242drivers/char/mem.cfile->f_pos = offset;
file243drivers/char/mem.creturn file->f_pos;
file245drivers/char/mem.cfile->f_pos += offset;
file246drivers/char/mem.creturn file->f_pos;
file250drivers/char/mem.cif (file->f_pos < 0)
file252drivers/char/mem.creturn file->f_pos;
file349drivers/char/mem.cstatic int memory_open(struct inode * inode, struct file * filp)
file38drivers/char/mouse.cstatic int mouse_open(struct inode * inode, struct file * file)
file45drivers/char/mouse.cfile->f_op = &bus_mouse_fops;
file50drivers/char/mouse.cfile->f_op = &psaux_fops;
file55drivers/char/mouse.cfile->f_op = &ms_bus_mouse_fops;
file60drivers/char/mouse.cfile->f_op = &atixl_busmouse_fops;
file66drivers/char/mouse.creturn file->f_op->open(inode,file);
file73drivers/char/msbusmouse.cstatic void release_mouse(struct inode * inode, struct file * file)
file80drivers/char/msbusmouse.cstatic int open_mouse(struct inode * inode, struct file * file)
file99drivers/char/msbusmouse.cstatic int write_mouse(struct inode * inode, struct file * file, char * buffer, int count)
file104drivers/char/msbusmouse.cstatic int read_mouse(struct inode * inode, struct file * file, char * buffer, int count)
file125drivers/char/msbusmouse.cstatic int mouse_select(struct inode *inode, struct file *file, int sel_type, select_table * wait)
file732drivers/char/n_tty.cstatic int read_chan(struct tty_struct *tty, struct file *file,
file751drivers/char/n_tty.cif (file->f_inode->i_rdev != CONSOLE_DEV &&
file811drivers/char/n_tty.cif (tty_hung_up_p(file))
file815drivers/char/n_tty.cif (file->f_flags & O_NONBLOCK) {
file901drivers/char/n_tty.cstatic int write_chan(struct tty_struct * tty, struct file * file,
file910drivers/char/n_tty.cif (L_TOSTOP(tty) && file->f_inode->i_rdev != CONSOLE_DEV) {
file923drivers/char/n_tty.cif (tty_hung_up_p(file) || (tty->link && !tty->link->count)) {
file943drivers/char/n_tty.cif (file->f_flags & O_NONBLOCK) {
file955drivers/char/n_tty.cstruct file * file, int sel_type, select_table *wait)
file968drivers/char/n_tty.cif (tty_hung_up_p(file))
file233drivers/char/psaux.cstatic void release_aux(struct inode * inode, struct file * file)
file245drivers/char/psaux.cstatic void release_qp(struct inode * inode, struct file * file)
file265drivers/char/psaux.cstatic int open_aux(struct inode * inode, struct file * file)
file295drivers/char/psaux.cstatic int open_qp(struct inode * inode, struct file * file)
file335drivers/char/psaux.cstatic int write_aux(struct inode * inode, struct file * file, char * buffer, int count)
file357drivers/char/psaux.cstatic int write_qp(struct inode * inode, struct file * file, char * buffer, int count)
file376drivers/char/psaux.cstatic int read_aux(struct inode * inode, struct file * file, char * buffer, int count)
file383drivers/char/psaux.cif (file->f_flags & O_NONBLOCK)
file411drivers/char/psaux.cstatic int aux_select(struct inode *inode, struct file *file, int sel_type, select_table * wait)
file63drivers/char/pty.cstatic void pty_close(struct tty_struct * tty, struct file * filp)
file158drivers/char/pty.cint pty_open(struct tty_struct *tty, struct file * filp)
file1617drivers/char/serial.cstatic int rs_ioctl(struct tty_struct *tty, struct file * file,
file1740drivers/char/serial.cstatic void rs_close(struct tty_struct *tty, struct file * filp)
file1841drivers/char/serial.cstatic int block_til_ready(struct tty_struct *tty, struct file * filp,
file1965drivers/char/serial.cint rs_open(struct tty_struct *tty, struct file * filp)
file1772drivers/char/tpqic02.cstatic int tape_qic02_lseek(struct inode * inode, struct file * file, off_t offset, int origin)
file1810drivers/char/tpqic02.cstatic int tape_qic02_read(struct inode * inode, struct file * filp, char * buf, int count)
file1980drivers/char/tpqic02.cstatic int tape_qic02_write(struct inode * inode, struct file * filp, char * buf, int count)
file2127drivers/char/tpqic02.cstatic int tape_qic02_open(struct inode * inode, struct file * filp)
file2284drivers/char/tpqic02.cstatic int tape_qic02_readdir(struct inode * inode, struct file * filp, struct dirent * dp, int count)
file2290drivers/char/tpqic02.cstatic void tape_qic02_release(struct inode * inode, struct file * filp)
file2324drivers/char/tpqic02.cstatic int tape_qic02_ioctl(struct inode * inode, struct file * filp, 
file89drivers/char/tty_io.cstatic int tty_read(struct inode *, struct file *, char *, int);
file90drivers/char/tty_io.cstatic int tty_write(struct inode *, struct file *, char *, int);
file91drivers/char/tty_io.cstatic int tty_select(struct inode *, struct file *, int, select_table *);
file92drivers/char/tty_io.cstatic int tty_open(struct inode *, struct file *);
file93drivers/char/tty_io.cstatic void tty_release(struct inode *, struct file *);
file94drivers/char/tty_io.cstatic int tty_ioctl(struct inode * inode, struct file * file,
file96drivers/char/tty_io.cstatic int tty_fasync(struct inode * inode, struct file * filp, int on);
file251drivers/char/tty_io.cstatic int hung_up_tty_read(struct inode * inode, struct file * file, char * buf, int count)
file256drivers/char/tty_io.cstatic int hung_up_tty_write(struct inode * inode, struct file * file, char * buf, int count)
file261drivers/char/tty_io.cstatic int hung_up_tty_select(struct inode * inode, struct file * filp, int sel_type, select_table * wait)
file266drivers/char/tty_io.cstatic int hung_up_tty_ioctl(struct inode * inode, struct file * file,
file272drivers/char/tty_io.cstatic int tty_lseek(struct inode * inode, struct file * file, off_t offset, int orig)
file308drivers/char/tty_io.cstruct file * filp;
file384drivers/char/tty_io.cint tty_hung_up_p(struct file * filp)
file632drivers/char/tty_io.cstatic int tty_read(struct inode * inode, struct file * file, char * buf, int count)
file637drivers/char/tty_io.ctty = file->private_data;
file661drivers/char/tty_io.ci = (tty->ldisc.read)(tty,file,(unsigned char *)buf,(unsigned int)count);
file669drivers/char/tty_io.cstatic int tty_write(struct inode * inode, struct file * file, char * buf, int count)
file679drivers/char/tty_io.ctty = file->private_data;
file697drivers/char/tty_io.ci = (tty->ldisc.write)(tty,file,(unsigned char *)buf,(unsigned int)count);
file875drivers/char/tty_io.cstatic void release_dev(struct file * filp)
file1052drivers/char/tty_io.cstatic int tty_open(struct inode * inode, struct file * filp)
file1124drivers/char/tty_io.cstatic void tty_release(struct inode * inode, struct file * filp)
file1129drivers/char/tty_io.cstatic int tty_select(struct inode * inode, struct file * filp, int sel_type, select_table * wait)
file1142drivers/char/tty_io.cstatic int tty_fasync(struct inode * inode, struct file * filp, int on)
file1214drivers/char/tty_io.cstatic int tty_ioctl(struct inode * inode, struct file * file,
file1225drivers/char/tty_io.ctty = file->private_data;
file1278drivers/char/tty_io.cfile->f_flags |= O_NONBLOCK;
file1280drivers/char/tty_io.cfile->f_flags &= ~O_NONBLOCK;
file1389drivers/char/tty_io.cretval = (tty->driver.ioctl)(tty, file,
file1395drivers/char/tty_io.cretval = (tty->ldisc.ioctl)(tty, file,
file1425drivers/char/tty_io.cstruct file  *filp;
file200drivers/char/tty_ioctl.cint n_tty_ioctl(struct tty_struct * tty, struct file * file,
file363drivers/char/tty_ioctl.ctty->driver.ioctl(tty, file, cmd, arg);
file118drivers/char/vt.cint vt_ioctl(struct tty_struct *tty, struct file * file,
file137drivers/net/ppp.cstatic int ppp_read(struct tty_struct *, struct file *, unsigned char *,
file139drivers/net/ppp.cstatic int ppp_write(struct tty_struct *, struct file *, unsigned char *,
file141drivers/net/ppp.cstatic int ppp_ioctl(struct tty_struct *, struct file *, unsigned int,
file144drivers/net/ppp.cstruct file * filp, int sel_type, select_table * wait);
file1209drivers/net/ppp.cppp_read(struct tty_struct *tty, struct file *file, unsigned char *buf, unsigned int nr)
file1310drivers/net/ppp.cppp_write(struct tty_struct *tty, struct file *file, unsigned char *buf, unsigned int nr)
file1385drivers/net/ppp.cppp_ioctl(struct tty_struct *tty, struct file *file, unsigned int i,
file1585drivers/net/ppp.cerror = n_tty_ioctl(tty, file, i, l);
file1609drivers/net/ppp.cstruct file * filp, int sel_type, select_table * wait)
file939drivers/net/slip.cslip_ioctl(struct tty_struct *tty, void *file, int cmd, void *arg)
file986drivers/net/slip.creturn n_tty_ioctl(tty, file, cmd, (unsigned long) arg);
file1024drivers/net/slip.csl_ldisc.ioctl  = (int (*)(struct tty_struct *, struct file *,
file55drivers/scsi/sd.cextern int sd_ioctl(struct inode *, struct file *, unsigned int, unsigned long);
file61drivers/scsi/sd.cstatic int sd_open(struct inode * inode, struct file * filp)
file84drivers/scsi/sd.cstatic void sd_release(struct inode * inode, struct file * file)
file17drivers/scsi/sd_ioctl.cint sd_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg)
file54drivers/scsi/sg.cstatic int sg_ioctl(struct inode * inode,struct file * file,
file72drivers/scsi/sg.cstatic int sg_open(struct inode * inode, struct file * filp)
file112drivers/scsi/sg.cstatic void sg_close(struct inode * inode, struct file * filp)
file153drivers/scsi/sg.cstatic int sg_read(struct inode *inode,struct file *filp,char *buf,int count)
file210drivers/scsi/sg.cstatic int sg_write(struct inode *inode,struct file *filp,char *buf,int count)
file42drivers/scsi/sr.cstatic int sr_open(struct inode *, struct file *);
file45drivers/scsi/sr.cextern int sr_ioctl(struct inode *, struct file *, unsigned int, unsigned long);
file49drivers/scsi/sr.cstatic void sr_release(struct inode * inode, struct file * file)
file261drivers/scsi/sr.cstatic int sr_open(struct inode * inode, struct file * filp)
file93drivers/scsi/sr_ioctl.cint sr_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg)
file87drivers/scsi/st.cstatic int st_int_ioctl(struct inode * inode,struct file * file,
file325drivers/scsi/st.cflush_buffer(struct inode * inode, struct file * filp, int seek_next)
file367drivers/scsi/st.cscsi_tape_open(struct inode * inode, struct file * filp)
file568drivers/scsi/st.cscsi_tape_close(struct inode * inode, struct file * filp)
file641drivers/scsi/st.cst_write(struct inode * inode, struct file * filp, char * buf, int count)
file868drivers/scsi/st.cst_read(struct inode * inode, struct file * filp, char * buf, int count)
file1132drivers/scsi/st.cst_int_ioctl(struct inode * inode,struct file * file,
file1280drivers/scsi/st.cioctl_result = st_int_ioctl(inode, file, MTFSF, 0x3fff);
file1403drivers/scsi/st.cioctl_result = st_int_ioctl(inode, file, MTFSF, 1);
file1405drivers/scsi/st.cioctl_result = st_int_ioctl(inode, file, MTBSF, 1);
file1469drivers/scsi/st.cst_ioctl(struct inode * inode,struct file * file,
file1501drivers/scsi/st.ci = flush_buffer(inode, file, mtc.mt_op == MTSEEK ||
file1511drivers/scsi/st.creturn st_int_ioctl(inode, file, mtc.mt_op, mtc.mt_count);
file1548drivers/scsi/st.ci = flush_buffer(inode, file, 0);
file54drivers/sound/audio.caudio_open (int dev, struct fileinfo *file)
file59drivers/sound/audio.cint             mode = file->mode & O_ACCMODE;
file73drivers/sound/audio.caudio_release (dev, file);
file84drivers/sound/audio.caudio_release (int dev, struct fileinfo *file)
file89drivers/sound/audio.cmode = file->mode & O_ACCMODE;
file127drivers/sound/audio.caudio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file207drivers/sound/audio.caudio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file262drivers/sound/audio.caudio_ioctl (int dev, struct fileinfo *file,
file314drivers/sound/audio.caudio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file320drivers/sound/audio.caudio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file326drivers/sound/audio.caudio_open (int dev, struct fileinfo *file)
file332drivers/sound/audio.caudio_release (int dev, struct fileinfo *file)
file336drivers/sound/audio.caudio_ioctl (int dev, struct fileinfo *file,
file343drivers/sound/audio.caudio_lseek (int dev, struct fileinfo *file, off_t offset, int orig)
file44drivers/sound/midibuf.cMIDIbuf_open (int dev, struct fileinfo *file)
file49drivers/sound/midibuf.cmode = file->mode & O_ACCMODE;
file69drivers/sound/midibuf.cMIDIbuf_release (int dev, struct fileinfo *file)
file74drivers/sound/midibuf.cmode = file->mode & O_ACCMODE;
file81drivers/sound/midibuf.cMIDIbuf_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file91drivers/sound/midibuf.cMIDIbuf_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file99drivers/sound/midibuf.cMIDIbuf_ioctl (int dev, struct fileinfo *file,
file84drivers/sound/patmgr.cpmgr_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file122drivers/sound/patmgr.cpmgr_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file77drivers/sound/sequencer.csequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file85drivers/sound/sequencer.creturn pmgr_read (dev - 1, file, buf, count);
file168drivers/sound/sequencer.csequencer_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file173drivers/sound/sequencer.cint             mode = file->mode & O_ACCMODE;
file183drivers/sound/sequencer.creturn pmgr_write (dev - 1, file, buf, count);
file242drivers/sound/sequencer.cmode = file->mode & O_ACCMODE;
file481drivers/sound/sequencer.csequencer_open (int dev, struct fileinfo *file)
file486drivers/sound/sequencer.cmode = file->mode & O_ACCMODE;
file596drivers/sound/sequencer.csequencer_release (int dev, struct fileinfo *file)
file599drivers/sound/sequencer.cint             mode = file->mode & O_ACCMODE;
file725drivers/sound/sequencer.csequencer_ioctl (int dev, struct fileinfo *file,
file729drivers/sound/sequencer.cint             mode = file->mode & O_ACCMODE;
file767drivers/sound/sequencer.cmode = file->mode & O_ACCMODE;
file992drivers/sound/sequencer.csequencer_select (int dev, struct fileinfo *file, int sel_type, select_table * wait)
file1128drivers/sound/sequencer.csequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file1134drivers/sound/sequencer.csequencer_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file1140drivers/sound/sequencer.csequencer_open (int dev, struct fileinfo *file)
file1146drivers/sound/sequencer.csequencer_release (int dev, struct fileinfo *file)
file1150drivers/sound/sequencer.csequencer_ioctl (int dev, struct fileinfo *file,
file1157drivers/sound/sequencer.csequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig)
file1169drivers/sound/sequencer.csequencer_select (int dev, struct fileinfo *file, int sel_type, select_table * wait)
file25drivers/sound/sound_calls.hint audio_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
file26drivers/sound/sound_calls.hint audio_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
file27drivers/sound/sound_calls.hint audio_open (int dev, struct fileinfo *file);
file28drivers/sound/sound_calls.hvoid audio_release (int dev, struct fileinfo *file);
file29drivers/sound/sound_calls.hint audio_ioctl (int dev, struct fileinfo *file,
file31drivers/sound/sound_calls.hint audio_lseek (int dev, struct fileinfo *file, off_t offset, int orig);
file38drivers/sound/sound_calls.hint sequencer_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
file39drivers/sound/sound_calls.hint sequencer_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
file40drivers/sound/sound_calls.hint sequencer_open (int dev, struct fileinfo *file);
file41drivers/sound/sound_calls.hvoid sequencer_release (int dev, struct fileinfo *file);
file42drivers/sound/sound_calls.hint sequencer_ioctl (int dev, struct fileinfo *file,
file44drivers/sound/sound_calls.hint sequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig);
file51drivers/sound/sound_calls.hint sequencer_select(int dev, struct fileinfo *file, int sel_type, select_table * wait);
file58drivers/sound/sound_calls.hint MIDIbuf_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
file59drivers/sound/sound_calls.hint MIDIbuf_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
file60drivers/sound/sound_calls.hint MIDIbuf_open (int dev, struct fileinfo *file);
file61drivers/sound/sound_calls.hvoid MIDIbuf_release (int dev, struct fileinfo *file);
file62drivers/sound/sound_calls.hint MIDIbuf_ioctl (int dev, struct fileinfo *file,
file64drivers/sound/sound_calls.hint MIDIbuf_lseek (int dev, struct fileinfo *file, off_t offset, int orig);
file74drivers/sound/sound_calls.hint   CMIDI_open  (int dev, struct fileinfo *file);
file75drivers/sound/sound_calls.hint   CMIDI_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
file76drivers/sound/sound_calls.hint   CMIDI_read  (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
file77drivers/sound/sound_calls.hint   CMIDI_close (int dev, struct fileinfo *file); 
file104drivers/sound/sound_calls.hint sound_read_sw (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
file105drivers/sound/sound_calls.hint sound_write_sw (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
file106drivers/sound/sound_calls.hint sound_open_sw (int dev, struct fileinfo *file);
file107drivers/sound/sound_calls.hvoid sound_release_sw (int dev, struct fileinfo *file);
file108drivers/sound/sound_calls.hint sound_ioctl_sw (int dev, struct fileinfo *file,
file201drivers/sound/sound_calls.hint pmgr_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count);
file202drivers/sound/sound_calls.hint pmgr_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count);
file242drivers/sound/sound_switch.csound_read_sw (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file255drivers/sound/sound_switch.creturn audio_read (dev, file, buf, count);
file259drivers/sound/sound_switch.creturn sequencer_read (dev, file, buf, count);
file264drivers/sound/sound_switch.creturn MIDIbuf_read (dev, file, buf, count);
file275drivers/sound/sound_switch.csound_write_sw (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
file284drivers/sound/sound_switch.creturn sequencer_write (dev, file, buf, count);
file290drivers/sound/sound_switch.creturn audio_write (dev, file, buf, count);
file301drivers/sound/sound_switch.csound_open_sw (int dev, struct fileinfo *file)
file330drivers/sound/sound_switch.cif ((retval = sequencer_open (dev, file)) < 0)
file336drivers/sound/sound_switch.cif ((retval = MIDIbuf_open (dev, file)) < 0)
file344drivers/sound/sound_switch.cif ((retval = audio_open (dev, file)) < 0)
file360drivers/sound/sound_switch.csound_release_sw (int dev, struct fileinfo *file)
file378drivers/sound/sound_switch.csequencer_release (dev, file);
file383drivers/sound/sound_switch.cMIDIbuf_release (dev, file);
file390drivers/sound/sound_switch.caudio_release (dev, file);
file402drivers/sound/sound_switch.csound_ioctl_sw (int dev, struct fileinfo *file,
file422drivers/sound/sound_switch.creturn sequencer_ioctl (dev, file, cmd, arg);
file428drivers/sound/sound_switch.creturn audio_ioctl (dev, file, cmd, arg);
file433drivers/sound/sound_switch.creturn MIDIbuf_ioctl (dev, file, cmd, arg);
file61drivers/sound/soundcard.csound_read (struct inode *inode, struct file *file, char *buf, int count)
file72drivers/sound/soundcard.csound_write (struct inode *inode, struct file *file, char *buf, int count)
file83drivers/sound/soundcard.csound_lseek (struct inode *inode, struct file *file, off_t offset, int orig)
file89drivers/sound/soundcard.csound_open (struct inode *inode, struct file *file)
file104drivers/sound/soundcard.cif ((file->f_flags & O_ACCMODE) == O_RDWR)
file106drivers/sound/soundcard.cif ((file->f_flags & O_ACCMODE) == O_RDONLY)
file108drivers/sound/soundcard.cif ((file->f_flags & O_ACCMODE) == O_WRONLY)
file115drivers/sound/soundcard.csound_release (struct inode *inode, struct file *file)
file126drivers/sound/soundcard.csound_ioctl (struct inode *inode, struct file *file,
file138drivers/sound/soundcard.csound_select (struct inode *inode, struct file *file, int sel_type, select_table * wait)
file40fs/binfmt_coff.cstruct file *fp);
file126fs/binfmt_coff.cstruct file *fp     = NULL;  /* Pointer to the file at "fd"         */
file622fs/binfmt_coff.cCOFF_SCNHDR * sect, struct file *fp)
file753fs/binfmt_coff.cstruct file         *file;  /* Pointer to the file table           */
file759fs/binfmt_coff.cfile           = current->files->fd[fd];
file760fs/binfmt_coff.cbprm->inode    = file->f_inode;   /* The only item _really_ needed */
file122fs/binfmt_elf.cstruct file * file;
file164fs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
file169fs/binfmt_elf.cerror = do_mmap(file, 
file258fs/binfmt_elf.cstruct file * file;
file321fs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
file469fs/binfmt_elf.cerror = do_mmap(file,
file549fs/binfmt_elf.cstruct file * file;
file561fs/binfmt_elf.cfile = current->files->fd[fd];
file562fs/binfmt_elf.cinode = file->f_inode;
file566fs/binfmt_elf.cif (file->f_op->read(inode, file, (char *) &elf_ex, sizeof(elf_ex)) != sizeof(elf_ex)) {
file610fs/binfmt_elf.cerror = do_mmap(file,
file19fs/block_dev.cint block_write(struct inode * inode, struct file * filp, char * buf, int count)
file124fs/block_dev.cint block_read(struct inode * inode, struct file * filp, char * buf, int count)
file273fs/block_dev.cint block_fsync(struct inode *inode, struct file *filp)
file250fs/buffer.cint file_fsync (struct inode *inode, struct file *filp)
file257fs/buffer.cstruct file * file;
file260fs/buffer.cif (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode))
file262fs/buffer.cif (!file->f_op || !file->f_op->fsync)
file264fs/buffer.cif (file->f_op->fsync(inode,file))
file116fs/devices.cint blkdev_open(struct inode * inode, struct file * filp)
file167fs/devices.cint chrdev_open(struct inode * inode, struct file * filp)
file104fs/exec.cstruct file *f, **fpp;
file144fs/exec.cwhile (file.f_op->write(inode,&file,(char *)(addr),(nr)) != (nr)) goto close_coredump
file147fs/exec.cif (file.f_op->lseek) { \
file148fs/exec.cif (file.f_op->lseek(inode,&file,(offset),0) != (offset)) \
file150fs/exec.c} else file.f_pos = (offset)    
file164fs/exec.cstruct file file;
file195fs/exec.cfile.f_mode = 3;
file196fs/exec.cfile.f_flags = 0;
file197fs/exec.cfile.f_count = 1;
file198fs/exec.cfile.f_inode = inode;
file199fs/exec.cfile.f_pos = 0;
file200fs/exec.cfile.f_reada = 0;
file201fs/exec.cfile.f_op = inode->i_op->default_file_ops;
file202fs/exec.cif (file.f_op->open)
file203fs/exec.cif (file.f_op->open(inode,&file))
file205fs/exec.cif (!file.f_op->write)
file269fs/exec.cif (file.f_op->release)
file270fs/exec.cfile.f_op->release(inode,&file);
file286fs/exec.cstruct file * file;
file292fs/exec.cfile = current->files->fd[fd];
file294fs/exec.cif (file && file->f_inode && file->f_op && file->f_op->read) {
file468fs/exec.cstruct file file;
file473fs/exec.cfile.f_mode = 1;
file474fs/exec.cfile.f_flags = 0;
file475fs/exec.cfile.f_count = 1;
file476fs/exec.cfile.f_inode = inode;
file477fs/exec.cfile.f_pos = 0;
file478fs/exec.cfile.f_reada = 0;
file479fs/exec.cfile.f_op = inode->i_op->default_file_ops;
file480fs/exec.cif (file.f_op->open)
file481fs/exec.cif (file.f_op->open(inode,&file))
file483fs/exec.cif (!file.f_op || !file.f_op->read)
file485fs/exec.cif (file.f_op->lseek) {
file486fs/exec.cif (file.f_op->lseek(inode,&file,offset,0) != offset)
file489fs/exec.cfile.f_pos = offset;
file495fs/exec.cresult = file.f_op->read(inode, &file, addr, count);
file497fs/exec.cif (file.f_op->release)
file498fs/exec.cfile.f_op->release(inode,&file);
file786fs/exec.cstruct file * file;
file838fs/exec.cfile = current->files->fd[fd];
file839fs/exec.cif (!file->f_op || !file->f_op->mmap) {
file850fs/exec.cerror = do_mmap(file, N_TXTADDR(ex), ex.a_text,
file861fs/exec.cerror = do_mmap(file, N_TXTADDR(ex) + ex.a_text, ex.a_data,
file902fs/exec.cstruct file * file;
file910fs/exec.cfile = current->files->fd[fd];
file911fs/exec.cinode = file->f_inode;
file914fs/exec.cif (file->f_op->read(inode, file, (char *) &ex, sizeof(ex)) != sizeof(ex)) {
file939fs/exec.cerror = do_mmap(file, start_addr, ex.a_text + ex.a_data,
file23fs/ext/dir.cstatic int ext_dir_read(struct inode * inode, struct file * filp, char * buf, int count)
file28fs/ext/dir.cstatic int ext_readdir(struct inode *, struct file *, struct dirent *, int);
file64fs/ext/dir.cstatic int ext_readdir(struct inode * inode, struct file * filp,
file34fs/ext/file.cstatic int ext_file_read(struct inode *, struct file *, char *, int);
file35fs/ext/file.cstatic int ext_file_write(struct inode *, struct file *, char *, int);
file72fs/ext/file.cstatic int ext_file_read(struct inode * inode, struct file * filp, char * buf, int count)
file197fs/ext/file.cstatic int ext_file_write(struct inode * inode, struct file * filp, char * buf, int count)
file169fs/ext/fsync.cint ext_sync_file(struct inode * inode, struct file *file)
file249fs/ext/truncate.cvoid ext_release(struct inode * inode, struct file * filp)
file25fs/ext2/dir.cstatic int ext2_dir_read (struct inode * inode, struct file * filp,
file31fs/ext2/dir.cstatic int ext2_readdir (struct inode *, struct file *, struct dirent *, int);
file91fs/ext2/dir.cstatic int ext2_readdir (struct inode * inode, struct file * filp,
file36fs/ext2/file.cstatic int ext2_file_read (struct inode *, struct file *, char *, int);
file37fs/ext2/file.cstatic int ext2_file_write (struct inode *, struct file *, char *, int);
file38fs/ext2/file.cstatic void ext2_release_file (struct inode *, struct file *);
file75fs/ext2/file.cstatic int ext2_file_read (struct inode * inode, struct file * filp,
file226fs/ext2/file.cstatic int ext2_file_write (struct inode * inode, struct file * filp,
file301fs/ext2/file.cstatic void ext2_release_file (struct inode * inode, struct file * filp)
file169fs/ext2/fsync.cint ext2_sync_file (struct inode * inode, struct file * file)
file17fs/ext2/ioctl.cint ext2_ioctl (struct inode * inode, struct file * filp, unsigned int cmd,
file18fs/fcntl.cextern int sock_fcntl (struct file *, unsigned int cmd, unsigned long arg);
file68fs/fcntl.cstruct file * filp;
file12fs/fifo.cstatic int fifo_open(struct inode * inode,struct file * filp)
file11fs/file_table.cstruct file * first_file;
file14fs/file_table.cstatic void insert_file_free(struct file *file)
file16fs/file_table.cfile->f_next = first_file;
file17fs/file_table.cfile->f_prev = first_file->f_prev;
file18fs/file_table.cfile->f_next->f_prev = file;
file19fs/file_table.cfile->f_prev->f_next = file;
file20fs/file_table.cfirst_file = file;
file23fs/file_table.cstatic void remove_file_free(struct file *file)
file25fs/file_table.cif (first_file == file)
file27fs/file_table.cif (file->f_next)
file28fs/file_table.cfile->f_next->f_prev = file->f_prev;
file29fs/file_table.cif (file->f_prev)
file30fs/file_table.cfile->f_prev->f_next = file->f_next;
file31fs/file_table.cfile->f_next = file->f_prev = NULL;
file34fs/file_table.cstatic void put_last_free(struct file *file)
file36fs/file_table.cremove_file_free(file);
file37fs/file_table.cfile->f_prev = first_file->f_prev;
file38fs/file_table.cfile->f_prev->f_next = file;
file39fs/file_table.cfile->f_next = first_file;
file40fs/file_table.cfile->f_next->f_prev = file;
file45fs/file_table.cstruct file * file;
file48fs/file_table.cfile = (struct file *) get_free_page(GFP_KERNEL);
file50fs/file_table.cif (!file)
file53fs/file_table.cnr_files+=i= PAGE_SIZE/sizeof(struct file);
file56fs/file_table.cfile->f_next = file->f_prev = first_file = file++, i--;
file59fs/file_table.cinsert_file_free(file++);
file68fs/file_table.cstruct file * get_empty_filp(void)
file71fs/file_table.cstruct file * f;
file144fs/hpfs/hpfs_fs.cstatic int hpfs_file_read(struct inode *, struct file *, char *, int);
file183fs/hpfs/hpfs_fs.cstatic int hpfs_dir_read(struct inode *inode, struct file *filp,
file185fs/hpfs/hpfs_fs.cstatic int hpfs_readdir(struct inode *inode, struct file *filp,
file863fs/hpfs/hpfs_fs.cstatic int hpfs_file_read(struct inode *inode, struct file *filp,
file1329fs/hpfs/hpfs_fs.cstatic int hpfs_readdir(struct inode *inode, struct file *filp,
file1561fs/hpfs/hpfs_fs.cstatic int hpfs_dir_read(struct inode *inode, struct file *filp,
file198fs/inode.cstruct file * file;
file202fs/inode.cfor (file = first_file, i=0; i<nr_files; i++, file=file->f_next) {
file203fs/inode.cif (!file->f_count || !file->f_inode ||
file204fs/inode.cfile->f_inode->i_dev != dev)
file206fs/inode.cif (S_ISREG(file->f_inode->i_mode) && (file->f_mode & 2))
file16fs/ioctl.cstatic int file_ioctl(struct file *filp,unsigned int cmd,unsigned long arg)
file59fs/ioctl.cstruct file * filp;
file25fs/isofs/dir.cstatic int isofs_readdir(struct inode *, struct file *, struct dirent *, int);
file66fs/isofs/dir.cstatic int isofs_readdir(struct inode * inode, struct file * filp,
file32fs/isofs/file.cstatic int isofs_file_read(struct inode *, struct file *, char *, int);
file114fs/isofs/file.cstatic int isofs_file_read(struct inode * inode, struct file * filp, char * buf, int count)
file25fs/locks.cstatic int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l,
file29fs/locks.cstatic int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd);
file58fs/locks.cstruct file *filp;
file97fs/locks.cstruct file *filp;
file173fs/locks.cvoid fcntl_remove_locks(struct task_struct *task, struct file *filp,
file196fs/locks.cstatic int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l,
file272fs/locks.cstatic int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd)
file16fs/minix/dir.cstatic int minix_dir_read(struct inode * inode, struct file * filp, char * buf, int count)
file21fs/minix/dir.cstatic int minix_readdir(struct inode *, struct file *, struct dirent *, int);
file57fs/minix/dir.cstatic int minix_readdir(struct inode * inode, struct file * filp,
file28fs/minix/file.cstatic int minix_file_read(struct inode *, struct file *, char *, int);
file29fs/minix/file.cstatic int minix_file_write(struct inode *, struct file *, char *, int);
file66fs/minix/file.cstatic int minix_file_read(struct inode * inode, struct file * filp, char * buf, int count)
file189fs/minix/file.cstatic int minix_file_write(struct inode * inode, struct file * filp, char * buf, int count)
file143fs/minix/fsync.cint minix_sync_file(struct inode * inode, struct file * file)
file17fs/msdos/dir.cstatic int msdos_dir_read(struct inode * inode,struct file * filp, char * buf,int count)
file22fs/msdos/dir.cstatic int msdos_readdir(struct inode *inode,struct file *filp,
file57fs/msdos/dir.cstatic int msdos_readdir(struct inode *inode,struct file *filp,
file22fs/msdos/file.cstatic int msdos_file_read(struct inode *inode,struct file *filp,char *buf,
file24fs/msdos/file.cstatic int msdos_file_write(struct inode *inode,struct file *filp,char *buf,
file80fs/msdos/file.cstatic int msdos_file_read(struct inode *inode,struct file *filp,char *buf,
file135fs/msdos/file.cstatic int msdos_file_write(struct inode *inode,struct file *filp,char *buf,
file21fs/nfs/dir.cstatic int nfs_dir_read(struct inode *, struct file *filp, char *buf,
file23fs/nfs/dir.cstatic int nfs_readdir(struct inode *, struct file *, struct dirent *, int);
file72fs/nfs/dir.cstatic int nfs_dir_read(struct inode *inode, struct file *filp, char *buf,
file86fs/nfs/dir.cstatic int nfs_readdir(struct inode *inode, struct file *filp,
file272fs/nfs/dir.cstatic void nfs_lookup_cache_refresh(struct inode *file,
file276fs/nfs/dir.cint dev = file->i_dev;
file277fs/nfs/dir.cint fileid = file->i_ino;
file21fs/nfs/file.cstatic int nfs_file_read(struct inode *, struct file *, char *, int);
file22fs/nfs/file.cstatic int nfs_file_write(struct inode *, struct file *, char *, int);
file23fs/nfs/file.cstatic int nfs_fsync(struct inode *, struct file *);
file24fs/nfs/file.cextern int nfs_mmap(struct inode * inode, struct file * file,
file57fs/nfs/file.cstatic int nfs_fsync(struct inode *inode, struct file *file)
file62fs/nfs/file.cstatic int nfs_file_read(struct inode *inode, struct file *file, char *buf,
file82fs/nfs/file.cpos = file->f_pos;
file83fs/nfs/file.cif (file->f_pos + count > inode->i_size)
file107fs/nfs/file.cfile->f_pos = pos;
file113fs/nfs/file.cstatic int nfs_file_write(struct inode *inode, struct file *file, char *buf,
file135fs/nfs/file.cpos = file->f_pos;
file136fs/nfs/file.cif (file->f_flags & O_APPEND)
file158fs/nfs/file.cfile->f_pos = pos;
file21fs/nfs/inode.cextern int close_fp(struct file *filp, unsigned int fd);
file47fs/nfs/inode.cclose_fp(sb->u.nfs_sb.s_server.file, 0);
file67fs/nfs/inode.cstruct file *filp;
file98fs/nfs/inode.cserver->file = filp;
file51fs/nfs/mmap.cint nfs_mmap(struct inode * inode, struct file * file,
file36fs/nfs/sock.cstruct file *file;
file45fs/nfs/sock.cint (*select) (struct inode *, struct file *, int, select_table *);
file57fs/nfs/sock.cfile = server->file;
file58fs/nfs/sock.cinode = file->f_inode;
file59fs/nfs/sock.cselect = file->f_op->select;
file93fs/nfs/sock.cif (!select(inode, file, SEL_IN, &wait_table)
file94fs/nfs/sock.c&& !select(inode, file, SEL_IN, NULL)) {
file22fs/open.cextern void fcntl_remove_locks(struct task_struct *, struct file *, unsigned int fd);
file52fs/open.cstruct file * file;
file58fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
file60fs/open.cif (!(inode = file->f_inode))
file97fs/open.cstruct file * file;
file99fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
file101fs/open.cif (!(inode = file->f_inode))
file103fs/open.cif (S_ISDIR(inode->i_mode) || !(file->f_mode & 2))
file216fs/open.cstruct file * file;
file218fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
file220fs/open.cif (!(inode = file->f_inode))
file256fs/open.cstruct file * file;
file258fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
file260fs/open.cif (!(inode = file->f_inode))
file307fs/open.cstruct file * file;
file309fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
file311fs/open.cif (!(inode = file->f_inode))
file379fs/open.cstruct file * f;
file442fs/open.cint close_fp(struct file *filp, unsigned int fd)
file467fs/open.cstruct file * filp;
file24fs/pipe.cstatic int pipe_read(struct inode * inode, struct file * filp, char * buf, int count)
file71fs/pipe.cstatic int pipe_write(struct inode * inode, struct file * filp, char * buf, int count)
file118fs/pipe.cstatic int pipe_lseek(struct inode * inode, struct file * file, off_t offset, int orig)
file123fs/pipe.cstatic int pipe_readdir(struct inode * inode, struct file * file, struct dirent * de, int count)
file128fs/pipe.cstatic int bad_pipe_rw(struct inode * inode, struct file * filp, char * buf, int count)
file133fs/pipe.cstatic int pipe_ioctl(struct inode *pino, struct file * filp,
file149fs/pipe.cstatic int pipe_select(struct inode * inode, struct file * filp, int sel_type, select_table * wait)
file175fs/pipe.cstatic int fifo_select(struct inode * inode, struct file * filp, int sel_type, select_table * wait)
file202fs/pipe.cstatic int connect_read(struct inode * inode, struct file * filp, char * buf, int count)
file218fs/pipe.cstatic int connect_select(struct inode * inode, struct file * filp, int sel_type, select_table * wait)
file246fs/pipe.cstatic void pipe_read_release(struct inode * inode, struct file * filp)
file252fs/pipe.cstatic void pipe_write_release(struct inode * inode, struct file * filp)
file258fs/pipe.cstatic void pipe_rdwr_release(struct inode * inode, struct file * filp)
file381fs/pipe.cstruct file * f[2];
file39fs/proc/array.cstatic int read_core(struct inode * inode, struct file * file,char * buf, int count)
file41fs/proc/array.cunsigned long p = file->f_pos;
file80fs/proc/array.cfile->f_pos += read;
file470fs/proc/array.cstatic int array_read(struct inode * inode, struct file * file,char * buf, int count)
file516fs/proc/array.creturn read_core(inode, file, buf, count);
file536fs/proc/array.cif (file->f_pos >= length) {
file540fs/proc/array.cif (count + file->f_pos > length)
file541fs/proc/array.ccount = length - file->f_pos;
file542fs/proc/array.cend = count + file->f_pos;
file543fs/proc/array.cmemcpy_tofs(buf, page + file->f_pos, count);
file545fs/proc/array.cfile->f_pos = end;
file16fs/proc/base.cstatic int proc_readbase(struct inode *, struct file *, struct dirent *, int);
file132fs/proc/base.cstatic int proc_readbase(struct inode * inode, struct file * filp,
file16fs/proc/fd.cstatic int proc_readfd(struct inode *, struct file *, struct dirent *, int);
file126fs/proc/fd.cstatic int proc_readfd(struct inode * inode, struct file * filp,
file21fs/proc/kmsg.cstatic int kmsg_open(struct inode * inode, struct file * file)
file26fs/proc/kmsg.cstatic void kmsg_release(struct inode * inode, struct file * file)
file31fs/proc/kmsg.cstatic int kmsg_read(struct inode * inode, struct file * file,char * buf, int count)
file36fs/proc/kmsg.cstatic int kmsg_select(struct inode *inode, struct file *file, int sel_type, select_table * wait)
file23fs/proc/mem.cstatic int mem_read(struct inode * inode, struct file * file,char * buf, int count)
file42fs/proc/mem.caddr = file->f_pos;
file65fs/proc/mem.cfile->f_pos = addr;
file71fs/proc/mem.cstatic int mem_write(struct inode * inode, struct file * file,char * buf, int count)
file80fs/proc/mem.caddr = file->f_pos;
file117fs/proc/mem.cfile->f_pos = addr;
file127fs/proc/mem.cstatic int mem_lseek(struct inode * inode, struct file * file, off_t offset, int orig)
file131fs/proc/mem.cfile->f_pos = offset;
file132fs/proc/mem.creturn file->f_pos;
file134fs/proc/mem.cfile->f_pos += offset;
file135fs/proc/mem.creturn file->f_pos;
file35fs/proc/net.cstatic int proc_readnet(struct inode * inode, struct file * file,
file37fs/proc/net.cstatic int proc_readnetdir(struct inode *, struct file *,
file166fs/proc/net.cstatic int proc_readnetdir(struct inode * inode, struct file * filp,
file195fs/proc/net.cstatic int proc_readnet(struct inode * inode, struct file * file,
file221fs/proc/net.clength = unix_get_info(page,&start,file->f_pos,thistime);
file225fs/proc/net.clength = arp_get_info(page,&start,file->f_pos,thistime);
file228fs/proc/net.clength = rt_get_info(page,&start,file->f_pos,thistime);
file231fs/proc/net.clength = dev_get_info(page,&start,file->f_pos,thistime);
file234fs/proc/net.clength = raw_get_info(page,&start,file->f_pos,thistime);
file237fs/proc/net.clength = tcp_get_info(page,&start,file->f_pos,thistime);
file240fs/proc/net.clength = udp_get_info(page,&start,file->f_pos,thistime);
file243fs/proc/net.clength = snmp_get_info(page, &start, file->f_pos,thistime);
file247fs/proc/net.clength = rarp_get_info(page,&start,file->f_pos,thistime);
file253fs/proc/net.clength = ipx_rt_get_info(page,&start,file->f_pos,thistime);
file256fs/proc/net.clength = ipx_get_info(page,&start,file->f_pos,thistime);
file261fs/proc/net.clength = ax25_rt_get_info(page,&start,file->f_pos,thistime);
file264fs/proc/net.clength = ax25_get_info(page,&start,file->f_pos,thistime);
file268fs/proc/net.clength = nr_nodes_get_info(page,&start,file->f_pos,thistime);
file271fs/proc/net.clength = nr_neigh_get_info(page,&start,file->f_pos,thistime);
file274fs/proc/net.clength = nr_get_info(page,&start,file->f_pos,thistime);
file296fs/proc/net.cfile->f_pos+=length;  /* Move down the file */
file17fs/proc/root.cstatic int proc_readroot(struct inode *, struct file *, struct dirent *, int);
file133fs/proc/root.cstatic int proc_readroot(struct inode * inode, struct file * filp,
file22fs/read_write.cstruct file * file;
file25fs/read_write.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]) ||
file26fs/read_write.c!(inode = file->f_inode))
file29fs/read_write.cif (file->f_op && file->f_op->readdir) {
file32fs/read_write.cerror = file->f_op->readdir(inode,file,dirent,count);
file39fs/read_write.cstruct file * file;
file42fs/read_write.cif (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode))
file46fs/read_write.cif (file->f_op && file->f_op->lseek)
file47fs/read_write.creturn file->f_op->lseek(file->f_inode,file,offset,origin);
file55fs/read_write.ctmp = file->f_pos + offset;
file58fs/read_write.cif (!file->f_inode)
file60fs/read_write.ctmp = file->f_inode->i_size + offset;
file65fs/read_write.cfile->f_pos = tmp;
file66fs/read_write.cfile->f_reada = 0;
file67fs/read_write.creturn file->f_pos;
file73fs/read_write.cstruct file * file;
file76fs/read_write.cif (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode))
file78fs/read_write.cif (!(file->f_mode & 1))
file80fs/read_write.cif (!file->f_op || !file->f_op->read)
file87fs/read_write.creturn file->f_op->read(inode,file,buf,count);
file93fs/read_write.cstruct file * file;
file96fs/read_write.cif (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode))
file98fs/read_write.cif (!(file->f_mode & 2))
file100fs/read_write.cif (!file->f_op || !file->f_op->write)
file107fs/read_write.creturn file->f_op->write(inode,file,buf,count);
file69fs/select.cstatic int check(int flag, select_table * wait, struct file * file)
file73fs/select.cint (*select) (struct inode *, struct file *, int, select_table *);
file75fs/select.cinode = file->f_inode;
file76fs/select.cif ((fops = file->f_op) && (select = fops->select))
file77fs/select.creturn select(inode, file, flag, wait)
file78fs/select.c|| (wait && select(inode, file, flag, NULL));
file157fs/stat.cstruct file * f;
file172fs/stat.cstruct file * f;
file23fs/sysv/dir.cstatic int sysv_dir_read(struct inode * inode, struct file * filp, char * buf, int count)
file28fs/sysv/dir.cstatic int sysv_readdir(struct inode *, struct file *, struct dirent *, int);
file64fs/sysv/dir.cstatic int sysv_readdir(struct inode * inode, struct file * filp,
file35fs/sysv/file.cstatic int sysv_file_read(struct inode *, struct file *, char *, int);
file36fs/sysv/file.cstatic int sysv_file_write(struct inode *, struct file *, char *, int);
file109fs/sysv/file.cstatic int sysv_file_read(struct inode * inode, struct file * filp, char * buf, int count)
file242fs/sysv/file.cstatic int sysv_file_write(struct inode * inode, struct file * filp, char * buf, int count)
file184fs/sysv/fsync.cint sysv_sync_file(struct inode * inode, struct file * file)
file22fs/xiafs/dir.cstatic int xiafs_dir_read(struct inode *, struct file *, char *, int);
file23fs/xiafs/dir.cstatic int xiafs_readdir(struct inode *, struct file *, struct dirent *, int);
file60fs/xiafs/dir.cstruct file * filp, char * buf, int count)
file66fs/xiafs/dir.cstruct file * filp, struct dirent * dirent, int count)
file31fs/xiafs/file.cstatic int xiafs_file_read(struct inode *, struct file *, char *, int);
file32fs/xiafs/file.cstatic int xiafs_file_write(struct inode *, struct file *, char *, int);
file70fs/xiafs/file.cxiafs_file_read(struct inode * inode, struct file * filp, char * buf, int count)
file190fs/xiafs/file.cxiafs_file_write(struct inode * inode, struct file * filp, char * buf, int count)
file144fs/xiafs/fsync.cint xiafs_sync_file(struct inode * inode, struct file * file)
file40ibcs/binfmt_coff.cstruct file *fp);
file126ibcs/binfmt_coff.cstruct file *fp     = NULL;  /* Pointer to the file at "fd"         */
file622ibcs/binfmt_coff.cCOFF_SCNHDR * sect, struct file *fp)
file753ibcs/binfmt_coff.cstruct file         *file;  /* Pointer to the file table           */
file759ibcs/binfmt_coff.cfile           = current->files->fd[fd];
file760ibcs/binfmt_coff.cbprm->inode    = file->f_inode;   /* The only item _really_ needed */
file130ibcs/binfmt_elf.cstruct file * file;
file172ibcs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
file177ibcs/binfmt_elf.cerror = do_mmap(file, 
file266ibcs/binfmt_elf.cstruct file * file;
file329ibcs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
file477ibcs/binfmt_elf.cerror = do_mmap(file,
file566ibcs/binfmt_elf.cstruct file * file;
file578ibcs/binfmt_elf.cfile = current->files->fd[fd];
file579ibcs/binfmt_elf.cinode = file->f_inode;
file583ibcs/binfmt_elf.cif (file->f_op->read(inode, file, (char *) &elf_ex, sizeof(elf_ex)) != sizeof(elf_ex)) {
file627ibcs/binfmt_elf.cerror = do_mmap(file,
file375include/linux/ext2_fs.hextern int ext2_read (struct inode *, struct file *, char *, int);
file376include/linux/ext2_fs.hextern int ext2_write (struct inode *, struct file *, char *, int);
file379include/linux/ext2_fs.hextern int ext2_sync_file (struct inode *, struct file *);
file401include/linux/ext2_fs.hextern int ext2_ioctl (struct inode *, struct file *, unsigned int,
file405include/linux/ext2_fs.hextern int ext2_open (struct inode *, struct file *);
file406include/linux/ext2_fs.hextern void ext2_release (struct inode *, struct file *);
file62include/linux/ext_fs.hextern int ext_open(struct inode * inode, struct file * filp);
file63include/linux/ext_fs.hextern void ext_release(struct inode * inode, struct file * filp);
file98include/linux/ext_fs.hextern int ext_sync_file(struct inode *, struct file *);
file100include/linux/ext_fs.hextern int ext_lseek(struct inode *, struct file *, off_t, int);
file101include/linux/ext_fs.hextern int ext_read(struct inode *, struct file *, char *, int);
file102include/linux/ext_fs.hextern int ext_write(struct inode *, struct file *, char *, int);
file58include/linux/fs.h#define NIL_FILP  ((struct file *)0)
file219include/linux/fs.hstruct file *f_next, *f_prev;
file240include/linux/fs.hstruct file     *fa_file;
file284include/linux/fs.hint (*lseek) (struct inode *, struct file *, off_t, int);
file285include/linux/fs.hint (*read) (struct inode *, struct file *, char *, int);
file286include/linux/fs.hint (*write) (struct inode *, struct file *, char *, int);
file287include/linux/fs.hint (*readdir) (struct inode *, struct file *, struct dirent *, int);
file288include/linux/fs.hint (*select) (struct inode *, struct file *, int, select_table *);
file289include/linux/fs.hint (*ioctl) (struct inode *, struct file *, unsigned int, unsigned long);
file290include/linux/fs.hint (*mmap) (struct inode *, struct file *, unsigned long, size_t, int, unsigned long);
file291include/linux/fs.hint (*open) (struct inode *, struct file *);
file292include/linux/fs.hvoid (*release) (struct inode *, struct file *);
file293include/linux/fs.hint (*fsync) (struct inode *, struct file *);
file294include/linux/fs.hint (*fasync) (struct inode *, struct file *, int);
file348include/linux/fs.hextern int blkdev_open(struct inode * inode, struct file * filp);
file354include/linux/fs.hextern int chrdev_open(struct inode * inode, struct file * filp);
file374include/linux/fs.hextern struct file *first_file;
file436include/linux/fs.hextern struct file * get_empty_filp(void);
file455include/linux/fs.hextern int char_read(struct inode *, struct file *, char *, int);
file456include/linux/fs.hextern int block_read(struct inode *, struct file *, char *, int);
file459include/linux/fs.hextern int char_write(struct inode *, struct file *, char *, int);
file460include/linux/fs.hextern int block_write(struct inode *, struct file *, char *, int);
file462include/linux/fs.hextern int generic_mmap(struct inode *, struct file *, unsigned long, size_t, int, unsigned long);
file464include/linux/fs.hextern int block_fsync(struct inode *, struct file *);
file465include/linux/fs.hextern int file_fsync(struct inode *, struct file *);
file167include/linux/iso_fs.hextern int isofs_open(struct inode * inode, struct file * filp);
file168include/linux/iso_fs.hextern void isofs_release(struct inode * inode, struct file * filp);
file182include/linux/iso_fs.hextern int isofs_lseek(struct inode *, struct file *, off_t, int);
file183include/linux/iso_fs.hextern int isofs_read(struct inode *, struct file *, char *, int);
file113include/linux/minix_fs.hextern int minix_sync_file(struct inode *, struct file *);
file172include/linux/mm.hextern int do_mmap(struct file * file, unsigned long addr, unsigned long len,
file113include/linux/nfs_fs.hextern int nfs_mmap(struct inode * inode, struct file * file,
file7include/linux/nfs_fs_sb.hstruct file *file;
file196include/linux/sched.hstruct file * fd[NR_OPEN];
file428include/linux/sysv_fs.hextern int sysv_sync_file(struct inode *, struct file *);
file430include/linux/sysv_fs.hextern int sysv_mmap(struct inode *, struct file *, unsigned long, size_t, int, unsigned long);
file293include/linux/tty.hextern void tty_unhangup(struct file *filp);
file294include/linux/tty.hextern int tty_hung_up_p(struct file * filp);
file302include/linux/tty.hextern int n_tty_ioctl(struct tty_struct * tty, struct file * file,
file307include/linux/tty.hextern int  rs_open(struct tty_struct * tty, struct file * filp);
file311include/linux/tty.hextern int  pty_open(struct tty_struct * tty, struct file * filp);
file315include/linux/tty.hextern int con_open(struct tty_struct * tty, struct file * filp);
file322include/linux/tty.hextern int vt_ioctl(struct tty_struct *tty, struct file * file,
file117include/linux/tty_driver.hint  (*open)(struct tty_struct * tty, struct file * filp);
file118include/linux/tty_driver.hvoid (*close)(struct tty_struct * tty, struct file * filp);
file125include/linux/tty_driver.hint  (*ioctl)(struct tty_struct *tty, struct file * file,
file22include/linux/tty_ldisc.hint  (*read)(struct tty_struct * tty, struct file * file,
file24include/linux/tty_ldisc.hint  (*write)(struct tty_struct * tty, struct file * file,
file26include/linux/tty_ldisc.hint  (*ioctl)(struct tty_struct * tty, struct file * file,
file30include/linux/tty_ldisc.hstruct file * file, int sel_type,
file113include/linux/xd.hstatic int xd_open (struct inode *inode,struct file *file);
file115include/linux/xd.hstatic int xd_ioctl (struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg);
file116include/linux/xd.hstatic void xd_release (struct inode *inode,struct file *file);
file101include/linux/xia_fs.hextern int xiafs_sync_file(struct inode *, struct file *);
file55init/main.cstatic inline _syscall3(int,execve,const char *,file,char **,argv,char **,envp)
file56init/main.cstatic inline _syscall3(int,open,const char *,file,int,flag,int,mode)
file70kernel/fork.cstatic struct file * copy_fd(struct file * old_file)
file72kernel/fork.cstruct file * new_file = get_empty_filp();
file76kernel/fork.cmemcpy(new_file,old_file,sizeof(struct file));
file119kernel/fork.cstruct file * f;
file10lib/execve.c_syscall3(int,execve,const char *,file,char **,argv,char **,envp)
file19mm/mmap.cstatic int anon_map(struct inode *, struct file *,
file42mm/mmap.cint do_mmap(struct file * file, unsigned long addr, unsigned long len,
file59mm/mmap.cif (file != NULL)
file62mm/mmap.cif ((prot & PROT_WRITE) && !(file->f_mode & 2))
file66mm/mmap.cif (!(file->f_mode & 1))
file109mm/mmap.cif (file && (!file->f_op || !file->f_op->mmap))
file124mm/mmap.cif (file)
file125mm/mmap.cerror = file->f_op->mmap(file->f_inode, file, addr, len, mask, off);
file141mm/mmap.cstruct file * file = NULL;
file149mm/mmap.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
file152mm/mmap.creturn do_mmap(file, get_fs_long(buffer), get_fs_long(buffer+1),
file311mm/mmap.cint generic_mmap(struct inode * inode, struct file * file,
file446mm/mmap.cstatic int anon_map(struct inode *ino, struct file * file,
file67net/inet/skbuff.cint skb_check(struct sk_buff *skb, int head, int line, char *file)
file72net/inet/skbuff.cfile,line);
file82net/inet/skbuff.cfile,line);
file88net/inet/skbuff.cfile,line);
file96net/inet/skbuff.cif (skb_check(skb2, 0, line, file) < 0) {
file110net/inet/skbuff.cfile,line);
file116net/inet/skbuff.cfile,line);
file124net/inet/skbuff.cfile,line);
file131net/inet/skbuff.cprintk("File: %s Line %d, passed a non skb!\n", file,line);
file138net/inet/skbuff.cprintk("File: %s Line %d, Dubious size setting!\n",file,line);
file52net/socket.cstatic int sock_lseek(struct inode *inode, struct file *file, off_t offset,
file54net/socket.cstatic int sock_read(struct inode *inode, struct file *file, char *buf,
file56net/socket.cstatic int sock_write(struct inode *inode, struct file *file, char *buf,
file58net/socket.cstatic int sock_readdir(struct inode *inode, struct file *file,
file60net/socket.cstatic void sock_close(struct inode *inode, struct file *file);
file61net/socket.cstatic int sock_select(struct inode *inode, struct file *file, int which, select_table *seltable);
file62net/socket.cstatic int sock_ioctl(struct inode *inode, struct file *file,
file149net/socket.cstruct file *file;
file155net/socket.cfile = get_empty_filp();
file156net/socket.cif (!file) 
file164net/socket.cfile->f_count = 0;
file169net/socket.ccurrent->files->fd[fd] = file;
file170net/socket.cfile->f_op = &socket_file_ops;
file171net/socket.cfile->f_mode = 3;
file172net/socket.cfile->f_flags = 0;
file173net/socket.cfile->f_count = 1;
file174net/socket.cfile->f_inode = inode;
file177net/socket.cfile->f_pos = 0;
file220net/socket.cstatic inline struct socket *sockfd_lookup(int fd, struct file **pfile)
file222net/socket.cstruct file *file;
file224net/socket.cif (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) 
file228net/socket.c*pfile = file;
file230net/socket.creturn(socki_lookup(file->f_inode));
file359net/socket.cstatic int sock_lseek(struct inode *inode, struct file *file, off_t offset, int whence)
file369net/socket.cstatic int sock_read(struct inode *inode, struct file *file, char *ubuf, int size)
file388net/socket.creturn(sock->ops->read(sock, ubuf, size, (file->f_flags & O_NONBLOCK)));
file396net/socket.cstatic int sock_write(struct inode *inode, struct file *file, char *ubuf, int size)
file417net/socket.creturn(sock->ops->write(sock, ubuf, size,(file->f_flags & O_NONBLOCK)));
file424net/socket.cstatic int sock_readdir(struct inode *inode, struct file *file, struct dirent *dirent,
file435net/socket.cint sock_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
file449net/socket.cstatic int sock_select(struct inode *inode, struct file *file, int sel_type, select_table * wait)
file469net/socket.cvoid sock_close(struct inode *inode, struct file *file)
file753net/socket.cstruct file *file;
file759net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file761net/socket.cif (!(sock = sockfd_lookup(fd, &file))) 
file785net/socket.ci = newsock->ops->accept(sock, newsock, file->f_flags);
file815net/socket.cstruct file *file;
file820net/socket.cif (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL)
file822net/socket.cif (!(sock = sockfd_lookup(fd, &file)))
file847net/socket.caddrlen, file->f_flags));
file851net/socket.ci = sock->ops->connect(sock, (struct sockaddr *)address, addrlen, file->f_flags);
file917net/socket.cstruct file *file;
file920net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file932net/socket.creturn(sock->ops->send(sock, buff, len, (file->f_flags & O_NONBLOCK), flags));
file945net/socket.cstruct file *file;
file949net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file965net/socket.creturn(sock->ops->sendto(sock, buff, len, (file->f_flags & O_NONBLOCK),
file981net/socket.cstruct file *file;
file984net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file998net/socket.creturn(sock->ops->recv(sock, buff, len,(file->f_flags & O_NONBLOCK), flags));
file1011net/socket.cstruct file *file;
file1015net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file1028net/socket.clen=sock->ops->recvfrom(sock, buff, len, (file->f_flags & O_NONBLOCK),
file1047net/socket.cstruct file *file;
file1049net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file1065net/socket.cstruct file *file;
file1067net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file1085net/socket.cstruct file *file;
file1087net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file1100net/socket.cint sock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg)