Lines Matching refs:curr_task
261 struct task_struct *curr_task; in task_file_seq_get_next() local
271 curr_task = info->task; in task_file_seq_get_next()
274 curr_task = task_seq_get_next(&info->common, &info->tid, true); in task_file_seq_get_next()
275 if (!curr_task) { in task_file_seq_get_next()
281 info->task = curr_task; in task_file_seq_get_next()
288 f = fget_task_next(curr_task, &curr_fd); in task_file_seq_get_next()
296 put_task_struct(curr_task); in task_file_seq_get_next()
430 struct task_struct *curr_task; in task_vma_seq_get_next() local
441 curr_task = info->task; in task_vma_seq_get_next()
496 curr_task = task_seq_get_next(&info->common, &info->tid, true); in task_vma_seq_get_next()
497 if (!curr_task) { in task_vma_seq_get_next()
515 curr_mm = get_task_mm(curr_task); in task_vma_seq_get_next()
553 info->task = curr_task; in task_vma_seq_get_next()
562 put_task_struct(curr_task); in task_vma_seq_get_next()
569 if (curr_task) in task_vma_seq_get_next()
570 put_task_struct(curr_task); in task_vma_seq_get_next()