Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/
H A Dpage_alloc.c33 static struct hyp_page *__find_buddy_nocheck(struct hyp_pool *pool, in __find_buddy_nocheck()
34 struct hyp_page *p, in __find_buddy_nocheck()
52 static struct hyp_page *__find_buddy_avail(struct hyp_pool *pool, in __find_buddy_avail()
53 struct hyp_page *p, in __find_buddy_avail()
56 struct hyp_page *buddy = __find_buddy_nocheck(pool, p, order); in __find_buddy_avail()
72 static inline void page_remove_from_list(struct hyp_page *p) in page_remove_from_list()
80 static inline void page_add_to_list(struct hyp_page *p, struct list_head *head) in page_add_to_list()
88 static inline struct hyp_page *node_to_page(struct list_head *node) in node_to_page()
94 struct hyp_page *p) in __hyp_attach_page()
98 struct hyp_page *budd in __hyp_attach_page()
[all...]
H A Dsetup.c42 nr_pages = hyp_vmemmap_pages(sizeof(struct hyp_page)); in divide_memory_pool()
H A Dmem_protect.c191 struct hyp_page *p; in guest_s2_zalloc_page()
282 memset(hyp_virt_to_page(addr), 0, sizeof(struct hyp_page)); in reclaim_guest_pages()
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/include/nvhe/
H A Dmemory.h10 struct hyp_page { struct
16 #define hyp_vmemmap ((struct hyp_page *)__hyp_vmemmap)
36 #define hyp_page_to_pfn(page) ((struct hyp_page *)(page) - hyp_vmemmap)
39 #define hyp_page_to_pool(page) (((struct hyp_page *)page)->pool)
42 * Refcounting for 'struct hyp_page'.
47 struct hyp_page *p = hyp_virt_to_page(addr); in hyp_page_count()
52 static inline void hyp_page_ref_inc(struct hyp_page *p) in hyp_page_ref_inc()
58 static inline void hyp_page_ref_dec(struct hyp_page *p) in hyp_page_ref_dec()
64 static inline int hyp_page_ref_dec_and_test(struct hyp_page *p) in hyp_page_ref_dec_and_test()
70 static inline void hyp_set_page_refcounted(struct hyp_page *
[all...]
H A Dgfp.h15 * the struct hyp_page of the pool's pages until we have a proper atomic
27 void hyp_split_page(struct hyp_page *page);
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/
H A Dhyp-constants.c9 DEFINE(STRUCT_HYP_PAGE_SIZE, sizeof(struct hyp_page)); in main()

Completed in 3 milliseconds