Home
last modified time | relevance | path

Searched refs:task_ref (Results 1 – 6 of 6) sorted by relevance

/linux/arch/powerpc/platforms/book3s/
H A Dvas-api.c66 int get_vas_user_win_ref(struct vas_user_win_ref *task_ref) in get_vas_user_win_ref() argument
76 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() argument
112 pid = task_ref->pid; in ref_get_pid_and_task()
[all …]
/linux/arch/powerpc/platforms/pseries/
H A Dvas.c227 tsk_ref = &txwin->vas_win.task_ref; in pseries_vas_fault_thread_fn()
426 rc = get_vas_user_win_ref(&txwin->vas_win.task_ref); in vas_allocate_window()
455 vas_user_win_add_mm_context(&txwin->vas_win.task_ref); in vas_allocate_window()
460 put_vas_user_win_ref(&txwin->vas_win.task_ref); in vas_allocate_window()
552 mm_context_remove_vas_window(vwin->task_ref.mm); in vas_deallocate_window()
553 put_vas_user_win_ref(&vwin->task_ref); in vas_deallocate_window()
730 mutex_lock(&win->vas_win.task_ref.mmap_mutex); in reconfig_open_windows()
735 mutex_unlock(&win->vas_win.task_ref.mmap_mutex); in reconfig_open_windows()
765 struct vas_user_win_ref *task_ref; in reconfig_close_windows() local
788 task_ref = &win->vas_win.task_ref; in reconfig_close_windows()
[all …]
/linux/arch/powerpc/include/asm/
H A Dvas.h85 struct vas_user_win_ref task_ref; member
290 int get_vas_user_win_ref(struct vas_user_win_ref *task_ref);
292 struct vas_user_win_ref *task_ref);
/linux/arch/powerpc/platforms/powernv/
H A Dvas-fault.c156 vas_update_csb(crb, &window->vas_win.task_ref); in vas_fault_thread_fn()
H A Dvas-window.c1070 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()
H A Dvas.h438 return pid_vnr(window->task_ref.pid); in vas_window_pid()