struct proc_inode_info { struct task_struct *task; int type; union { struct dentry *(*proc_get_link)(struct inode *); int (*proc_read)(struct task_struct *task, char *page); } op; struct file *file; };