Searched refs:task_ref (Results 1 – 6 of 6) sorted by relevance
66 int get_vas_user_win_ref(struct vas_user_win_ref *task_ref) in get_vas_user_win_ref() argument76 task_ref->pid = get_task_pid(current, PIDTYPE_PID); in get_vas_user_win_ref()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()97 task_ref->tgid = find_get_pid(task_tgid_vnr(current)); in get_vas_user_win_ref()106 static bool ref_get_pid_and_task(struct vas_user_win_ref *task_ref, in ref_get_pid_and_task() argument112 pid = task_ref->pid; in ref_get_pid_and_task()[all …]
207 tsk_ref = &txwin->vas_win.task_ref; in pseries_vas_fault_thread_fn()406 rc = get_vas_user_win_ref(&txwin->vas_win.task_ref); in vas_allocate_window()435 vas_user_win_add_mm_context(&txwin->vas_win.task_ref); in vas_allocate_window()440 put_vas_user_win_ref(&txwin->vas_win.task_ref); in vas_allocate_window()532 mm_context_remove_vas_window(vwin->task_ref.mm); in vas_deallocate_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()715 mutex_unlock(&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()[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()