Lines Matching defs:task
120 struct task_struct *task = priv->task;
122 task_lock(task);
123 priv->task_mempolicy = get_task_policy(task);
125 task_unlock(task);
151 priv->task = get_proc_task(priv->inode);
152 if (!priv->task)
157 put_task_struct(priv->task);
158 priv->task = NULL;
164 put_task_struct(priv->task);
165 priv->task = NULL;
201 if (!priv->task)
207 put_task_struct(priv->task);
208 priv->task = NULL;
250 * Indicate if the VMA is a stack for the given task; for
251 * /proc/PID/maps that is the stack of the main task.
890 priv->task = get_proc_task(priv->inode);
891 if (!priv->task)
990 put_task_struct(priv->task);
991 priv->task = NULL;
1248 struct task_struct *task;
1268 task = get_proc_task(file_inode(file));
1269 if (!task)
1271 mm = get_task_mm(task);
1316 put_task_struct(task);
1662 /* Ensure the address is inside the task */