Searched refs:task_ref (Results 1 – 6 of 6) sorted by relevance
80 task_ref->mm = get_task_mm(current); in get_vas_user_win_ref()81 if (!task_ref->mm) { in get_vas_user_win_ref()82 put_pid(task_ref->pid); in get_vas_user_win_ref()88 mmgrab(task_ref->mm); in get_vas_user_win_ref()89 mmput(task_ref->mm); in get_vas_user_win_ref()112 pid = task_ref->pid; in ref_get_pid_and_task()115 pid = task_ref->tgid; in ref_get_pid_and_task()162 if (WARN_ON_ONCE(!task_ref->mm)) in vas_update_csb()201 kthread_use_mm(task_ref->mm); in vas_update_csb()213 kthread_unuse_mm(task_ref->mm); in vas_update_csb()[all …]
207 tsk_ref = &txwin->vas_win.task_ref; in pseries_vas_fault_thread_fn()440 put_vas_user_win_ref(&txwin->vas_win.task_ref); in vas_allocate_window()533 put_vas_user_win_ref(&vwin->task_ref); in vas_deallocate_window()710 mutex_lock(&win->vas_win.task_ref.mmap_mutex); in reconfig_open_windows()745 struct vas_user_win_ref *task_ref; in reconfig_close_windows() local768 task_ref = &win->vas_win.task_ref; in reconfig_close_windows()774 mmap_write_lock(task_ref->mm); in reconfig_close_windows()775 mutex_lock(&task_ref->mmap_mutex); in reconfig_close_windows()776 vma = task_ref->vma; in reconfig_close_windows()792 mutex_unlock(&task_ref->mmap_mutex); in reconfig_close_windows()[all …]
85 struct vas_user_win_ref task_ref; member290 int get_vas_user_win_ref(struct vas_user_win_ref *task_ref);292 struct vas_user_win_ref *task_ref);
156 vas_update_csb(crb, &window->vas_win.task_ref); in vas_fault_thread_fn()
1070 rc = get_vas_user_win_ref(&txwin->vas_win.task_ref); in vas_tx_win_open()1074 vas_user_win_add_mm_context(&txwin->vas_win.task_ref); in vas_tx_win_open()1313 mm_context_remove_vas_window(vwin->task_ref.mm); in vas_win_close()1314 put_vas_user_win_ref(&vwin->task_ref); in vas_win_close()
438 return pid_vnr(window->task_ref.pid); in vas_window_pid()