Lines Matching refs:vas_win
92 win->vas_win.winid = retbuf[0]; in h_allocate_vas_window()
141 win->vas_win.winid, win->pid, 0, in h_modify_vas_window()
151 rc, win->vas_win.winid, win->pid); in h_modify_vas_window()
225 rc = h_get_nx_fault(txwin->vas_win.winid, (u64)virt_to_phys(&crb)); in pseries_vas_fault_thread_fn()
227 tsk_ref = &txwin->vas_win.task_ref; in pseries_vas_fault_thread_fn()
283 txwin->vas_win.winid); in allocate_setup_window()
295 txwin->vas_win.winid, txwin->fault_virq, rc); in allocate_setup_window()
299 txwin->vas_win.wcreds_max = DEF_WIN_CREDS; in allocate_setup_window()
307 h_deallocate_vas_window(txwin->vas_win.winid); in allocate_setup_window()
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()
456 return &txwin->vas_win; in vas_allocate_window()
460 put_vas_user_win_ref(&txwin->vas_win.task_ref); in vas_allocate_window()
470 h_deallocate_vas_window(txwin->vas_win.winid); in vas_allocate_window()
487 win = container_of(vwin, struct pseries_vas_window, vas_win); in vas_paste_address()
504 rc = h_deallocate_vas_window(win->vas_win.winid); in deallocate_free_window()
520 win = container_of(vwin, struct pseries_vas_window, vas_win); in vas_deallocate_window()
537 if (!(win->vas_win.status & VAS_WIN_NO_CRED_CLOSE) && in vas_deallocate_window()
538 !(win->vas_win.status & VAS_WIN_MIGRATE_CLOSE)) { in vas_deallocate_window()
708 if ((win->vas_win.status & VAS_WIN_NO_CRED_CLOSE) && in reconfig_open_windows()
709 (win->vas_win.status & VAS_WIN_MIGRATE_CLOSE)) { in reconfig_open_windows()
710 win->vas_win.status &= ~flag; in reconfig_open_windows()
718 if (!(win->vas_win.status & flag)) in reconfig_open_windows()
730 mutex_lock(&win->vas_win.task_ref.mmap_mutex); in reconfig_open_windows()
734 win->vas_win.status &= ~flag; in reconfig_open_windows()
735 mutex_unlock(&win->vas_win.task_ref.mmap_mutex); in reconfig_open_windows()
748 h_deallocate_vas_window(win->vas_win.winid); in reconfig_open_windows()
782 if ((win->vas_win.status & VAS_WIN_MIGRATE_CLOSE) || in reconfig_close_windows()
783 (win->vas_win.status & VAS_WIN_NO_CRED_CLOSE)) { in reconfig_close_windows()
784 win->vas_win.status |= flag; in reconfig_close_windows()
788 task_ref = &win->vas_win.task_ref; in reconfig_close_windows()
801 win->vas_win.status |= flag; in reconfig_close_windows()