Searched refs:tpage (Results 1 – 2 of 2) sorted by relevance
2436 static void tun_put_page(struct tun_page *tpage) in tun_put_page() argument2438 if (tpage->page) in tun_put_page()2439 __page_frag_cache_drain(tpage->page, tpage->count); in tun_put_page()2445 struct tun_page *tpage) in tun_xdp_one() argument2489 if (tpage->page == page) { in tun_xdp_one()2490 ++tpage->count; in tun_xdp_one()2492 tun_put_page(tpage); in tun_xdp_one()2493 tpage->page = page; in tun_xdp_one()2494 tpage->count = 1; in tun_xdp_one()2578 struct tun_page tpage; in tun_sendmsg() local[all …]
1117 struct page *tpage = NULL; in __sev_dbg_decrypt_user() local1124 tpage = (void *)alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in __sev_dbg_decrypt_user()1125 if (!tpage) in __sev_dbg_decrypt_user()1128 dst_paddr = __sme_page_pa(tpage); in __sev_dbg_decrypt_user()1135 if (tpage) { in __sev_dbg_decrypt_user()1137 if (copy_to_user(dst_uaddr, page_address(tpage) + offset, size)) in __sev_dbg_decrypt_user()1142 if (tpage) in __sev_dbg_decrypt_user()1143 __free_page(tpage); in __sev_dbg_decrypt_user()