Home
last modified time | relevance | path

Searched refs:tpage (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/
Dtun.c2436 static void tun_put_page(struct tun_page *tpage) in tun_put_page() argument
2438 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() argument
2489 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 …]
/linux-6.12.1/arch/x86/kvm/svm/
Dsev.c1117 struct page *tpage = NULL; in __sev_dbg_decrypt_user() local
1124 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()