pidfs_alloc_file
pidfs_file = pidfs_alloc_file(cp->pid, 0);
struct file *pidfs_alloc_file(struct pid *pid, unsigned int flags);
pidfs_file = pidfs_alloc_file(pid, flags | O_RDWR);