1 struct proc_inode_info { 2 struct task_struct *task; 3 int type; 4 union { 5 int (*proc_get_link)(struct inode *, struct dentry **, struct vfsmount **); 6 int (*proc_read)(struct task_struct *task, char *page); 7 } op; 8 struct file *file; 9 }; 10