rxwin 564 arch/powerpc/platforms/powernv/vas-window.c static void put_rx_win(struct vas_window *rxwin) rxwin 567 arch/powerpc/platforms/powernv/vas-window.c WARN_ON_ONCE(rxwin->tx_win); rxwin 569 arch/powerpc/platforms/powernv/vas-window.c atomic_dec(&rxwin->num_txwins); rxwin 583 arch/powerpc/platforms/powernv/vas-window.c struct vas_window *rxwin; rxwin 590 arch/powerpc/platforms/powernv/vas-window.c rxwin = vinst->windows[winid]; rxwin 592 arch/powerpc/platforms/powernv/vas-window.c if (!rxwin || rxwin->tx_win || rxwin->cop != VAS_COP_TYPE_FTW) rxwin 595 arch/powerpc/platforms/powernv/vas-window.c return rxwin; rxwin 607 arch/powerpc/platforms/powernv/vas-window.c struct vas_window *rxwin; rxwin 612 arch/powerpc/platforms/powernv/vas-window.c rxwin = get_user_rxwin(vinst, pswid); rxwin 614 arch/powerpc/platforms/powernv/vas-window.c rxwin = vinst->rxwin[cop] ?: ERR_PTR(-EINVAL); rxwin 616 arch/powerpc/platforms/powernv/vas-window.c if (!IS_ERR(rxwin)) rxwin 617 arch/powerpc/platforms/powernv/vas-window.c atomic_inc(&rxwin->num_txwins); rxwin 621 arch/powerpc/platforms/powernv/vas-window.c return rxwin; rxwin 651 arch/powerpc/platforms/powernv/vas-window.c WARN_ON_ONCE(vinst->rxwin[window->cop]); rxwin 652 arch/powerpc/platforms/powernv/vas-window.c vinst->rxwin[window->cop] = window; rxwin 673 arch/powerpc/platforms/powernv/vas-window.c WARN_ON_ONCE(!vinst->rxwin[window->cop]); rxwin 674 arch/powerpc/platforms/powernv/vas-window.c vinst->rxwin[window->cop] = NULL; rxwin 683 arch/powerpc/platforms/powernv/vas-window.c static void init_winctx_for_rxwin(struct vas_window *rxwin, rxwin 704 arch/powerpc/platforms/powernv/vas-window.c winctx->wcreds_max = rxwin->wcreds_max; rxwin 850 arch/powerpc/platforms/powernv/vas-window.c struct vas_window *rxwin; rxwin 866 arch/powerpc/platforms/powernv/vas-window.c rxwin = vas_window_alloc(vinst); rxwin 867 arch/powerpc/platforms/powernv/vas-window.c if (IS_ERR(rxwin)) { rxwin 869 arch/powerpc/platforms/powernv/vas-window.c return rxwin; rxwin 872 arch/powerpc/platforms/powernv/vas-window.c rxwin->tx_win = false; rxwin 873 arch/powerpc/platforms/powernv/vas-window.c rxwin->nx_win = rxattr->nx_win; rxwin 874 arch/powerpc/platforms/powernv/vas-window.c rxwin->user_win = rxattr->user_win; rxwin 875 arch/powerpc/platforms/powernv/vas-window.c rxwin->cop = cop; rxwin 876 arch/powerpc/platforms/powernv/vas-window.c rxwin->wcreds_max = rxattr->wcreds_max ?: VAS_WCREDS_DEFAULT; rxwin 878 arch/powerpc/platforms/powernv/vas-window.c rxwin->pid = task_pid_vnr(current); rxwin 880 arch/powerpc/platforms/powernv/vas-window.c init_winctx_for_rxwin(rxwin, rxattr, &winctx); rxwin 881 arch/powerpc/platforms/powernv/vas-window.c init_winctx_regs(rxwin, &winctx); rxwin 883 arch/powerpc/platforms/powernv/vas-window.c set_vinst_win(vinst, rxwin); rxwin 885 arch/powerpc/platforms/powernv/vas-window.c return rxwin; rxwin 929 arch/powerpc/platforms/powernv/vas-window.c winctx->nx_win = txwin->rxwin->nx_win; rxwin 946 arch/powerpc/platforms/powernv/vas-window.c winctx->rx_win_id = txwin->rxwin->winid; rxwin 980 arch/powerpc/platforms/powernv/vas-window.c struct vas_window *rxwin; rxwin 1003 arch/powerpc/platforms/powernv/vas-window.c rxwin = get_vinst_rxwin(vinst, cop, attr->pswid); rxwin 1004 arch/powerpc/platforms/powernv/vas-window.c if (IS_ERR(rxwin)) { rxwin 1006 arch/powerpc/platforms/powernv/vas-window.c return rxwin; rxwin 1017 arch/powerpc/platforms/powernv/vas-window.c txwin->rxwin = rxwin; rxwin 1018 arch/powerpc/platforms/powernv/vas-window.c txwin->nx_win = txwin->rxwin->nx_win; rxwin 1059 arch/powerpc/platforms/powernv/vas-window.c put_rx_win(rxwin); rxwin 1250 arch/powerpc/platforms/powernv/vas-window.c put_rx_win(window->rxwin); rxwin 317 arch/powerpc/platforms/powernv/vas.h struct vas_window *rxwin[VAS_COP_TYPE_MAX]; rxwin 345 arch/powerpc/platforms/powernv/vas.h struct vas_window *rxwin; rxwin 48 drivers/crypto/nx/nx-842-powernv.c struct vas_window *rxwin; rxwin 749 drivers/crypto/nx/nx-842-powernv.c struct vas_window *rxwin = NULL; rxwin 823 drivers/crypto/nx/nx-842-powernv.c rxwin = vas_rx_win_open(vasid, coproc->ct, &rxattr); rxwin 824 drivers/crypto/nx/nx-842-powernv.c if (IS_ERR(rxwin)) { rxwin 825 drivers/crypto/nx/nx-842-powernv.c ret = PTR_ERR(rxwin); rxwin 831 drivers/crypto/nx/nx-842-powernv.c coproc->vas.rxwin = rxwin; rxwin 962 drivers/crypto/nx/nx-842-powernv.c if (coproc->vas.rxwin) rxwin 963 drivers/crypto/nx/nx-842-powernv.c vas_win_close(coproc->vas.rxwin);