Lines Matching defs:file
238 struct file *file; in close_pdeo() local
276 static loff_t pde_lseek(struct proc_dir_entry *pde, struct file *file, loff_t offset, int whence) in pde_lseek()
286 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek()
315 static ssize_t pde_read(struct proc_dir_entry *pde, struct file *file, char __user *buf, size_t cou… in pde_read()
325 static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) in proc_reg_read()
339 static ssize_t pde_write(struct proc_dir_entry *pde, struct file *file, const char __user *buf, siz… in pde_write()
349 static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in proc_reg_write()
363 static __poll_t pde_poll(struct proc_dir_entry *pde, struct file *file, struct poll_table_struct *p… in pde_poll()
373 static __poll_t proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll()
387 static long pde_ioctl(struct proc_dir_entry *pde, struct file *file, unsigned int cmd, unsigned lon… in pde_ioctl()
397 static long proc_reg_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_unlocked_ioctl()
412 static long pde_compat_ioctl(struct proc_dir_entry *pde, struct file *file, unsigned int cmd, unsig… in pde_compat_ioctl()
422 static long proc_reg_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in proc_reg_compat_ioctl()
436 static int pde_mmap(struct proc_dir_entry *pde, struct file *file, struct vm_area_struct *vma) in pde_mmap()
446 static int proc_reg_mmap(struct file *file, struct vm_area_struct *vma) in proc_reg_mmap()
461 pde_get_unmapped_area(struct proc_dir_entry *pde, struct file *file, unsigned long orig_addr, in pde_get_unmapped_area()
478 proc_reg_get_unmapped_area(struct file *file, unsigned long orig_addr, in proc_reg_get_unmapped_area()
494 static int proc_reg_open(struct inode *inode, struct file *file) in proc_reg_open()
558 static int proc_reg_release(struct inode *inode, struct file *file) in proc_reg_release()