Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kernel/cpu/sgx/
Dsgx.h32 struct sgx_epc_page { struct
60 struct sgx_epc_page *pages; argument
66 static inline unsigned long sgx_get_epc_phys_addr(struct sgx_epc_page *page) in sgx_get_epc_phys_addr()
76 static inline void *sgx_get_epc_virt_addr(struct sgx_epc_page *page) in sgx_get_epc_virt_addr()
86 struct sgx_epc_page *__sgx_alloc_epc_page(void);
87 void sgx_free_epc_page(struct sgx_epc_page *page);
90 void sgx_mark_page_reclaimable(struct sgx_epc_page *page);
91 int sgx_unmark_page_reclaimable(struct sgx_epc_page *page);
92 struct sgx_epc_page *sgx_alloc_epc_page(void *owner, bool reclaim);
Dmain.c59 struct sgx_epc_page *page; in __sgx_sanitize_pages()
68 page = list_first_entry(dirty_page_list, struct sgx_epc_page, list); in __sgx_sanitize_pages()
109 static bool sgx_reclaimer_age(struct sgx_epc_page *epc_page) in sgx_reclaimer_age()
141 static void sgx_reclaimer_block(struct sgx_epc_page *epc_page) in sgx_reclaimer_block()
159 static int __sgx_encl_ewb(struct sgx_epc_page *epc_page, void *va_slot, in __sgx_encl_ewb()
197 static void sgx_encl_ewb(struct sgx_epc_page *epc_page, in sgx_encl_ewb()
250 static void sgx_reclaimer_write(struct sgx_epc_page *epc_page, in sgx_reclaimer_write()
298 struct sgx_epc_page *chunk[SGX_NR_TO_SCAN]; in sgx_reclaim_pages()
301 struct sgx_epc_page *epc_page; in sgx_reclaim_pages()
313 struct sgx_epc_page, list); in sgx_reclaim_pages()
[all …]
Dencl.h32 struct sgx_epc_page *epc_page;
76 struct sgx_epc_page *epc_page;
119 struct sgx_epc_page *sgx_alloc_va_page(bool reclaim);
123 void sgx_encl_free_epc_page(struct sgx_epc_page *page);
Dvirt.c36 struct sgx_epc_page *epc_page; in __sgx_vepc_fault()
114 static int sgx_vepc_remove_page(struct sgx_epc_page *epc_page) in sgx_vepc_remove_page()
128 static int sgx_vepc_free_page(struct sgx_epc_page *epc_page) in sgx_vepc_free_page()
155 struct sgx_epc_page *entry; in sgx_vepc_remove_all()
191 struct sgx_epc_page *epc_page, *tmp, *entry; in sgx_vepc_release()
Dencl.c133 struct sgx_epc_page *epc_page, in __sgx_encl_eldu()
134 struct sgx_epc_page *secs_page) in __sgx_encl_eldu()
211 static struct sgx_epc_page *sgx_encl_eldu(struct sgx_encl_page *encl_page, in sgx_encl_eldu()
212 struct sgx_epc_page *secs_page) in sgx_encl_eldu()
217 struct sgx_epc_page *epc_page; in sgx_encl_eldu()
241 struct sgx_epc_page *epc_page; in __sgx_encl_load_page()
320 struct sgx_epc_page *epc_page; in sgx_encl_eaug_page()
1222 struct sgx_epc_page *sgx_alloc_va_page(bool reclaim) in sgx_alloc_va_page()
1224 struct sgx_epc_page *epc_page; in sgx_alloc_va_page()
1292 void sgx_encl_free_epc_page(struct sgx_epc_page *page) in sgx_encl_free_epc_page()
Dioctl.c59 struct sgx_epc_page *secs_epc; in sgx_encl_create()
201 struct sgx_epc_page *epc_page, in __sgx_encl_add_page()
240 struct sgx_epc_page *epc_page) in __sgx_encl_extend()
264 struct sgx_epc_page *epc_page; in sgx_encl_add_page()