Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/platforms/book3s/
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-6.6.21/arch/powerpc/platforms/pseries/
Dvas.c207 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() local
768 task_ref = &win->vas_win.task_ref; in reconfig_close_windows()
[all …]
/linux-6.6.21/arch/powerpc/include/asm/
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-6.6.21/arch/powerpc/platforms/powernv/
Dvas-fault.c156 vas_update_csb(crb, &window->vas_win.task_ref); in vas_fault_thread_fn()
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()
Dvas.h438 return pid_vnr(window->task_ref.pid); in vas_window_pid()