taglinefilesource code
file100drivers/block/cdu31a.cstatic int scd_open(struct inode *inode, struct file *filp);
file1276drivers/block/cdu31a.cstruct file  *file,
file1593drivers/block/cdu31a.cstruct file *filp)
file1671drivers/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)
file2144drivers/block/sbpcd.cstatic int sbpcd_ioctl(struct inode *inode,struct file *file,
file2844drivers/block/sbpcd.cint sbpcd_open(struct inode *ip, struct file *fp)
file2893drivers/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)
file1619drivers/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,
file116drivers/char/mem.cstatic int read_kmem(struct inode *inode, struct file *file, char *buf, int count)
file120drivers/char/mem.cread1 = read_mem(inode, file, buf, count);
file123drivers/char/mem.cread2 = vread(buf + read1, (char *) file->f_pos, count - read1);
file126drivers/char/mem.cfile->f_pos += read2;
file130drivers/char/mem.cstatic int read_port(struct inode * inode,struct file * file,char * buf, int count)
file132drivers/char/mem.cunsigned int i = file->f_pos;
file140drivers/char/mem.cfile->f_pos = i;
file144drivers/char/mem.cstatic int write_port(struct inode * inode,struct file * file,char * buf, int count)
file146drivers/char/mem.cunsigned int i = file->f_pos;
file154drivers/char/mem.cfile->f_pos = i;
file158drivers/char/mem.cstatic int read_null(struct inode * node,struct file * file,char * buf,int count)
file163drivers/char/mem.cstatic int write_null(struct inode * inode,struct file * file,char * buf, int count)
file168drivers/char/mem.cstatic int read_zero(struct inode * node,struct file * file,char * buf,int count)
file179drivers/char/mem.cstatic int mmap_zero(struct inode * inode, struct file * file,
file209drivers/char/mem.cstatic int read_full(struct inode * node,struct file * file,char * buf,int count)
file214drivers/char/mem.cstatic int write_full(struct inode * inode,struct file * file,char * buf, int count)
file224drivers/char/mem.cstatic int null_lseek(struct inode * inode, struct file * file, off_t offset, int orig)
file226drivers/char/mem.creturn file->f_pos=0;
file236drivers/char/mem.cstatic int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig)
file240drivers/char/mem.cfile->f_pos = offset;
file241drivers/char/mem.creturn file->f_pos;
file243drivers/char/mem.cfile->f_pos += offset;
file244drivers/char/mem.creturn file->f_pos;
file248drivers/char/mem.cif (file->f_pos < 0)
file250drivers/char/mem.creturn file->f_pos;
file347drivers/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)
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)
file27drivers/char/pty.cstatic void pty_close(struct tty_struct * tty, struct file * filp)
file92drivers/char/pty.cint pty_open(struct tty_struct *tty, struct file * filp)
file1347drivers/char/serial.cstatic int rs_ioctl(struct tty_struct *tty, struct file * file,
file1463drivers/char/serial.cstatic void rs_close(struct tty_struct *tty, struct file * filp)
file1570drivers/char/serial.cstatic int block_til_ready(struct tty_struct *tty, struct file * filp,
file1694drivers/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, 
file84drivers/char/tty_io.cstatic int tty_read(struct inode *, struct file *, char *, int);
file85drivers/char/tty_io.cstatic int tty_write(struct inode *, struct file *, char *, int);
file86drivers/char/tty_io.cstatic int tty_select(struct inode *, struct file *, int, select_table *);
file87drivers/char/tty_io.cstatic int tty_open(struct inode *, struct file *);
file88drivers/char/tty_io.cstatic void tty_release(struct inode *, struct file *);
file188drivers/char/tty_io.cstatic int hung_up_tty_read(struct inode * inode, struct file * file, char * buf, int count)
file193drivers/char/tty_io.cstatic int hung_up_tty_write(struct inode * inode, struct file * file, char * buf, int count)
file198drivers/char/tty_io.cstatic int hung_up_tty_select(struct inode * inode, struct file * filp, int sel_type, select_table * wait)
file203drivers/char/tty_io.cstatic int hung_up_tty_ioctl(struct inode * inode, struct file * file,
file209drivers/char/tty_io.cstatic int tty_lseek(struct inode * inode, struct file * file, off_t offset, int orig)
file241drivers/char/tty_io.cstruct file * filp;
file292drivers/char/tty_io.cint tty_hung_up_p(struct file * filp)
file946drivers/char/tty_io.cstatic int read_chan(struct tty_struct *tty, struct file *file,
file960drivers/char/tty_io.cif (file->f_inode->i_rdev != CONSOLE_DEV &&
file1010drivers/char/tty_io.cif (tty_hung_up_p(file))
file1014drivers/char/tty_io.cif (file->f_flags & O_NONBLOCK) {
file1096drivers/char/tty_io.cstatic int write_chan(struct tty_struct * tty, struct file * file,
file1105drivers/char/tty_io.cif (L_TOSTOP(tty) && file->f_inode->i_rdev != CONSOLE_DEV) {
file1118drivers/char/tty_io.cif (tty_hung_up_p(file) || (tty->link && !tty->link->count)) {
file1135drivers/char/tty_io.cif (file->f_flags & O_NONBLOCK) {
file1146drivers/char/tty_io.cstatic int tty_read(struct inode * inode, struct file * file, char * buf, int count)
file1151drivers/char/tty_io.cdev = file->f_rdev;
file1179drivers/char/tty_io.ci = (ldiscs[tty->disc].read)(tty,file,(unsigned char *)buf,(unsigned int)count);
file1187drivers/char/tty_io.cstatic int tty_write(struct inode * inode, struct file * file, char * buf, int count)
file1192drivers/char/tty_io.cdev = file->f_rdev;
file1218drivers/char/tty_io.ci = (ldiscs[tty->disc].write)(tty,file,(unsigned char *)buf,(unsigned int)count);
file1352drivers/char/tty_io.cstatic void release_dev(int dev, struct file * filp)
file1463drivers/char/tty_io.cstatic int tty_open(struct inode * inode, struct file * filp)
file1555drivers/char/tty_io.cstatic void tty_release(struct inode * inode, struct file * filp)
file1572drivers/char/tty_io.cstatic int tty_select(struct inode * inode, struct file * filp, int sel_type, select_table * wait)
file1595drivers/char/tty_io.cstruct file * file, int sel_type, select_table *wait)
file1607drivers/char/tty_io.cif (tty_hung_up_p(file))
file1641drivers/char/tty_io.cstruct file  *filp;
file337drivers/char/tty_ioctl.cint tty_ioctl(struct inode * inode, struct file * file,
file348drivers/char/tty_ioctl.cif (MAJOR(file->f_rdev) != TTY_MAJOR) {
file352drivers/char/tty_ioctl.cdev = MINOR(file->f_rdev);
file593drivers/char/tty_ioctl.cfile->f_flags |= O_NONBLOCK;
file595drivers/char/tty_ioctl.cfile->f_flags &= ~O_NONBLOCK;
file657drivers/char/tty_ioctl.ctty->ioctl(tty, file, cmd, arg);
file661drivers/char/tty_ioctl.cretval = (tty->ioctl)(tty, file, cmd, arg);
file667drivers/char/tty_ioctl.c(tty, file, cmd, arg);
file116drivers/char/vt.cint vt_ioctl(struct tty_struct *tty, struct file * file,
file1044drivers/net/slip.cslip_ioctl(struct tty_struct *tty, void *file, int cmd, void *arg)
file1124drivers/net/slip.csl_ldisc.ioctl  = (int (*)(struct tty_struct *, struct file *,
file54drivers/scsi/sd.cextern int sd_ioctl(struct inode *, struct file *, unsigned int, unsigned long);
file60drivers/scsi/sd.cstatic int sd_open(struct inode * inode, struct file * filp)
file83drivers/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)
file207drivers/scsi/sg.cstatic int sg_write(struct inode *inode,struct file *filp,char *buf,int count)
file41drivers/scsi/sr.cstatic int sr_open(struct inode *, struct file *);
file44drivers/scsi/sr.cextern int sr_ioctl(struct inode *, struct file *, unsigned int, unsigned long);
file48drivers/scsi/sr.cstatic void sr_release(struct inode * inode, struct file * file)
file260drivers/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)
file113drivers/scsi/st.cstatic int st_int_ioctl(struct inode * inode,struct file * file,
file309drivers/scsi/st.cflush_buffer(struct inode * inode, struct file * filp, int seek_next)
file351drivers/scsi/st.cscsi_tape_open(struct inode * inode, struct file * filp)
file541drivers/scsi/st.cscsi_tape_close(struct inode * inode, struct file * filp)
file608drivers/scsi/st.cst_write(struct inode * inode, struct file * filp, char * buf, int count)
file823drivers/scsi/st.cst_read(struct inode * inode, struct file * filp, char * buf, int count)
file1018drivers/scsi/st.cst_int_ioctl(struct inode * inode,struct file * file,
file1244drivers/scsi/st.cioctl_result = st_int_ioctl(inode, file, MTFSF, 1);
file1246drivers/scsi/st.cioctl_result = st_int_ioctl(inode, file, MTBSF, 1);
file1283drivers/scsi/st.cst_ioctl(struct inode * inode,struct file * file,
file1315drivers/scsi/st.ci = flush_buffer(inode, file, mtc.mt_op == MTSEEK ||
file1321drivers/scsi/st.creturn st_int_ioctl(inode, file, mtc.mt_op, mtc.mt_count);
file1342drivers/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)
file247fs/buffer.cint file_fsync (struct inode *inode, struct file *filp)
file254fs/buffer.cstruct file * file;
file257fs/buffer.cif (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode))
file259fs/buffer.cif (!file->f_op || !file->f_op->fsync)
file261fs/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)
file59fs/exec.cstruct file *f, **fpp;
file99fs/exec.cwhile (file.f_op->write(inode,&file,(char *)(addr),(nr)) != (nr)) goto close_coredump
file102fs/exec.cif (file.f_op->lseek) { \
file103fs/exec.cif (file.f_op->lseek(inode,&file,(offset),0) != (offset)) \
file105fs/exec.c} else file.f_pos = (offset)    
file119fs/exec.cstruct file file;
file150fs/exec.cfile.f_mode = 3;
file151fs/exec.cfile.f_flags = 0;
file152fs/exec.cfile.f_count = 1;
file153fs/exec.cfile.f_inode = inode;
file154fs/exec.cfile.f_pos = 0;
file155fs/exec.cfile.f_reada = 0;
file156fs/exec.cfile.f_op = inode->i_op->default_file_ops;
file157fs/exec.cif (file.f_op->open)
file158fs/exec.cif (file.f_op->open(inode,&file))
file160fs/exec.cif (!file.f_op->write)
file224fs/exec.cif (file.f_op->release)
file225fs/exec.cfile.f_op->release(inode,&file);
file241fs/exec.cstruct file * file;
file247fs/exec.cfile = current->files->fd[fd];
file249fs/exec.cif (file && file->f_inode && file->f_op && file->f_op->read) {
file423fs/exec.cstruct file file;
file428fs/exec.cfile.f_mode = 1;
file429fs/exec.cfile.f_flags = 0;
file430fs/exec.cfile.f_count = 1;
file431fs/exec.cfile.f_inode = inode;
file432fs/exec.cfile.f_pos = 0;
file433fs/exec.cfile.f_reada = 0;
file434fs/exec.cfile.f_op = inode->i_op->default_file_ops;
file435fs/exec.cif (file.f_op->open)
file436fs/exec.cif (file.f_op->open(inode,&file))
file438fs/exec.cif (!file.f_op || !file.f_op->read)
file440fs/exec.cif (file.f_op->lseek) {
file441fs/exec.cif (file.f_op->lseek(inode,&file,offset,0) != offset)
file444fs/exec.cfile.f_pos = offset;
file450fs/exec.cresult = file.f_op->read(inode, &file, addr, count);
file452fs/exec.cif (file.f_op->release)
file453fs/exec.cfile.f_op->release(inode,&file);
file776fs/exec.cstruct file * file;
file825fs/exec.cfile = current->files->fd[fd];
file826fs/exec.cif (!file->f_op || !file->f_op->mmap) {
file835fs/exec.cerror = do_mmap(file, N_TXTADDR(ex), ex.a_text,
file845fs/exec.cerror = do_mmap(file, N_TXTADDR(ex) + ex.a_text, ex.a_data,
file873fs/exec.cstruct file * file;
file881fs/exec.cfile = current->files->fd[fd];
file882fs/exec.cinode = file->f_inode;
file885fs/exec.cif (file->f_op->read(inode, file, (char *) &ex, sizeof(ex)) != sizeof(ex)) {
file910fs/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,
file303fs/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;
file471fs/proc/array.cstatic int array_read(struct inode * inode, struct file * file,char * buf, int count)
file517fs/proc/array.creturn read_core(inode, file, buf, count);
file537fs/proc/array.cif (file->f_pos >= length) {
file541fs/proc/array.cif (count + file->f_pos > length)
file542fs/proc/array.ccount = length - file->f_pos;
file543fs/proc/array.cend = count + file->f_pos;
file544fs/proc/array.cmemcpy_tofs(buf, page + file->f_pos, count);
file546fs/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;
file33fs/proc/net.cstatic int proc_readnet(struct inode * inode, struct file * file,
file35fs/proc/net.cstatic int proc_readnetdir(struct inode *, struct file *,
file139fs/proc/net.cstatic int proc_readnetdir(struct inode * inode, struct file * filp,
file168fs/proc/net.cstatic int proc_readnet(struct inode * inode, struct file * file,
file194fs/proc/net.clength = unix_get_info(page,&start,file->f_pos,thistime);
file198fs/proc/net.clength = arp_get_info(page,&start,file->f_pos,thistime);
file201fs/proc/net.clength = rt_get_info(page,&start,file->f_pos,thistime);
file204fs/proc/net.clength = dev_get_info(page,&start,file->f_pos,thistime);
file207fs/proc/net.clength = raw_get_info(page,&start,file->f_pos,thistime);
file210fs/proc/net.clength = tcp_get_info(page,&start,file->f_pos,thistime);
file213fs/proc/net.clength = udp_get_info(page,&start,file->f_pos,thistime);
file218fs/proc/net.clength = ipx_rt_get_info(page,&start,file->f_pos,thistime);
file221fs/proc/net.clength = ipx_get_info(page,&start,file->f_pos,thistime);
file239fs/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);
file63fs/select.cstatic int check(int flag, select_table * wait, struct file * file)
file67fs/select.cint (*select) (struct inode *, struct file *, int, select_table *);
file69fs/select.cinode = file->f_inode;
file70fs/select.cif ((fops = file->f_op) && (select = fops->select))
file71fs/select.creturn select(inode, file, flag, wait)
file72fs/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)
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);
file57include/linux/fs.h#define NIL_FILP  ((struct file *)0)
file219include/linux/fs.hstruct file *f_next, *f_prev;
file274include/linux/fs.hint (*lseek) (struct inode *, struct file *, off_t, int);
file275include/linux/fs.hint (*read) (struct inode *, struct file *, char *, int);
file276include/linux/fs.hint (*write) (struct inode *, struct file *, char *, int);
file277include/linux/fs.hint (*readdir) (struct inode *, struct file *, struct dirent *, int);
file278include/linux/fs.hint (*select) (struct inode *, struct file *, int, select_table *);
file279include/linux/fs.hint (*ioctl) (struct inode *, struct file *, unsigned int, unsigned long);
file280include/linux/fs.hint (*mmap) (struct inode *, struct file *, unsigned long, size_t, int, unsigned long);
file281include/linux/fs.hint (*open) (struct inode *, struct file *);
file282include/linux/fs.hvoid (*release) (struct inode *, struct file *);
file283include/linux/fs.hint (*fsync) (struct inode *, struct file *);
file335include/linux/fs.hextern int blkdev_open(struct inode * inode, struct file * filp);
file341include/linux/fs.hextern int chrdev_open(struct inode * inode, struct file * filp);
file361include/linux/fs.hextern struct file *first_file;
file423include/linux/fs.hextern struct file * get_empty_filp(void);
file442include/linux/fs.hextern int char_read(struct inode *, struct file *, char *, int);
file443include/linux/fs.hextern int block_read(struct inode *, struct file *, char *, int);
file446include/linux/fs.hextern int char_write(struct inode *, struct file *, char *, int);
file447include/linux/fs.hextern int block_write(struct inode *, struct file *, char *, int);
file449include/linux/fs.hextern int generic_mmap(struct inode *, struct file *, unsigned long, size_t, int, unsigned long);
file451include/linux/fs.hextern int block_fsync(struct inode *, struct file *);
file452include/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 *);
file176include/linux/mm.hextern int do_mmap(struct file * file, unsigned long addr, unsigned long len,
file121include/linux/nfs_fs.hextern int nfs_mmap(struct inode * inode, struct file * file,
file7include/linux/nfs_fs_sb.hstruct file *file;
file193include/linux/sched.hstruct file * fd[NR_OPEN];
file426include/linux/sysv_fs.hextern int sysv_sync_file(struct inode *, struct file *);
file428include/linux/sysv_fs.hextern int sysv_mmap(struct inode *, struct file *, unsigned long, size_t, int, unsigned long);
file256include/linux/tty.hint  (*open)(struct tty_struct * tty, struct file * filp);
file257include/linux/tty.hvoid (*close)(struct tty_struct * tty, struct file * filp);
file259include/linux/tty.hint  (*ioctl)(struct tty_struct *tty, struct file * file,
file289include/linux/tty.hint  (*read)(struct tty_struct * tty, struct file * file,
file291include/linux/tty.hint  (*write)(struct tty_struct * tty, struct file * file,
file293include/linux/tty.hint  (*ioctl)(struct tty_struct * tty, struct file * file,
file296include/linux/tty.hstruct file * file, int sel_type,
file412include/linux/tty.hextern int tty_ioctl(struct inode *, struct file *, unsigned int, unsigned long);
file418include/linux/tty.hextern void tty_unhangup(struct file *filp);
file419include/linux/tty.hextern int tty_hung_up_p(struct file * filp);
file430include/linux/tty.hextern int  rs_open(struct tty_struct * tty, struct file * filp);
file434include/linux/tty.hextern int  pty_open(struct tty_struct * tty, struct file * filp);
file438include/linux/tty.hextern int con_open(struct tty_struct * tty, struct file * filp);
file445include/linux/tty.hextern int vt_ioctl(struct tty_struct *tty, struct file * file,
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));
file122kernel/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,
file445mm/mmap.cstatic int anon_map(struct inode *ino, struct file * file,
file48net/inet/skbuff.cint skb_check(struct sk_buff *skb, int head, int line, char *file)
file53net/inet/skbuff.cfile,line);
file63net/inet/skbuff.cfile,line);
file69net/inet/skbuff.cfile,line);
file77net/inet/skbuff.cif (skb_check(skb2, 0, line, file) < 0) {
file91net/inet/skbuff.cfile,line);
file97net/inet/skbuff.cfile,line);
file105net/inet/skbuff.cfile,line);
file112net/inet/skbuff.cprintk("File: %s Line %d, passed a non skb!\n", file,line);
file119net/inet/skbuff.cprintk("File: %s Line %d, Dubious size setting!\n",file,line);
file1697net/inet/sock.cinet_fioctl(struct inode *inode, struct file *file,
file54net/socket.cstatic int sock_lseek(struct inode *inode, struct file *file, off_t offset,
file56net/socket.cstatic int sock_read(struct inode *inode, struct file *file, char *buf,
file58net/socket.cstatic int sock_write(struct inode *inode, struct file *file, char *buf,
file60net/socket.cstatic int sock_readdir(struct inode *inode, struct file *file,
file62net/socket.cstatic void sock_close(struct inode *inode, struct file *file);
file63net/socket.cstatic int sock_select(struct inode *inode, struct file *file, int which, select_table *seltable);
file64net/socket.cstatic int sock_ioctl(struct inode *inode, struct file *file,
file109net/socket.cstruct file *file;
file112net/socket.cfile = get_empty_filp();
file113net/socket.cif (!file) return(-1);
file117net/socket.cfile->f_count = 0;
file121net/socket.ccurrent->files->fd[fd] = file;
file122net/socket.cfile->f_op = &socket_file_ops;
file123net/socket.cfile->f_mode = 3;
file124net/socket.cfile->f_flags = 0;
file125net/socket.cfile->f_count = 1;
file126net/socket.cfile->f_inode = inode;
file128net/socket.cfile->f_pos = 0;
file165net/socket.csockfd_lookup(int fd, struct file **pfile)
file167net/socket.cstruct file *file;
file169net/socket.cif (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) return(NULL);
file170net/socket.cif (pfile) *pfile = file;
file171net/socket.creturn(socki_lookup(file->f_inode));
file272net/socket.csock_lseek(struct inode *inode, struct file *file, off_t offset, int whence)
file280net/socket.csock_read(struct inode *inode, struct file *file, char *ubuf, int size)
file290net/socket.creturn(sock->ops->read(sock, ubuf, size, (file->f_flags & O_NONBLOCK)));
file295net/socket.csock_write(struct inode *inode, struct file *file, char *ubuf, int size)
file305net/socket.creturn(sock->ops->write(sock, ubuf, size,(file->f_flags & O_NONBLOCK)));
file310net/socket.csock_readdir(struct inode *inode, struct file *file, struct dirent *dirent,
file319net/socket.csock_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
file335net/socket.csock_select(struct inode *inode, struct file *file, int sel_type, select_table * wait)
file355net/socket.csock_close(struct inode *inode, struct file *file)
file594net/socket.cstruct file *file;
file599net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file602net/socket.cif (!(sock = sockfd_lookup(fd, &file))) return(-ENOTSOCK);
file624net/socket.ci = newsock->ops->accept(sock, newsock, file->f_flags);
file650net/socket.cstruct file *file;
file654net/socket.cif (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL)
file657net/socket.cif (!(sock = sockfd_lookup(fd, &file))) return(-ENOTSOCK);
file668net/socket.caddrlen, file->f_flags));
file674net/socket.ci = sock->ops->connect(sock, uservaddr, addrlen, file->f_flags);
file713net/socket.cstruct file *file;
file719net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file723net/socket.creturn(sock->ops->send(sock, buff, len, (file->f_flags & O_NONBLOCK), flags));
file732net/socket.cstruct file *file;
file738net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file742net/socket.creturn(sock->ops->sendto(sock, buff, len, (file->f_flags & O_NONBLOCK),
file751net/socket.cstruct file *file;
file757net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file761net/socket.creturn(sock->ops->recv(sock, buff, len,(file->f_flags & O_NONBLOCK), flags));
file770net/socket.cstruct file *file;
file776net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file780net/socket.creturn(sock->ops->recvfrom(sock, buff, len, (file->f_flags & O_NONBLOCK),
file789net/socket.cstruct file *file;
file796net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file808net/socket.cstruct file *file;
file815net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file828net/socket.cstruct file *file;
file832net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
file842net/socket.csock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg)
file1016net/socket.cnet_fioctl(struct inode *inode, struct file *file,
file835net/unix/sock.cunix_open(struct inode * inode, struct file * file)
file848net/unix/sock.cunix_close(struct inode * inode, struct file * file)
file855net/unix/sock.cunix_ioctl(struct inode *inode, struct file *file,