Home
last modified time | relevance | path

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

/linux-6.12.1/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.c60 struct sgx_epc_page *page; in __sgx_sanitize_pages()
69 page = list_first_entry(dirty_page_list, struct sgx_epc_page, list); in __sgx_sanitize_pages()
110 static bool sgx_reclaimer_age(struct sgx_epc_page *epc_page) in sgx_reclaimer_age()
142 static void sgx_reclaimer_block(struct sgx_epc_page *epc_page) in sgx_reclaimer_block()
160 static int __sgx_encl_ewb(struct sgx_epc_page *epc_page, void *va_slot, in __sgx_encl_ewb()
198 static void sgx_encl_ewb(struct sgx_epc_page *epc_page, in sgx_encl_ewb()
251 static void sgx_reclaimer_write(struct sgx_epc_page *epc_page, in sgx_reclaimer_write()
299 struct sgx_epc_page *chunk[SGX_NR_TO_SCAN]; in sgx_reclaim_pages()
302 struct sgx_epc_page *epc_page; in sgx_reclaim_pages()
314 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()
243 static struct sgx_epc_page *sgx_encl_load_secs(struct sgx_encl *encl) in sgx_encl_load_secs()
245 struct sgx_epc_page *epc_page = encl->secs.epc_page; in sgx_encl_load_secs()
256 struct sgx_epc_page *epc_page; in __sgx_encl_load_page()
333 struct sgx_epc_page *epc_page; in sgx_encl_eaug_page()
1244 struct sgx_epc_page *sgx_alloc_va_page(bool reclaim) in sgx_alloc_va_page()
[all …]
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()