Lines Matching refs:proc_dir_entry
35 struct proc_dir_entry *de;
107 "proc_dir_entry", SIZEOF_PDE, 0, SLAB_PANIC,
108 offsetof(struct proc_dir_entry, inline_name),
110 BUILD_BUG_ON(sizeof(struct proc_dir_entry) >= SIZEOF_PDE);
206 static inline int use_pde(struct proc_dir_entry *pde)
211 static void unuse_pde(struct proc_dir_entry *pde)
218 static void close_pdeo(struct proc_dir_entry *pde, struct pde_opener *pdeo)
256 void proc_entry_rundown(struct proc_dir_entry *de)
276 static loff_t pde_lseek(struct proc_dir_entry *pde, struct file *file, loff_t offset, int whence)
288 struct proc_dir_entry *pde = PDE(file_inode(file));
302 struct proc_dir_entry *pde = PDE(file_inode(iocb->ki_filp));
315 static ssize_t pde_read(struct proc_dir_entry *pde, struct file *file, char __user *buf, size_t count, loff_t *ppos)
327 struct proc_dir_entry *pde = PDE(file_inode(file));
339 static ssize_t pde_write(struct proc_dir_entry *pde, struct file *file, const char __user *buf, size_t count, loff_t *ppos)
351 struct proc_dir_entry *pde = PDE(file_inode(file));
363 static __poll_t pde_poll(struct proc_dir_entry *pde, struct file *file, struct poll_table_struct *pts)
375 struct proc_dir_entry *pde = PDE(file_inode(file));
387 static long pde_ioctl(struct proc_dir_entry *pde, struct file *file, unsigned int cmd, unsigned long arg)
399 struct proc_dir_entry *pde = PDE(file_inode(file));
412 static long pde_compat_ioctl(struct proc_dir_entry *pde, struct file *file, unsigned int cmd, unsigned long arg)
424 struct proc_dir_entry *pde = PDE(file_inode(file));
436 static int pde_mmap(struct proc_dir_entry *pde, struct file *file, struct vm_area_struct *vma)
448 struct proc_dir_entry *pde = PDE(file_inode(file));
461 pde_get_unmapped_area(struct proc_dir_entry *pde, struct file *file, unsigned long orig_addr,
482 struct proc_dir_entry *pde = PDE(file_inode(file));
497 struct proc_dir_entry *pde = PDE(inode);
560 struct proc_dir_entry *pde = PDE(inode);
647 struct proc_dir_entry *pde = PDE(inode);
658 struct inode *proc_get_inode(struct super_block *sb, struct proc_dir_entry *de)