Lines Matching refs:priv
200 struct proc_maps_private *priv = m->private; in m_start() local
206 priv->task = get_proc_task(priv->inode); in m_start()
207 if (!priv->task) in m_start()
210 mm = priv->mm; in m_start()
212 put_task_struct(priv->task); in m_start()
213 priv->task = NULL; in m_start()
219 put_task_struct(priv->task); in m_start()
220 priv->task = NULL; in m_start()
234 struct proc_maps_private *priv = m->private; in m_stop() local
235 struct mm_struct *mm = priv->mm; in m_stop()
237 if (!priv->task) in m_stop()
242 put_task_struct(priv->task); in m_stop()
243 priv->task = NULL; in m_stop()
264 struct proc_maps_private *priv; in maps_open() local
266 priv = __seq_open_private(file, ops, sizeof(*priv)); in maps_open()
267 if (!priv) in maps_open()
270 priv->inode = inode; in maps_open()
271 priv->mm = proc_mem_open(inode, PTRACE_MODE_READ); in maps_open()
272 if (IS_ERR(priv->mm)) { in maps_open()
273 int err = PTR_ERR(priv->mm); in maps_open()
286 struct proc_maps_private *priv = seq->private; in map_release() local
288 if (priv->mm) in map_release()
289 mmdrop(priv->mm); in map_release()