Home
last modified time | relevance | path

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

/linux-6.15/arch/arm64/kvm/hyp/nvhe/
H A Dpage_alloc.c34 struct hyp_page *p, in __find_buddy_nocheck()
53 struct hyp_page *p, in __find_buddy_avail()
94 struct hyp_page *p) in __hyp_attach_page()
98 struct hyp_page *buddy; in __hyp_attach_page()
131 struct hyp_page *p, in __hyp_extract_page()
134 struct hyp_page *buddy; in __hyp_extract_page()
168 struct hyp_page *p = hyp_virt_to_page(addr); in hyp_put_page()
184 void hyp_split_page(struct hyp_page *p) in hyp_split_page()
191 struct hyp_page *tail = p + i; in hyp_split_page()
200 struct hyp_page *p; in hyp_alloc_pages()
[all …]
H A Dmem_protect.c191 struct hyp_page *p; in guest_s2_zalloc_page()
271 struct hyp_page *page; in reclaim_pgtable_pages()
896 struct hyp_page *page; in __pkvm_host_share_guest()
944 struct hyp_page *page; in __check_host_shared_guest()
981 struct hyp_page *page; in __pkvm_host_unshare_guest()
H A Dsetup.c41 nr_pages = hyp_vmemmap_pages(sizeof(struct hyp_page)); in divide_memory_pool()
/linux-6.15/arch/arm64/kvm/hyp/include/nvhe/
H A Dmemory.h43 struct hyp_page { struct
54 #define hyp_vmemmap ((struct hyp_page *)__hyp_vmemmap) argument
71 static inline struct hyp_page *hyp_phys_to_page(phys_addr_t phys) in hyp_phys_to_page()
73 BUILD_BUG_ON(sizeof(struct hyp_page) != sizeof(u64)); in hyp_phys_to_page()
80 #define hyp_page_to_pfn(page) ((struct hyp_page *)(page) - hyp_vmemmap)
83 #define hyp_page_to_pool(page) (((struct hyp_page *)page)->pool)
91 struct hyp_page *p = hyp_virt_to_page(addr); in hyp_page_count()
96 static inline void hyp_page_ref_inc(struct hyp_page *p) in hyp_page_ref_inc()
102 static inline void hyp_page_ref_dec(struct hyp_page *p) in hyp_page_ref_dec()
108 static inline int hyp_page_ref_dec_and_test(struct hyp_page *p) in hyp_page_ref_dec_and_test()
[all …]
H A Dgfp.h27 void hyp_split_page(struct hyp_page *page);
/linux-6.15/arch/arm64/kvm/hyp/
H A Dhyp-constants.c9 DEFINE(STRUCT_HYP_PAGE_SIZE, sizeof(struct hyp_page)); in main()