Lines Matching refs:task
245 struct task_struct *task = get_proc_task(inode); in mounts_open_common() local
253 if (!task) in mounts_open_common()
256 task_lock(task); in mounts_open_common()
257 nsp = task->nsproxy; in mounts_open_common()
259 task_unlock(task); in mounts_open_common()
260 put_task_struct(task); in mounts_open_common()
265 if (!task->fs) { in mounts_open_common()
266 task_unlock(task); in mounts_open_common()
267 put_task_struct(task); in mounts_open_common()
271 get_fs_root(task->fs, &root); in mounts_open_common()
272 task_unlock(task); in mounts_open_common()
273 put_task_struct(task); in mounts_open_common()