Lines Matching refs:curr_task
282 struct task_struct *curr_task; in task_file_seq_get_next() local
291 curr_task = info->task; in task_file_seq_get_next()
294 curr_task = task_seq_get_next(&info->common, &info->tid, true); in task_file_seq_get_next()
295 if (!curr_task) { in task_file_seq_get_next()
301 info->task = curr_task; in task_file_seq_get_next()
311 f = task_lookup_next_fd_rcu(curr_task, &curr_fd); in task_file_seq_get_next()
325 put_task_struct(curr_task); in task_file_seq_get_next()
459 struct task_struct *curr_task; in task_vma_seq_get_next() local
470 curr_task = info->task; in task_vma_seq_get_next()
525 curr_task = task_seq_get_next(&info->common, &info->tid, true); in task_vma_seq_get_next()
526 if (!curr_task) { in task_vma_seq_get_next()
544 curr_mm = get_task_mm(curr_task); in task_vma_seq_get_next()
582 info->task = curr_task; in task_vma_seq_get_next()
591 put_task_struct(curr_task); in task_vma_seq_get_next()
598 if (curr_task) in task_vma_seq_get_next()
599 put_task_struct(curr_task); in task_vma_seq_get_next()