tag | line | file | source code |
file | 100 | drivers/block/cdu31a.c | static int scd_open(struct inode *inode, struct file *filp); |
file | 1276 | drivers/block/cdu31a.c | struct file *file, |
file | 1593 | drivers/block/cdu31a.c | struct file *filp) |
file | 1671 | drivers/block/cdu31a.c | struct file *filp) |
file | 1105 | drivers/block/floppy.c | static int fd_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, |
file | 1271 | drivers/block/floppy.c | static int floppy_open(struct inode * inode, struct file * filp) |
file | 1291 | drivers/block/floppy.c | static void floppy_release(struct inode * inode, struct file * filp) |
file | 519 | drivers/block/hd.c | static int hd_ioctl(struct inode * inode, struct file * file, |
file | 574 | drivers/block/hd.c | static int hd_open(struct inode * inode, struct file * filp) |
file | 589 | drivers/block/hd.c | static void hd_release(struct inode * inode, struct file * file) |
file | 186 | drivers/block/mcd.c | mcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd, |
file | 756 | drivers/block/mcd.c | mcd_open(struct inode *ip, struct file *fp) |
file | 785 | drivers/block/mcd.c | mcd_release(struct inode * inode, struct file * file) |
file | 2144 | drivers/block/sbpcd.c | static int sbpcd_ioctl(struct inode *inode,struct file *file, |
file | 2844 | drivers/block/sbpcd.c | int sbpcd_open(struct inode *ip, struct file *fp) |
file | 2893 | drivers/block/sbpcd.c | static void sbpcd_release(struct inode * ip, struct file * file) |
file | 191 | drivers/block/xd.c | static int xd_open (struct inode *inode,struct file *file) |
file | 236 | drivers/block/xd.c | static int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg) |
file | 285 | drivers/block/xd.c | static void xd_release (struct inode *inode, struct file *file) |
file | 87 | drivers/char/atixlmouse.c | static void release_mouse(struct inode * inode, struct file * file) |
file | 96 | drivers/char/atixlmouse.c | static int open_mouse(struct inode * inode, struct file * file) |
file | 116 | drivers/char/atixlmouse.c | static int write_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
file | 121 | drivers/char/atixlmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
file | 152 | drivers/char/atixlmouse.c | static int mouse_select(struct inode *inode, struct file *file, int sel_type, select_table * wait) |
file | 92 | drivers/char/busmouse.c | static void close_mouse(struct inode * inode, struct file * file) |
file | 105 | drivers/char/busmouse.c | static int open_mouse(struct inode * inode, struct file * file) |
file | 126 | drivers/char/busmouse.c | static int write_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
file | 135 | drivers/char/busmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
file | 188 | drivers/char/busmouse.c | static int mouse_select(struct inode *inode, struct file *file, int sel_type, select_table * wait) |
file | 1619 | drivers/char/console.c | int con_open(struct tty_struct *tty, struct file * filp) |
file | 124 | drivers/char/lp.c | static int lp_write_interrupt(struct inode * inode, struct file * file, char * buf, int count) |
file | 192 | drivers/char/lp.c | static int lp_write_polled(struct inode * inode, struct file * file, |
file | 266 | drivers/char/lp.c | static int lp_write(struct inode * inode, struct file * file, char * buf, int count) |
file | 269 | drivers/char/lp.c | return lp_write_interrupt(inode, file, buf, count); |
file | 271 | drivers/char/lp.c | return lp_write_polled(inode, file, buf, count); |
file | 274 | drivers/char/lp.c | static int lp_lseek(struct inode * inode, struct file * file, |
file | 280 | drivers/char/lp.c | static int lp_open(struct inode * inode, struct file * file) |
file | 317 | drivers/char/lp.c | static void lp_release(struct inode * inode, struct file * file) |
file | 332 | drivers/char/lp.c | static int lp_ioctl(struct inode *inode, struct file *file, |
file | 26 | drivers/char/mem.c | static int read_ram(struct inode * inode, struct file * file,char * buf, int count) |
file | 31 | drivers/char/mem.c | static int write_ram(struct inode * inode, struct file * file,char * buf, int count) |
file | 36 | drivers/char/mem.c | static int read_mem(struct inode * inode, struct file * file,char * buf, int count) |
file | 38 | drivers/char/mem.c | unsigned long p = file->f_pos; |
file | 57 | drivers/char/mem.c | file->f_pos += read; |
file | 61 | drivers/char/mem.c | static int write_mem(struct inode * inode, struct file * file,char * buf, int count) |
file | 63 | drivers/char/mem.c | unsigned long p = file->f_pos; |
file | 82 | drivers/char/mem.c | file->f_pos += written; |
file | 86 | drivers/char/mem.c | static int mmap_mem(struct inode * inode, struct file * file, |
file | 116 | drivers/char/mem.c | static int read_kmem(struct inode *inode, struct file *file, char *buf, int count) |
file | 120 | drivers/char/mem.c | read1 = read_mem(inode, file, buf, count); |
file | 123 | drivers/char/mem.c | read2 = vread(buf + read1, (char *) file->f_pos, count - read1); |
file | 126 | drivers/char/mem.c | file->f_pos += read2; |
file | 130 | drivers/char/mem.c | static int read_port(struct inode * inode,struct file * file,char * buf, int count) |
file | 132 | drivers/char/mem.c | unsigned int i = file->f_pos; |
file | 140 | drivers/char/mem.c | file->f_pos = i; |
file | 144 | drivers/char/mem.c | static int write_port(struct inode * inode,struct file * file,char * buf, int count) |
file | 146 | drivers/char/mem.c | unsigned int i = file->f_pos; |
file | 154 | drivers/char/mem.c | file->f_pos = i; |
file | 158 | drivers/char/mem.c | static int read_null(struct inode * node,struct file * file,char * buf,int count) |
file | 163 | drivers/char/mem.c | static int write_null(struct inode * inode,struct file * file,char * buf, int count) |
file | 168 | drivers/char/mem.c | static int read_zero(struct inode * node,struct file * file,char * buf,int count) |
file | 179 | drivers/char/mem.c | static int mmap_zero(struct inode * inode, struct file * file, |
file | 209 | drivers/char/mem.c | static int read_full(struct inode * node,struct file * file,char * buf,int count) |
file | 214 | drivers/char/mem.c | static int write_full(struct inode * inode,struct file * file,char * buf, int count) |
file | 224 | drivers/char/mem.c | static int null_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
file | 226 | drivers/char/mem.c | return file->f_pos=0; |
file | 236 | drivers/char/mem.c | static int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
file | 240 | drivers/char/mem.c | file->f_pos = offset; |
file | 241 | drivers/char/mem.c | return file->f_pos; |
file | 243 | drivers/char/mem.c | file->f_pos += offset; |
file | 244 | drivers/char/mem.c | return file->f_pos; |
file | 248 | drivers/char/mem.c | if (file->f_pos < 0) |
file | 250 | drivers/char/mem.c | return file->f_pos; |
file | 347 | drivers/char/mem.c | static int memory_open(struct inode * inode, struct file * filp) |
file | 38 | drivers/char/mouse.c | static int mouse_open(struct inode * inode, struct file * file) |
file | 45 | drivers/char/mouse.c | file->f_op = &bus_mouse_fops; |
file | 50 | drivers/char/mouse.c | file->f_op = &psaux_fops; |
file | 55 | drivers/char/mouse.c | file->f_op = &ms_bus_mouse_fops; |
file | 60 | drivers/char/mouse.c | file->f_op = &atixl_busmouse_fops; |
file | 66 | drivers/char/mouse.c | return file->f_op->open(inode,file); |
file | 73 | drivers/char/msbusmouse.c | static void release_mouse(struct inode * inode, struct file * file) |
file | 80 | drivers/char/msbusmouse.c | static int open_mouse(struct inode * inode, struct file * file) |
file | 99 | drivers/char/msbusmouse.c | static int write_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
file | 104 | drivers/char/msbusmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
file | 125 | drivers/char/msbusmouse.c | static int mouse_select(struct inode *inode, struct file *file, int sel_type, select_table * wait) |
file | 233 | drivers/char/psaux.c | static void release_aux(struct inode * inode, struct file * file) |
file | 245 | drivers/char/psaux.c | static void release_qp(struct inode * inode, struct file * file) |
file | 265 | drivers/char/psaux.c | static int open_aux(struct inode * inode, struct file * file) |
file | 295 | drivers/char/psaux.c | static int open_qp(struct inode * inode, struct file * file) |
file | 335 | drivers/char/psaux.c | static int write_aux(struct inode * inode, struct file * file, char * buffer, int count) |
file | 357 | drivers/char/psaux.c | static int write_qp(struct inode * inode, struct file * file, char * buffer, int count) |
file | 376 | drivers/char/psaux.c | static int read_aux(struct inode * inode, struct file * file, char * buffer, int count) |
file | 383 | drivers/char/psaux.c | if (file->f_flags & O_NONBLOCK) |
file | 411 | drivers/char/psaux.c | static int aux_select(struct inode *inode, struct file *file, int sel_type, select_table * wait) |
file | 27 | drivers/char/pty.c | static void pty_close(struct tty_struct * tty, struct file * filp) |
file | 92 | drivers/char/pty.c | int pty_open(struct tty_struct *tty, struct file * filp) |
file | 1347 | drivers/char/serial.c | static int rs_ioctl(struct tty_struct *tty, struct file * file, |
file | 1463 | drivers/char/serial.c | static void rs_close(struct tty_struct *tty, struct file * filp) |
file | 1570 | drivers/char/serial.c | static int block_til_ready(struct tty_struct *tty, struct file * filp, |
file | 1694 | drivers/char/serial.c | int rs_open(struct tty_struct *tty, struct file * filp) |
file | 1772 | drivers/char/tpqic02.c | static int tape_qic02_lseek(struct inode * inode, struct file * file, off_t offset, int origin) |
file | 1810 | drivers/char/tpqic02.c | static int tape_qic02_read(struct inode * inode, struct file * filp, char * buf, int count) |
file | 1980 | drivers/char/tpqic02.c | static int tape_qic02_write(struct inode * inode, struct file * filp, char * buf, int count) |
file | 2127 | drivers/char/tpqic02.c | static int tape_qic02_open(struct inode * inode, struct file * filp) |
file | 2284 | drivers/char/tpqic02.c | static int tape_qic02_readdir(struct inode * inode, struct file * filp, struct dirent * dp, int count) |
file | 2290 | drivers/char/tpqic02.c | static void tape_qic02_release(struct inode * inode, struct file * filp) |
file | 2324 | drivers/char/tpqic02.c | static int tape_qic02_ioctl(struct inode * inode, struct file * filp, |
file | 84 | drivers/char/tty_io.c | static int tty_read(struct inode *, struct file *, char *, int); |
file | 85 | drivers/char/tty_io.c | static int tty_write(struct inode *, struct file *, char *, int); |
file | 86 | drivers/char/tty_io.c | static int tty_select(struct inode *, struct file *, int, select_table *); |
file | 87 | drivers/char/tty_io.c | static int tty_open(struct inode *, struct file *); |
file | 88 | drivers/char/tty_io.c | static void tty_release(struct inode *, struct file *); |
file | 188 | drivers/char/tty_io.c | static int hung_up_tty_read(struct inode * inode, struct file * file, char * buf, int count) |
file | 193 | drivers/char/tty_io.c | static int hung_up_tty_write(struct inode * inode, struct file * file, char * buf, int count) |
file | 198 | drivers/char/tty_io.c | static int hung_up_tty_select(struct inode * inode, struct file * filp, int sel_type, select_table * wait) |
file | 203 | drivers/char/tty_io.c | static int hung_up_tty_ioctl(struct inode * inode, struct file * file, |
file | 209 | drivers/char/tty_io.c | static int tty_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
file | 241 | drivers/char/tty_io.c | struct file * filp; |
file | 292 | drivers/char/tty_io.c | int tty_hung_up_p(struct file * filp) |
file | 946 | drivers/char/tty_io.c | static int read_chan(struct tty_struct *tty, struct file *file, |
file | 960 | drivers/char/tty_io.c | if (file->f_inode->i_rdev != CONSOLE_DEV && |
file | 1010 | drivers/char/tty_io.c | if (tty_hung_up_p(file)) |
file | 1014 | drivers/char/tty_io.c | if (file->f_flags & O_NONBLOCK) { |
file | 1096 | drivers/char/tty_io.c | static int write_chan(struct tty_struct * tty, struct file * file, |
file | 1105 | drivers/char/tty_io.c | if (L_TOSTOP(tty) && file->f_inode->i_rdev != CONSOLE_DEV) { |
file | 1118 | drivers/char/tty_io.c | if (tty_hung_up_p(file) || (tty->link && !tty->link->count)) { |
file | 1135 | drivers/char/tty_io.c | if (file->f_flags & O_NONBLOCK) { |
file | 1146 | drivers/char/tty_io.c | static int tty_read(struct inode * inode, struct file * file, char * buf, int count) |
file | 1151 | drivers/char/tty_io.c | dev = file->f_rdev; |
file | 1179 | drivers/char/tty_io.c | i = (ldiscs[tty->disc].read)(tty,file,(unsigned char *)buf,(unsigned int)count); |
file | 1187 | drivers/char/tty_io.c | static int tty_write(struct inode * inode, struct file * file, char * buf, int count) |
file | 1192 | drivers/char/tty_io.c | dev = file->f_rdev; |
file | 1218 | drivers/char/tty_io.c | i = (ldiscs[tty->disc].write)(tty,file,(unsigned char *)buf,(unsigned int)count); |
file | 1352 | drivers/char/tty_io.c | static void release_dev(int dev, struct file * filp) |
file | 1463 | drivers/char/tty_io.c | static int tty_open(struct inode * inode, struct file * filp) |
file | 1555 | drivers/char/tty_io.c | static void tty_release(struct inode * inode, struct file * filp) |
file | 1572 | drivers/char/tty_io.c | static int tty_select(struct inode * inode, struct file * filp, int sel_type, select_table * wait) |
file | 1595 | drivers/char/tty_io.c | struct file * file, int sel_type, select_table *wait) |
file | 1607 | drivers/char/tty_io.c | if (tty_hung_up_p(file)) |
file | 1641 | drivers/char/tty_io.c | struct file *filp; |
file | 337 | drivers/char/tty_ioctl.c | int tty_ioctl(struct inode * inode, struct file * file, |
file | 348 | drivers/char/tty_ioctl.c | if (MAJOR(file->f_rdev) != TTY_MAJOR) { |
file | 352 | drivers/char/tty_ioctl.c | dev = MINOR(file->f_rdev); |
file | 593 | drivers/char/tty_ioctl.c | file->f_flags |= O_NONBLOCK; |
file | 595 | drivers/char/tty_ioctl.c | file->f_flags &= ~O_NONBLOCK; |
file | 657 | drivers/char/tty_ioctl.c | tty->ioctl(tty, file, cmd, arg); |
file | 661 | drivers/char/tty_ioctl.c | retval = (tty->ioctl)(tty, file, cmd, arg); |
file | 667 | drivers/char/tty_ioctl.c | (tty, file, cmd, arg); |
file | 116 | drivers/char/vt.c | int vt_ioctl(struct tty_struct *tty, struct file * file, |
file | 1044 | drivers/net/slip.c | slip_ioctl(struct tty_struct *tty, void *file, int cmd, void *arg) |
file | 1124 | drivers/net/slip.c | sl_ldisc.ioctl = (int (*)(struct tty_struct *, struct file *, |
file | 54 | drivers/scsi/sd.c | extern int sd_ioctl(struct inode *, struct file *, unsigned int, unsigned long); |
file | 60 | drivers/scsi/sd.c | static int sd_open(struct inode * inode, struct file * filp) |
file | 83 | drivers/scsi/sd.c | static void sd_release(struct inode * inode, struct file * file) |
file | 17 | drivers/scsi/sd_ioctl.c | int sd_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg) |
file | 54 | drivers/scsi/sg.c | static int sg_ioctl(struct inode * inode,struct file * file, |
file | 72 | drivers/scsi/sg.c | static int sg_open(struct inode * inode, struct file * filp) |
file | 112 | drivers/scsi/sg.c | static void sg_close(struct inode * inode, struct file * filp) |
file | 153 | drivers/scsi/sg.c | static int sg_read(struct inode *inode,struct file *filp,char *buf,int count) |
file | 207 | drivers/scsi/sg.c | static int sg_write(struct inode *inode,struct file *filp,char *buf,int count) |
file | 41 | drivers/scsi/sr.c | static int sr_open(struct inode *, struct file *); |
file | 44 | drivers/scsi/sr.c | extern int sr_ioctl(struct inode *, struct file *, unsigned int, unsigned long); |
file | 48 | drivers/scsi/sr.c | static void sr_release(struct inode * inode, struct file * file) |
file | 260 | drivers/scsi/sr.c | static int sr_open(struct inode * inode, struct file * filp) |
file | 93 | drivers/scsi/sr_ioctl.c | int sr_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg) |
file | 113 | drivers/scsi/st.c | static int st_int_ioctl(struct inode * inode,struct file * file, |
file | 309 | drivers/scsi/st.c | flush_buffer(struct inode * inode, struct file * filp, int seek_next) |
file | 351 | drivers/scsi/st.c | scsi_tape_open(struct inode * inode, struct file * filp) |
file | 541 | drivers/scsi/st.c | scsi_tape_close(struct inode * inode, struct file * filp) |
file | 608 | drivers/scsi/st.c | st_write(struct inode * inode, struct file * filp, char * buf, int count) |
file | 823 | drivers/scsi/st.c | st_read(struct inode * inode, struct file * filp, char * buf, int count) |
file | 1018 | drivers/scsi/st.c | st_int_ioctl(struct inode * inode,struct file * file, |
file | 1244 | drivers/scsi/st.c | ioctl_result = st_int_ioctl(inode, file, MTFSF, 1); |
file | 1246 | drivers/scsi/st.c | ioctl_result = st_int_ioctl(inode, file, MTBSF, 1); |
file | 1283 | drivers/scsi/st.c | st_ioctl(struct inode * inode,struct file * file, |
file | 1315 | drivers/scsi/st.c | i = flush_buffer(inode, file, mtc.mt_op == MTSEEK || |
file | 1321 | drivers/scsi/st.c | return st_int_ioctl(inode, file, mtc.mt_op, mtc.mt_count); |
file | 1342 | drivers/scsi/st.c | i = flush_buffer(inode, file, 0); |
file | 54 | drivers/sound/audio.c | audio_open (int dev, struct fileinfo *file) |
file | 59 | drivers/sound/audio.c | int mode = file->mode & O_ACCMODE; |
file | 73 | drivers/sound/audio.c | audio_release (dev, file); |
file | 84 | drivers/sound/audio.c | audio_release (int dev, struct fileinfo *file) |
file | 89 | drivers/sound/audio.c | mode = file->mode & O_ACCMODE; |
file | 127 | drivers/sound/audio.c | audio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 207 | drivers/sound/audio.c | audio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 262 | drivers/sound/audio.c | audio_ioctl (int dev, struct fileinfo *file, |
file | 314 | drivers/sound/audio.c | audio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 320 | drivers/sound/audio.c | audio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 326 | drivers/sound/audio.c | audio_open (int dev, struct fileinfo *file) |
file | 332 | drivers/sound/audio.c | audio_release (int dev, struct fileinfo *file) |
file | 336 | drivers/sound/audio.c | audio_ioctl (int dev, struct fileinfo *file, |
file | 343 | drivers/sound/audio.c | audio_lseek (int dev, struct fileinfo *file, off_t offset, int orig) |
file | 44 | drivers/sound/midibuf.c | MIDIbuf_open (int dev, struct fileinfo *file) |
file | 49 | drivers/sound/midibuf.c | mode = file->mode & O_ACCMODE; |
file | 69 | drivers/sound/midibuf.c | MIDIbuf_release (int dev, struct fileinfo *file) |
file | 74 | drivers/sound/midibuf.c | mode = file->mode & O_ACCMODE; |
file | 81 | drivers/sound/midibuf.c | MIDIbuf_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 91 | drivers/sound/midibuf.c | MIDIbuf_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 99 | drivers/sound/midibuf.c | MIDIbuf_ioctl (int dev, struct fileinfo *file, |
file | 84 | drivers/sound/patmgr.c | pmgr_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 122 | drivers/sound/patmgr.c | pmgr_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 77 | drivers/sound/sequencer.c | sequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 85 | drivers/sound/sequencer.c | return pmgr_read (dev - 1, file, buf, count); |
file | 168 | drivers/sound/sequencer.c | sequencer_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 173 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
file | 183 | drivers/sound/sequencer.c | return pmgr_write (dev - 1, file, buf, count); |
file | 242 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
file | 481 | drivers/sound/sequencer.c | sequencer_open (int dev, struct fileinfo *file) |
file | 486 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
file | 596 | drivers/sound/sequencer.c | sequencer_release (int dev, struct fileinfo *file) |
file | 599 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
file | 725 | drivers/sound/sequencer.c | sequencer_ioctl (int dev, struct fileinfo *file, |
file | 729 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
file | 767 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
file | 992 | drivers/sound/sequencer.c | sequencer_select (int dev, struct fileinfo *file, int sel_type, select_table * wait) |
file | 1128 | drivers/sound/sequencer.c | sequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 1134 | drivers/sound/sequencer.c | sequencer_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 1140 | drivers/sound/sequencer.c | sequencer_open (int dev, struct fileinfo *file) |
file | 1146 | drivers/sound/sequencer.c | sequencer_release (int dev, struct fileinfo *file) |
file | 1150 | drivers/sound/sequencer.c | sequencer_ioctl (int dev, struct fileinfo *file, |
file | 1157 | drivers/sound/sequencer.c | sequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig) |
file | 1169 | drivers/sound/sequencer.c | sequencer_select (int dev, struct fileinfo *file, int sel_type, select_table * wait) |
file | 25 | drivers/sound/sound_calls.h | int audio_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
file | 26 | drivers/sound/sound_calls.h | int audio_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
file | 27 | drivers/sound/sound_calls.h | int audio_open (int dev, struct fileinfo *file); |
file | 28 | drivers/sound/sound_calls.h | void audio_release (int dev, struct fileinfo *file); |
file | 29 | drivers/sound/sound_calls.h | int audio_ioctl (int dev, struct fileinfo *file, |
file | 31 | drivers/sound/sound_calls.h | int audio_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
file | 38 | drivers/sound/sound_calls.h | int sequencer_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
file | 39 | drivers/sound/sound_calls.h | int sequencer_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
file | 40 | drivers/sound/sound_calls.h | int sequencer_open (int dev, struct fileinfo *file); |
file | 41 | drivers/sound/sound_calls.h | void sequencer_release (int dev, struct fileinfo *file); |
file | 42 | drivers/sound/sound_calls.h | int sequencer_ioctl (int dev, struct fileinfo *file, |
file | 44 | drivers/sound/sound_calls.h | int sequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
file | 51 | drivers/sound/sound_calls.h | int sequencer_select(int dev, struct fileinfo *file, int sel_type, select_table * wait); |
file | 58 | drivers/sound/sound_calls.h | int MIDIbuf_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
file | 59 | drivers/sound/sound_calls.h | int MIDIbuf_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
file | 60 | drivers/sound/sound_calls.h | int MIDIbuf_open (int dev, struct fileinfo *file); |
file | 61 | drivers/sound/sound_calls.h | void MIDIbuf_release (int dev, struct fileinfo *file); |
file | 62 | drivers/sound/sound_calls.h | int MIDIbuf_ioctl (int dev, struct fileinfo *file, |
file | 64 | drivers/sound/sound_calls.h | int MIDIbuf_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
file | 74 | drivers/sound/sound_calls.h | int CMIDI_open (int dev, struct fileinfo *file); |
file | 75 | drivers/sound/sound_calls.h | int CMIDI_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
file | 76 | drivers/sound/sound_calls.h | int CMIDI_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
file | 77 | drivers/sound/sound_calls.h | int CMIDI_close (int dev, struct fileinfo *file); |
file | 104 | drivers/sound/sound_calls.h | int sound_read_sw (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
file | 105 | drivers/sound/sound_calls.h | int sound_write_sw (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
file | 106 | drivers/sound/sound_calls.h | int sound_open_sw (int dev, struct fileinfo *file); |
file | 107 | drivers/sound/sound_calls.h | void sound_release_sw (int dev, struct fileinfo *file); |
file | 108 | drivers/sound/sound_calls.h | int sound_ioctl_sw (int dev, struct fileinfo *file, |
file | 201 | drivers/sound/sound_calls.h | int pmgr_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count); |
file | 202 | drivers/sound/sound_calls.h | int pmgr_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count); |
file | 242 | drivers/sound/sound_switch.c | sound_read_sw (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 255 | drivers/sound/sound_switch.c | return audio_read (dev, file, buf, count); |
file | 259 | drivers/sound/sound_switch.c | return sequencer_read (dev, file, buf, count); |
file | 264 | drivers/sound/sound_switch.c | return MIDIbuf_read (dev, file, buf, count); |
file | 275 | drivers/sound/sound_switch.c | sound_write_sw (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
file | 284 | drivers/sound/sound_switch.c | return sequencer_write (dev, file, buf, count); |
file | 290 | drivers/sound/sound_switch.c | return audio_write (dev, file, buf, count); |
file | 301 | drivers/sound/sound_switch.c | sound_open_sw (int dev, struct fileinfo *file) |
file | 330 | drivers/sound/sound_switch.c | if ((retval = sequencer_open (dev, file)) < 0) |
file | 336 | drivers/sound/sound_switch.c | if ((retval = MIDIbuf_open (dev, file)) < 0) |
file | 344 | drivers/sound/sound_switch.c | if ((retval = audio_open (dev, file)) < 0) |
file | 360 | drivers/sound/sound_switch.c | sound_release_sw (int dev, struct fileinfo *file) |
file | 378 | drivers/sound/sound_switch.c | sequencer_release (dev, file); |
file | 383 | drivers/sound/sound_switch.c | MIDIbuf_release (dev, file); |
file | 390 | drivers/sound/sound_switch.c | audio_release (dev, file); |
file | 402 | drivers/sound/sound_switch.c | sound_ioctl_sw (int dev, struct fileinfo *file, |
file | 422 | drivers/sound/sound_switch.c | return sequencer_ioctl (dev, file, cmd, arg); |
file | 428 | drivers/sound/sound_switch.c | return audio_ioctl (dev, file, cmd, arg); |
file | 433 | drivers/sound/sound_switch.c | return MIDIbuf_ioctl (dev, file, cmd, arg); |
file | 61 | drivers/sound/soundcard.c | sound_read (struct inode *inode, struct file *file, char *buf, int count) |
file | 72 | drivers/sound/soundcard.c | sound_write (struct inode *inode, struct file *file, char *buf, int count) |
file | 83 | drivers/sound/soundcard.c | sound_lseek (struct inode *inode, struct file *file, off_t offset, int orig) |
file | 89 | drivers/sound/soundcard.c | sound_open (struct inode *inode, struct file *file) |
file | 104 | drivers/sound/soundcard.c | if ((file->f_flags & O_ACCMODE) == O_RDWR) |
file | 106 | drivers/sound/soundcard.c | if ((file->f_flags & O_ACCMODE) == O_RDONLY) |
file | 108 | drivers/sound/soundcard.c | if ((file->f_flags & O_ACCMODE) == O_WRONLY) |
file | 115 | drivers/sound/soundcard.c | sound_release (struct inode *inode, struct file *file) |
file | 126 | drivers/sound/soundcard.c | sound_ioctl (struct inode *inode, struct file *file, |
file | 138 | drivers/sound/soundcard.c | sound_select (struct inode *inode, struct file *file, int sel_type, select_table * wait) |
file | 40 | fs/binfmt_coff.c | struct file *fp); |
file | 126 | fs/binfmt_coff.c | struct file *fp = NULL; /* Pointer to the file at "fd" */ |
file | 622 | fs/binfmt_coff.c | COFF_SCNHDR * sect, struct file *fp) |
file | 753 | fs/binfmt_coff.c | struct file *file; /* Pointer to the file table */ |
file | 759 | fs/binfmt_coff.c | file = current->files->fd[fd]; |
file | 760 | fs/binfmt_coff.c | bprm->inode = file->f_inode; /* The only item _really_ needed */ |
file | 122 | fs/binfmt_elf.c | struct file * file; |
file | 164 | fs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
file | 169 | fs/binfmt_elf.c | error = do_mmap(file, |
file | 258 | fs/binfmt_elf.c | struct file * file; |
file | 321 | fs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
file | 469 | fs/binfmt_elf.c | error = do_mmap(file, |
file | 549 | fs/binfmt_elf.c | struct file * file; |
file | 561 | fs/binfmt_elf.c | file = current->files->fd[fd]; |
file | 562 | fs/binfmt_elf.c | inode = file->f_inode; |
file | 566 | fs/binfmt_elf.c | if (file->f_op->read(inode, file, (char *) &elf_ex, sizeof(elf_ex)) != sizeof(elf_ex)) { |
file | 610 | fs/binfmt_elf.c | error = do_mmap(file, |
file | 19 | fs/block_dev.c | int block_write(struct inode * inode, struct file * filp, char * buf, int count) |
file | 124 | fs/block_dev.c | int block_read(struct inode * inode, struct file * filp, char * buf, int count) |
file | 273 | fs/block_dev.c | int block_fsync(struct inode *inode, struct file *filp) |
file | 247 | fs/buffer.c | int file_fsync (struct inode *inode, struct file *filp) |
file | 254 | fs/buffer.c | struct file * file; |
file | 257 | fs/buffer.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
file | 259 | fs/buffer.c | if (!file->f_op || !file->f_op->fsync) |
file | 261 | fs/buffer.c | if (file->f_op->fsync(inode,file)) |
file | 116 | fs/devices.c | int blkdev_open(struct inode * inode, struct file * filp) |
file | 167 | fs/devices.c | int chrdev_open(struct inode * inode, struct file * filp) |
file | 59 | fs/exec.c | struct file *f, **fpp; |
file | 99 | fs/exec.c | while (file.f_op->write(inode,&file,(char *)(addr),(nr)) != (nr)) goto close_coredump |
file | 102 | fs/exec.c | if (file.f_op->lseek) { \ |
file | 103 | fs/exec.c | if (file.f_op->lseek(inode,&file,(offset),0) != (offset)) \ |
file | 105 | fs/exec.c | } else file.f_pos = (offset) |
file | 119 | fs/exec.c | struct file file; |
file | 150 | fs/exec.c | file.f_mode = 3; |
file | 151 | fs/exec.c | file.f_flags = 0; |
file | 152 | fs/exec.c | file.f_count = 1; |
file | 153 | fs/exec.c | file.f_inode = inode; |
file | 154 | fs/exec.c | file.f_pos = 0; |
file | 155 | fs/exec.c | file.f_reada = 0; |
file | 156 | fs/exec.c | file.f_op = inode->i_op->default_file_ops; |
file | 157 | fs/exec.c | if (file.f_op->open) |
file | 158 | fs/exec.c | if (file.f_op->open(inode,&file)) |
file | 160 | fs/exec.c | if (!file.f_op->write) |
file | 224 | fs/exec.c | if (file.f_op->release) |
file | 225 | fs/exec.c | file.f_op->release(inode,&file); |
file | 241 | fs/exec.c | struct file * file; |
file | 247 | fs/exec.c | file = current->files->fd[fd]; |
file | 249 | fs/exec.c | if (file && file->f_inode && file->f_op && file->f_op->read) { |
file | 423 | fs/exec.c | struct file file; |
file | 428 | fs/exec.c | file.f_mode = 1; |
file | 429 | fs/exec.c | file.f_flags = 0; |
file | 430 | fs/exec.c | file.f_count = 1; |
file | 431 | fs/exec.c | file.f_inode = inode; |
file | 432 | fs/exec.c | file.f_pos = 0; |
file | 433 | fs/exec.c | file.f_reada = 0; |
file | 434 | fs/exec.c | file.f_op = inode->i_op->default_file_ops; |
file | 435 | fs/exec.c | if (file.f_op->open) |
file | 436 | fs/exec.c | if (file.f_op->open(inode,&file)) |
file | 438 | fs/exec.c | if (!file.f_op || !file.f_op->read) |
file | 440 | fs/exec.c | if (file.f_op->lseek) { |
file | 441 | fs/exec.c | if (file.f_op->lseek(inode,&file,offset,0) != offset) |
file | 444 | fs/exec.c | file.f_pos = offset; |
file | 450 | fs/exec.c | result = file.f_op->read(inode, &file, addr, count); |
file | 452 | fs/exec.c | if (file.f_op->release) |
file | 453 | fs/exec.c | file.f_op->release(inode,&file); |
file | 776 | fs/exec.c | struct file * file; |
file | 825 | fs/exec.c | file = current->files->fd[fd]; |
file | 826 | fs/exec.c | if (!file->f_op || !file->f_op->mmap) { |
file | 835 | fs/exec.c | error = do_mmap(file, N_TXTADDR(ex), ex.a_text, |
file | 845 | fs/exec.c | error = do_mmap(file, N_TXTADDR(ex) + ex.a_text, ex.a_data, |
file | 873 | fs/exec.c | struct file * file; |
file | 881 | fs/exec.c | file = current->files->fd[fd]; |
file | 882 | fs/exec.c | inode = file->f_inode; |
file | 885 | fs/exec.c | if (file->f_op->read(inode, file, (char *) &ex, sizeof(ex)) != sizeof(ex)) { |
file | 910 | fs/exec.c | error = do_mmap(file, start_addr, ex.a_text + ex.a_data, |
file | 23 | fs/ext/dir.c | static int ext_dir_read(struct inode * inode, struct file * filp, char * buf, int count) |
file | 28 | fs/ext/dir.c | static int ext_readdir(struct inode *, struct file *, struct dirent *, int); |
file | 64 | fs/ext/dir.c | static int ext_readdir(struct inode * inode, struct file * filp, |
file | 34 | fs/ext/file.c | static int ext_file_read(struct inode *, struct file *, char *, int); |
file | 35 | fs/ext/file.c | static int ext_file_write(struct inode *, struct file *, char *, int); |
file | 72 | fs/ext/file.c | static int ext_file_read(struct inode * inode, struct file * filp, char * buf, int count) |
file | 197 | fs/ext/file.c | static int ext_file_write(struct inode * inode, struct file * filp, char * buf, int count) |
file | 169 | fs/ext/fsync.c | int ext_sync_file(struct inode * inode, struct file *file) |
file | 249 | fs/ext/truncate.c | void ext_release(struct inode * inode, struct file * filp) |
file | 25 | fs/ext2/dir.c | static int ext2_dir_read (struct inode * inode, struct file * filp, |
file | 31 | fs/ext2/dir.c | static int ext2_readdir (struct inode *, struct file *, struct dirent *, int); |
file | 91 | fs/ext2/dir.c | static int ext2_readdir (struct inode * inode, struct file * filp, |
file | 36 | fs/ext2/file.c | static int ext2_file_read (struct inode *, struct file *, char *, int); |
file | 37 | fs/ext2/file.c | static int ext2_file_write (struct inode *, struct file *, char *, int); |
file | 38 | fs/ext2/file.c | static void ext2_release_file (struct inode *, struct file *); |
file | 75 | fs/ext2/file.c | static int ext2_file_read (struct inode * inode, struct file * filp, |
file | 226 | fs/ext2/file.c | static int ext2_file_write (struct inode * inode, struct file * filp, |
file | 303 | fs/ext2/file.c | static void ext2_release_file (struct inode * inode, struct file * filp) |
file | 169 | fs/ext2/fsync.c | int ext2_sync_file (struct inode * inode, struct file * file) |
file | 17 | fs/ext2/ioctl.c | int ext2_ioctl (struct inode * inode, struct file * filp, unsigned int cmd, |
file | 18 | fs/fcntl.c | extern int sock_fcntl (struct file *, unsigned int cmd, unsigned long arg); |
file | 68 | fs/fcntl.c | struct file * filp; |
file | 12 | fs/fifo.c | static int fifo_open(struct inode * inode,struct file * filp) |
file | 11 | fs/file_table.c | struct file * first_file; |
file | 14 | fs/file_table.c | static void insert_file_free(struct file *file) |
file | 16 | fs/file_table.c | file->f_next = first_file; |
file | 17 | fs/file_table.c | file->f_prev = first_file->f_prev; |
file | 18 | fs/file_table.c | file->f_next->f_prev = file; |
file | 19 | fs/file_table.c | file->f_prev->f_next = file; |
file | 20 | fs/file_table.c | first_file = file; |
file | 23 | fs/file_table.c | static void remove_file_free(struct file *file) |
file | 25 | fs/file_table.c | if (first_file == file) |
file | 27 | fs/file_table.c | if (file->f_next) |
file | 28 | fs/file_table.c | file->f_next->f_prev = file->f_prev; |
file | 29 | fs/file_table.c | if (file->f_prev) |
file | 30 | fs/file_table.c | file->f_prev->f_next = file->f_next; |
file | 31 | fs/file_table.c | file->f_next = file->f_prev = NULL; |
file | 34 | fs/file_table.c | static void put_last_free(struct file *file) |
file | 36 | fs/file_table.c | remove_file_free(file); |
file | 37 | fs/file_table.c | file->f_prev = first_file->f_prev; |
file | 38 | fs/file_table.c | file->f_prev->f_next = file; |
file | 39 | fs/file_table.c | file->f_next = first_file; |
file | 40 | fs/file_table.c | file->f_next->f_prev = file; |
file | 45 | fs/file_table.c | struct file * file; |
file | 48 | fs/file_table.c | file = (struct file *) get_free_page(GFP_KERNEL); |
file | 50 | fs/file_table.c | if (!file) |
file | 53 | fs/file_table.c | nr_files+=i= PAGE_SIZE/sizeof(struct file); |
file | 56 | fs/file_table.c | file->f_next = file->f_prev = first_file = file++, i--; |
file | 59 | fs/file_table.c | insert_file_free(file++); |
file | 68 | fs/file_table.c | struct file * get_empty_filp(void) |
file | 71 | fs/file_table.c | struct file * f; |
file | 144 | fs/hpfs/hpfs_fs.c | static int hpfs_file_read(struct inode *, struct file *, char *, int); |
file | 183 | fs/hpfs/hpfs_fs.c | static int hpfs_dir_read(struct inode *inode, struct file *filp, |
file | 185 | fs/hpfs/hpfs_fs.c | static int hpfs_readdir(struct inode *inode, struct file *filp, |
file | 863 | fs/hpfs/hpfs_fs.c | static int hpfs_file_read(struct inode *inode, struct file *filp, |
file | 1329 | fs/hpfs/hpfs_fs.c | static int hpfs_readdir(struct inode *inode, struct file *filp, |
file | 1561 | fs/hpfs/hpfs_fs.c | static int hpfs_dir_read(struct inode *inode, struct file *filp, |
file | 198 | fs/inode.c | struct file * file; |
file | 202 | fs/inode.c | for (file = first_file, i=0; i<nr_files; i++, file=file->f_next) { |
file | 203 | fs/inode.c | if (!file->f_count || !file->f_inode || |
file | 204 | fs/inode.c | file->f_inode->i_dev != dev) |
file | 206 | fs/inode.c | if (S_ISREG(file->f_inode->i_mode) && (file->f_mode & 2)) |
file | 16 | fs/ioctl.c | static int file_ioctl(struct file *filp,unsigned int cmd,unsigned long arg) |
file | 59 | fs/ioctl.c | struct file * filp; |
file | 25 | fs/isofs/dir.c | static int isofs_readdir(struct inode *, struct file *, struct dirent *, int); |
file | 66 | fs/isofs/dir.c | static int isofs_readdir(struct inode * inode, struct file * filp, |
file | 32 | fs/isofs/file.c | static int isofs_file_read(struct inode *, struct file *, char *, int); |
file | 114 | fs/isofs/file.c | static int isofs_file_read(struct inode * inode, struct file * filp, char * buf, int count) |
file | 25 | fs/locks.c | static int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l, |
file | 29 | fs/locks.c | static int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd); |
file | 58 | fs/locks.c | struct file *filp; |
file | 97 | fs/locks.c | struct file *filp; |
file | 173 | fs/locks.c | void fcntl_remove_locks(struct task_struct *task, struct file *filp, |
file | 196 | fs/locks.c | static int copy_flock(struct file *filp, struct file_lock *fl, struct flock *l, |
file | 272 | fs/locks.c | static int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd) |
file | 16 | fs/minix/dir.c | static int minix_dir_read(struct inode * inode, struct file * filp, char * buf, int count) |
file | 21 | fs/minix/dir.c | static int minix_readdir(struct inode *, struct file *, struct dirent *, int); |
file | 57 | fs/minix/dir.c | static int minix_readdir(struct inode * inode, struct file * filp, |
file | 28 | fs/minix/file.c | static int minix_file_read(struct inode *, struct file *, char *, int); |
file | 29 | fs/minix/file.c | static int minix_file_write(struct inode *, struct file *, char *, int); |
file | 66 | fs/minix/file.c | static int minix_file_read(struct inode * inode, struct file * filp, char * buf, int count) |
file | 189 | fs/minix/file.c | static int minix_file_write(struct inode * inode, struct file * filp, char * buf, int count) |
file | 143 | fs/minix/fsync.c | int minix_sync_file(struct inode * inode, struct file * file) |
file | 17 | fs/msdos/dir.c | static int msdos_dir_read(struct inode * inode,struct file * filp, char * buf,int count) |
file | 22 | fs/msdos/dir.c | static int msdos_readdir(struct inode *inode,struct file *filp, |
file | 57 | fs/msdos/dir.c | static int msdos_readdir(struct inode *inode,struct file *filp, |
file | 22 | fs/msdos/file.c | static int msdos_file_read(struct inode *inode,struct file *filp,char *buf, |
file | 24 | fs/msdos/file.c | static int msdos_file_write(struct inode *inode,struct file *filp,char *buf, |
file | 80 | fs/msdos/file.c | static int msdos_file_read(struct inode *inode,struct file *filp,char *buf, |
file | 135 | fs/msdos/file.c | static int msdos_file_write(struct inode *inode,struct file *filp,char *buf, |
file | 21 | fs/nfs/dir.c | static int nfs_dir_read(struct inode *, struct file *filp, char *buf, |
file | 23 | fs/nfs/dir.c | static int nfs_readdir(struct inode *, struct file *, struct dirent *, int); |
file | 72 | fs/nfs/dir.c | static int nfs_dir_read(struct inode *inode, struct file *filp, char *buf, |
file | 86 | fs/nfs/dir.c | static int nfs_readdir(struct inode *inode, struct file *filp, |
file | 272 | fs/nfs/dir.c | static void nfs_lookup_cache_refresh(struct inode *file, |
file | 276 | fs/nfs/dir.c | int dev = file->i_dev; |
file | 277 | fs/nfs/dir.c | int fileid = file->i_ino; |
file | 21 | fs/nfs/file.c | static int nfs_file_read(struct inode *, struct file *, char *, int); |
file | 22 | fs/nfs/file.c | static int nfs_file_write(struct inode *, struct file *, char *, int); |
file | 23 | fs/nfs/file.c | static int nfs_fsync(struct inode *, struct file *); |
file | 24 | fs/nfs/file.c | extern int nfs_mmap(struct inode * inode, struct file * file, |
file | 57 | fs/nfs/file.c | static int nfs_fsync(struct inode *inode, struct file *file) |
file | 62 | fs/nfs/file.c | static int nfs_file_read(struct inode *inode, struct file *file, char *buf, |
file | 82 | fs/nfs/file.c | pos = file->f_pos; |
file | 83 | fs/nfs/file.c | if (file->f_pos + count > inode->i_size) |
file | 107 | fs/nfs/file.c | file->f_pos = pos; |
file | 113 | fs/nfs/file.c | static int nfs_file_write(struct inode *inode, struct file *file, char *buf, |
file | 135 | fs/nfs/file.c | pos = file->f_pos; |
file | 136 | fs/nfs/file.c | if (file->f_flags & O_APPEND) |
file | 158 | fs/nfs/file.c | file->f_pos = pos; |
file | 21 | fs/nfs/inode.c | extern int close_fp(struct file *filp, unsigned int fd); |
file | 47 | fs/nfs/inode.c | close_fp(sb->u.nfs_sb.s_server.file, 0); |
file | 67 | fs/nfs/inode.c | struct file *filp; |
file | 98 | fs/nfs/inode.c | server->file = filp; |
file | 51 | fs/nfs/mmap.c | int nfs_mmap(struct inode * inode, struct file * file, |
file | 36 | fs/nfs/sock.c | struct file *file; |
file | 45 | fs/nfs/sock.c | int (*select) (struct inode *, struct file *, int, select_table *); |
file | 57 | fs/nfs/sock.c | file = server->file; |
file | 58 | fs/nfs/sock.c | inode = file->f_inode; |
file | 59 | fs/nfs/sock.c | select = file->f_op->select; |
file | 93 | fs/nfs/sock.c | if (!select(inode, file, SEL_IN, &wait_table) |
file | 94 | fs/nfs/sock.c | && !select(inode, file, SEL_IN, NULL)) { |
file | 22 | fs/open.c | extern void fcntl_remove_locks(struct task_struct *, struct file *, unsigned int fd); |
file | 52 | fs/open.c | struct file * file; |
file | 58 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
file | 60 | fs/open.c | if (!(inode = file->f_inode)) |
file | 97 | fs/open.c | struct file * file; |
file | 99 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
file | 101 | fs/open.c | if (!(inode = file->f_inode)) |
file | 103 | fs/open.c | if (S_ISDIR(inode->i_mode) || !(file->f_mode & 2)) |
file | 216 | fs/open.c | struct file * file; |
file | 218 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
file | 220 | fs/open.c | if (!(inode = file->f_inode)) |
file | 256 | fs/open.c | struct file * file; |
file | 258 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
file | 260 | fs/open.c | if (!(inode = file->f_inode)) |
file | 307 | fs/open.c | struct file * file; |
file | 309 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
file | 311 | fs/open.c | if (!(inode = file->f_inode)) |
file | 379 | fs/open.c | struct file * f; |
file | 442 | fs/open.c | int close_fp(struct file *filp, unsigned int fd) |
file | 467 | fs/open.c | struct file * filp; |
file | 24 | fs/pipe.c | static int pipe_read(struct inode * inode, struct file * filp, char * buf, int count) |
file | 71 | fs/pipe.c | static int pipe_write(struct inode * inode, struct file * filp, char * buf, int count) |
file | 118 | fs/pipe.c | static int pipe_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
file | 123 | fs/pipe.c | static int pipe_readdir(struct inode * inode, struct file * file, struct dirent * de, int count) |
file | 128 | fs/pipe.c | static int bad_pipe_rw(struct inode * inode, struct file * filp, char * buf, int count) |
file | 133 | fs/pipe.c | static int pipe_ioctl(struct inode *pino, struct file * filp, |
file | 149 | fs/pipe.c | static int pipe_select(struct inode * inode, struct file * filp, int sel_type, select_table * wait) |
file | 175 | fs/pipe.c | static int fifo_select(struct inode * inode, struct file * filp, int sel_type, select_table * wait) |
file | 202 | fs/pipe.c | static int connect_read(struct inode * inode, struct file * filp, char * buf, int count) |
file | 218 | fs/pipe.c | static int connect_select(struct inode * inode, struct file * filp, int sel_type, select_table * wait) |
file | 246 | fs/pipe.c | static void pipe_read_release(struct inode * inode, struct file * filp) |
file | 252 | fs/pipe.c | static void pipe_write_release(struct inode * inode, struct file * filp) |
file | 258 | fs/pipe.c | static void pipe_rdwr_release(struct inode * inode, struct file * filp) |
file | 381 | fs/pipe.c | struct file * f[2]; |
file | 39 | fs/proc/array.c | static int read_core(struct inode * inode, struct file * file,char * buf, int count) |
file | 41 | fs/proc/array.c | unsigned long p = file->f_pos; |
file | 80 | fs/proc/array.c | file->f_pos += read; |
file | 471 | fs/proc/array.c | static int array_read(struct inode * inode, struct file * file,char * buf, int count) |
file | 517 | fs/proc/array.c | return read_core(inode, file, buf, count); |
file | 537 | fs/proc/array.c | if (file->f_pos >= length) { |
file | 541 | fs/proc/array.c | if (count + file->f_pos > length) |
file | 542 | fs/proc/array.c | count = length - file->f_pos; |
file | 543 | fs/proc/array.c | end = count + file->f_pos; |
file | 544 | fs/proc/array.c | memcpy_tofs(buf, page + file->f_pos, count); |
file | 546 | fs/proc/array.c | file->f_pos = end; |
file | 16 | fs/proc/base.c | static int proc_readbase(struct inode *, struct file *, struct dirent *, int); |
file | 132 | fs/proc/base.c | static int proc_readbase(struct inode * inode, struct file * filp, |
file | 16 | fs/proc/fd.c | static int proc_readfd(struct inode *, struct file *, struct dirent *, int); |
file | 126 | fs/proc/fd.c | static int proc_readfd(struct inode * inode, struct file * filp, |
file | 21 | fs/proc/kmsg.c | static int kmsg_open(struct inode * inode, struct file * file) |
file | 26 | fs/proc/kmsg.c | static void kmsg_release(struct inode * inode, struct file * file) |
file | 31 | fs/proc/kmsg.c | static int kmsg_read(struct inode * inode, struct file * file,char * buf, int count) |
file | 36 | fs/proc/kmsg.c | static int kmsg_select(struct inode *inode, struct file *file, int sel_type, select_table * wait) |
file | 23 | fs/proc/mem.c | static int mem_read(struct inode * inode, struct file * file,char * buf, int count) |
file | 42 | fs/proc/mem.c | addr = file->f_pos; |
file | 65 | fs/proc/mem.c | file->f_pos = addr; |
file | 71 | fs/proc/mem.c | static int mem_write(struct inode * inode, struct file * file,char * buf, int count) |
file | 80 | fs/proc/mem.c | addr = file->f_pos; |
file | 117 | fs/proc/mem.c | file->f_pos = addr; |
file | 127 | fs/proc/mem.c | static int mem_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
file | 131 | fs/proc/mem.c | file->f_pos = offset; |
file | 132 | fs/proc/mem.c | return file->f_pos; |
file | 134 | fs/proc/mem.c | file->f_pos += offset; |
file | 135 | fs/proc/mem.c | return file->f_pos; |
file | 33 | fs/proc/net.c | static int proc_readnet(struct inode * inode, struct file * file, |
file | 35 | fs/proc/net.c | static int proc_readnetdir(struct inode *, struct file *, |
file | 139 | fs/proc/net.c | static int proc_readnetdir(struct inode * inode, struct file * filp, |
file | 168 | fs/proc/net.c | static int proc_readnet(struct inode * inode, struct file * file, |
file | 194 | fs/proc/net.c | length = unix_get_info(page,&start,file->f_pos,thistime); |
file | 198 | fs/proc/net.c | length = arp_get_info(page,&start,file->f_pos,thistime); |
file | 201 | fs/proc/net.c | length = rt_get_info(page,&start,file->f_pos,thistime); |
file | 204 | fs/proc/net.c | length = dev_get_info(page,&start,file->f_pos,thistime); |
file | 207 | fs/proc/net.c | length = raw_get_info(page,&start,file->f_pos,thistime); |
file | 210 | fs/proc/net.c | length = tcp_get_info(page,&start,file->f_pos,thistime); |
file | 213 | fs/proc/net.c | length = udp_get_info(page,&start,file->f_pos,thistime); |
file | 218 | fs/proc/net.c | length = ipx_rt_get_info(page,&start,file->f_pos,thistime); |
file | 221 | fs/proc/net.c | length = ipx_get_info(page,&start,file->f_pos,thistime); |
file | 239 | fs/proc/net.c | file->f_pos+=length; /* Move down the file */ |
file | 17 | fs/proc/root.c | static int proc_readroot(struct inode *, struct file *, struct dirent *, int); |
file | 133 | fs/proc/root.c | static int proc_readroot(struct inode * inode, struct file * filp, |
file | 22 | fs/read_write.c | struct file * file; |
file | 25 | fs/read_write.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd]) || |
file | 26 | fs/read_write.c | !(inode = file->f_inode)) |
file | 29 | fs/read_write.c | if (file->f_op && file->f_op->readdir) { |
file | 32 | fs/read_write.c | error = file->f_op->readdir(inode,file,dirent,count); |
file | 39 | fs/read_write.c | struct file * file; |
file | 42 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
file | 46 | fs/read_write.c | if (file->f_op && file->f_op->lseek) |
file | 47 | fs/read_write.c | return file->f_op->lseek(file->f_inode,file,offset,origin); |
file | 55 | fs/read_write.c | tmp = file->f_pos + offset; |
file | 58 | fs/read_write.c | if (!file->f_inode) |
file | 60 | fs/read_write.c | tmp = file->f_inode->i_size + offset; |
file | 65 | fs/read_write.c | file->f_pos = tmp; |
file | 66 | fs/read_write.c | file->f_reada = 0; |
file | 67 | fs/read_write.c | return file->f_pos; |
file | 73 | fs/read_write.c | struct file * file; |
file | 76 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
file | 78 | fs/read_write.c | if (!(file->f_mode & 1)) |
file | 80 | fs/read_write.c | if (!file->f_op || !file->f_op->read) |
file | 87 | fs/read_write.c | return file->f_op->read(inode,file,buf,count); |
file | 93 | fs/read_write.c | struct file * file; |
file | 96 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
file | 98 | fs/read_write.c | if (!(file->f_mode & 2)) |
file | 100 | fs/read_write.c | if (!file->f_op || !file->f_op->write) |
file | 107 | fs/read_write.c | return file->f_op->write(inode,file,buf,count); |
file | 63 | fs/select.c | static int check(int flag, select_table * wait, struct file * file) |
file | 67 | fs/select.c | int (*select) (struct inode *, struct file *, int, select_table *); |
file | 69 | fs/select.c | inode = file->f_inode; |
file | 70 | fs/select.c | if ((fops = file->f_op) && (select = fops->select)) |
file | 71 | fs/select.c | return select(inode, file, flag, wait) |
file | 72 | fs/select.c | || (wait && select(inode, file, flag, NULL)); |
file | 157 | fs/stat.c | struct file * f; |
file | 172 | fs/stat.c | struct file * f; |
file | 23 | fs/sysv/dir.c | static int sysv_dir_read(struct inode * inode, struct file * filp, char * buf, int count) |
file | 28 | fs/sysv/dir.c | static int sysv_readdir(struct inode *, struct file *, struct dirent *, int); |
file | 64 | fs/sysv/dir.c | static int sysv_readdir(struct inode * inode, struct file * filp, |
file | 35 | fs/sysv/file.c | static int sysv_file_read(struct inode *, struct file *, char *, int); |
file | 36 | fs/sysv/file.c | static int sysv_file_write(struct inode *, struct file *, char *, int); |
file | 109 | fs/sysv/file.c | static int sysv_file_read(struct inode * inode, struct file * filp, char * buf, int count) |
file | 242 | fs/sysv/file.c | static int sysv_file_write(struct inode * inode, struct file * filp, char * buf, int count) |
file | 184 | fs/sysv/fsync.c | int sysv_sync_file(struct inode * inode, struct file * file) |
file | 22 | fs/xiafs/dir.c | static int xiafs_dir_read(struct inode *, struct file *, char *, int); |
file | 23 | fs/xiafs/dir.c | static int xiafs_readdir(struct inode *, struct file *, struct dirent *, int); |
file | 60 | fs/xiafs/dir.c | struct file * filp, char * buf, int count) |
file | 66 | fs/xiafs/dir.c | struct file * filp, struct dirent * dirent, int count) |
file | 31 | fs/xiafs/file.c | static int xiafs_file_read(struct inode *, struct file *, char *, int); |
file | 32 | fs/xiafs/file.c | static int xiafs_file_write(struct inode *, struct file *, char *, int); |
file | 70 | fs/xiafs/file.c | xiafs_file_read(struct inode * inode, struct file * filp, char * buf, int count) |
file | 190 | fs/xiafs/file.c | xiafs_file_write(struct inode * inode, struct file * filp, char * buf, int count) |
file | 144 | fs/xiafs/fsync.c | int xiafs_sync_file(struct inode * inode, struct file * file) |
file | 375 | include/linux/ext2_fs.h | extern int ext2_read (struct inode *, struct file *, char *, int); |
file | 376 | include/linux/ext2_fs.h | extern int ext2_write (struct inode *, struct file *, char *, int); |
file | 379 | include/linux/ext2_fs.h | extern int ext2_sync_file (struct inode *, struct file *); |
file | 401 | include/linux/ext2_fs.h | extern int ext2_ioctl (struct inode *, struct file *, unsigned int, |
file | 405 | include/linux/ext2_fs.h | extern int ext2_open (struct inode *, struct file *); |
file | 406 | include/linux/ext2_fs.h | extern void ext2_release (struct inode *, struct file *); |
file | 62 | include/linux/ext_fs.h | extern int ext_open(struct inode * inode, struct file * filp); |
file | 63 | include/linux/ext_fs.h | extern void ext_release(struct inode * inode, struct file * filp); |
file | 98 | include/linux/ext_fs.h | extern int ext_sync_file(struct inode *, struct file *); |
file | 100 | include/linux/ext_fs.h | extern int ext_lseek(struct inode *, struct file *, off_t, int); |
file | 101 | include/linux/ext_fs.h | extern int ext_read(struct inode *, struct file *, char *, int); |
file | 102 | include/linux/ext_fs.h | extern int ext_write(struct inode *, struct file *, char *, int); |
file | 57 | include/linux/fs.h | #define NIL_FILP ((struct file *)0) |
file | 219 | include/linux/fs.h | struct file *f_next, *f_prev; |
file | 274 | include/linux/fs.h | int (*lseek) (struct inode *, struct file *, off_t, int); |
file | 275 | include/linux/fs.h | int (*read) (struct inode *, struct file *, char *, int); |
file | 276 | include/linux/fs.h | int (*write) (struct inode *, struct file *, char *, int); |
file | 277 | include/linux/fs.h | int (*readdir) (struct inode *, struct file *, struct dirent *, int); |
file | 278 | include/linux/fs.h | int (*select) (struct inode *, struct file *, int, select_table *); |
file | 279 | include/linux/fs.h | int (*ioctl) (struct inode *, struct file *, unsigned int, unsigned long); |
file | 280 | include/linux/fs.h | int (*mmap) (struct inode *, struct file *, unsigned long, size_t, int, unsigned long); |
file | 281 | include/linux/fs.h | int (*open) (struct inode *, struct file *); |
file | 282 | include/linux/fs.h | void (*release) (struct inode *, struct file *); |
file | 283 | include/linux/fs.h | int (*fsync) (struct inode *, struct file *); |
file | 335 | include/linux/fs.h | extern int blkdev_open(struct inode * inode, struct file * filp); |
file | 341 | include/linux/fs.h | extern int chrdev_open(struct inode * inode, struct file * filp); |
file | 361 | include/linux/fs.h | extern struct file *first_file; |
file | 423 | include/linux/fs.h | extern struct file * get_empty_filp(void); |
file | 442 | include/linux/fs.h | extern int char_read(struct inode *, struct file *, char *, int); |
file | 443 | include/linux/fs.h | extern int block_read(struct inode *, struct file *, char *, int); |
file | 446 | include/linux/fs.h | extern int char_write(struct inode *, struct file *, char *, int); |
file | 447 | include/linux/fs.h | extern int block_write(struct inode *, struct file *, char *, int); |
file | 449 | include/linux/fs.h | extern int generic_mmap(struct inode *, struct file *, unsigned long, size_t, int, unsigned long); |
file | 451 | include/linux/fs.h | extern int block_fsync(struct inode *, struct file *); |
file | 452 | include/linux/fs.h | extern int file_fsync(struct inode *, struct file *); |
file | 167 | include/linux/iso_fs.h | extern int isofs_open(struct inode * inode, struct file * filp); |
file | 168 | include/linux/iso_fs.h | extern void isofs_release(struct inode * inode, struct file * filp); |
file | 182 | include/linux/iso_fs.h | extern int isofs_lseek(struct inode *, struct file *, off_t, int); |
file | 183 | include/linux/iso_fs.h | extern int isofs_read(struct inode *, struct file *, char *, int); |
file | 113 | include/linux/minix_fs.h | extern int minix_sync_file(struct inode *, struct file *); |
file | 176 | include/linux/mm.h | extern int do_mmap(struct file * file, unsigned long addr, unsigned long len, |
file | 121 | include/linux/nfs_fs.h | extern int nfs_mmap(struct inode * inode, struct file * file, |
file | 7 | include/linux/nfs_fs_sb.h | struct file *file; |
file | 193 | include/linux/sched.h | struct file * fd[NR_OPEN]; |
file | 426 | include/linux/sysv_fs.h | extern int sysv_sync_file(struct inode *, struct file *); |
file | 428 | include/linux/sysv_fs.h | extern int sysv_mmap(struct inode *, struct file *, unsigned long, size_t, int, unsigned long); |
file | 256 | include/linux/tty.h | int (*open)(struct tty_struct * tty, struct file * filp); |
file | 257 | include/linux/tty.h | void (*close)(struct tty_struct * tty, struct file * filp); |
file | 259 | include/linux/tty.h | int (*ioctl)(struct tty_struct *tty, struct file * file, |
file | 289 | include/linux/tty.h | int (*read)(struct tty_struct * tty, struct file * file, |
file | 291 | include/linux/tty.h | int (*write)(struct tty_struct * tty, struct file * file, |
file | 293 | include/linux/tty.h | int (*ioctl)(struct tty_struct * tty, struct file * file, |
file | 296 | include/linux/tty.h | struct file * file, int sel_type, |
file | 412 | include/linux/tty.h | extern int tty_ioctl(struct inode *, struct file *, unsigned int, unsigned long); |
file | 418 | include/linux/tty.h | extern void tty_unhangup(struct file *filp); |
file | 419 | include/linux/tty.h | extern int tty_hung_up_p(struct file * filp); |
file | 430 | include/linux/tty.h | extern int rs_open(struct tty_struct * tty, struct file * filp); |
file | 434 | include/linux/tty.h | extern int pty_open(struct tty_struct * tty, struct file * filp); |
file | 438 | include/linux/tty.h | extern int con_open(struct tty_struct * tty, struct file * filp); |
file | 445 | include/linux/tty.h | extern int vt_ioctl(struct tty_struct *tty, struct file * file, |
file | 113 | include/linux/xd.h | static int xd_open (struct inode *inode,struct file *file); |
file | 115 | include/linux/xd.h | static int xd_ioctl (struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg); |
file | 116 | include/linux/xd.h | static void xd_release (struct inode *inode,struct file *file); |
file | 101 | include/linux/xia_fs.h | extern int xiafs_sync_file(struct inode *, struct file *); |
file | 55 | init/main.c | static inline _syscall3(int,execve,const char *,file,char **,argv,char **,envp) |
file | 56 | init/main.c | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) |
file | 70 | kernel/fork.c | static struct file * copy_fd(struct file * old_file) |
file | 72 | kernel/fork.c | struct file * new_file = get_empty_filp(); |
file | 76 | kernel/fork.c | memcpy(new_file,old_file,sizeof(struct file)); |
file | 122 | kernel/fork.c | struct file * f; |
file | 10 | lib/execve.c | _syscall3(int,execve,const char *,file,char **,argv,char **,envp) |
file | 19 | mm/mmap.c | static int anon_map(struct inode *, struct file *, |
file | 42 | mm/mmap.c | int do_mmap(struct file * file, unsigned long addr, unsigned long len, |
file | 59 | mm/mmap.c | if (file != NULL) |
file | 62 | mm/mmap.c | if ((prot & PROT_WRITE) && !(file->f_mode & 2)) |
file | 66 | mm/mmap.c | if (!(file->f_mode & 1)) |
file | 109 | mm/mmap.c | if (file && (!file->f_op || !file->f_op->mmap)) |
file | 124 | mm/mmap.c | if (file) |
file | 125 | mm/mmap.c | error = file->f_op->mmap(file->f_inode, file, addr, len, mask, off); |
file | 141 | mm/mmap.c | struct file * file = NULL; |
file | 149 | mm/mmap.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
file | 152 | mm/mmap.c | return do_mmap(file, get_fs_long(buffer), get_fs_long(buffer+1), |
file | 311 | mm/mmap.c | int generic_mmap(struct inode * inode, struct file * file, |
file | 445 | mm/mmap.c | static int anon_map(struct inode *ino, struct file * file, |
file | 48 | net/inet/skbuff.c | int skb_check(struct sk_buff *skb, int head, int line, char *file) |
file | 53 | net/inet/skbuff.c | file,line); |
file | 63 | net/inet/skbuff.c | file,line); |
file | 69 | net/inet/skbuff.c | file,line); |
file | 77 | net/inet/skbuff.c | if (skb_check(skb2, 0, line, file) < 0) { |
file | 91 | net/inet/skbuff.c | file,line); |
file | 97 | net/inet/skbuff.c | file,line); |
file | 105 | net/inet/skbuff.c | file,line); |
file | 112 | net/inet/skbuff.c | printk("File: %s Line %d, passed a non skb!\n", file,line); |
file | 119 | net/inet/skbuff.c | printk("File: %s Line %d, Dubious size setting!\n",file,line); |
file | 1697 | net/inet/sock.c | inet_fioctl(struct inode *inode, struct file *file, |
file | 54 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, |
file | 56 | net/socket.c | static int sock_read(struct inode *inode, struct file *file, char *buf, |
file | 58 | net/socket.c | static int sock_write(struct inode *inode, struct file *file, char *buf, |
file | 60 | net/socket.c | static int sock_readdir(struct inode *inode, struct file *file, |
file | 62 | net/socket.c | static void sock_close(struct inode *inode, struct file *file); |
file | 63 | net/socket.c | static int sock_select(struct inode *inode, struct file *file, int which, select_table *seltable); |
file | 64 | net/socket.c | static int sock_ioctl(struct inode *inode, struct file *file, |
file | 109 | net/socket.c | struct file *file; |
file | 112 | net/socket.c | file = get_empty_filp(); |
file | 113 | net/socket.c | if (!file) return(-1); |
file | 117 | net/socket.c | file->f_count = 0; |
file | 121 | net/socket.c | current->files->fd[fd] = file; |
file | 122 | net/socket.c | file->f_op = &socket_file_ops; |
file | 123 | net/socket.c | file->f_mode = 3; |
file | 124 | net/socket.c | file->f_flags = 0; |
file | 125 | net/socket.c | file->f_count = 1; |
file | 126 | net/socket.c | file->f_inode = inode; |
file | 128 | net/socket.c | file->f_pos = 0; |
file | 165 | net/socket.c | sockfd_lookup(int fd, struct file **pfile) |
file | 167 | net/socket.c | struct file *file; |
file | 169 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) return(NULL); |
file | 170 | net/socket.c | if (pfile) *pfile = file; |
file | 171 | net/socket.c | return(socki_lookup(file->f_inode)); |
file | 272 | net/socket.c | sock_lseek(struct inode *inode, struct file *file, off_t offset, int whence) |
file | 280 | net/socket.c | sock_read(struct inode *inode, struct file *file, char *ubuf, int size) |
file | 290 | net/socket.c | return(sock->ops->read(sock, ubuf, size, (file->f_flags & O_NONBLOCK))); |
file | 295 | net/socket.c | sock_write(struct inode *inode, struct file *file, char *ubuf, int size) |
file | 305 | net/socket.c | return(sock->ops->write(sock, ubuf, size,(file->f_flags & O_NONBLOCK))); |
file | 310 | net/socket.c | sock_readdir(struct inode *inode, struct file *file, struct dirent *dirent, |
file | 319 | net/socket.c | sock_ioctl(struct inode *inode, struct file *file, unsigned int cmd, |
file | 335 | net/socket.c | sock_select(struct inode *inode, struct file *file, int sel_type, select_table * wait) |
file | 355 | net/socket.c | sock_close(struct inode *inode, struct file *file) |
file | 594 | net/socket.c | struct file *file; |
file | 599 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
file | 602 | net/socket.c | if (!(sock = sockfd_lookup(fd, &file))) return(-ENOTSOCK); |
file | 624 | net/socket.c | i = newsock->ops->accept(sock, newsock, file->f_flags); |
file | 650 | net/socket.c | struct file *file; |
file | 654 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL) |
file | 657 | net/socket.c | if (!(sock = sockfd_lookup(fd, &file))) return(-ENOTSOCK); |
file | 668 | net/socket.c | addrlen, file->f_flags)); |
file | 674 | net/socket.c | i = sock->ops->connect(sock, uservaddr, addrlen, file->f_flags); |
file | 713 | net/socket.c | struct file *file; |
file | 719 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
file | 723 | net/socket.c | return(sock->ops->send(sock, buff, len, (file->f_flags & O_NONBLOCK), flags)); |
file | 732 | net/socket.c | struct file *file; |
file | 738 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
file | 742 | net/socket.c | return(sock->ops->sendto(sock, buff, len, (file->f_flags & O_NONBLOCK), |
file | 751 | net/socket.c | struct file *file; |
file | 757 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
file | 761 | net/socket.c | return(sock->ops->recv(sock, buff, len,(file->f_flags & O_NONBLOCK), flags)); |
file | 770 | net/socket.c | struct file *file; |
file | 776 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
file | 780 | net/socket.c | return(sock->ops->recvfrom(sock, buff, len, (file->f_flags & O_NONBLOCK), |
file | 789 | net/socket.c | struct file *file; |
file | 796 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
file | 808 | net/socket.c | struct file *file; |
file | 815 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
file | 828 | net/socket.c | struct file *file; |
file | 832 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
file | 842 | net/socket.c | sock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg) |
file | 1016 | net/socket.c | net_fioctl(struct inode *inode, struct file *file, |
file | 835 | net/unix/sock.c | unix_open(struct inode * inode, struct file * file) |
file | 848 | net/unix/sock.c | unix_close(struct inode * inode, struct file * file) |
file | 855 | net/unix/sock.c | unix_ioctl(struct inode *inode, struct file *file, |