Searched refs:encl_mm (Results 1 – 3 of 3) sorted by relevance
459 if (tmp == encl_mm) { in sgx_mmu_notifier_release()466 if (tmp == encl_mm) { in sgx_mmu_notifier_release()479 kfree(encl_mm); in sgx_mmu_notifier_free()498 encl_mm = tmp; in sgx_encl_find_mm()505 return encl_mm; in sgx_encl_find_mm()510 struct sgx_encl_mm *encl_mm; in sgx_encl_mm_add() local528 encl_mm = kzalloc(sizeof(*encl_mm), GFP_KERNEL); in sgx_encl_mm_add()529 if (!encl_mm) in sgx_encl_mm_add()534 encl_mm->encl = encl; in sgx_encl_mm_add()535 encl_mm->mm = mm; in sgx_encl_mm_add()[all …]
86 struct sgx_encl_mm *encl_mm; in sgx_reclaimer_age() local93 if (!mmget_not_zero(encl_mm->mm)) in sgx_reclaimer_age()96 mmap_read_lock(encl_mm->mm); in sgx_reclaimer_age()98 mmap_read_unlock(encl_mm->mm); in sgx_reclaimer_age()100 mmput_async(encl_mm->mm); in sgx_reclaimer_age()120 struct sgx_encl_mm *encl_mm; in sgx_reclaimer_block() local136 mmap_read_lock(encl_mm->mm); in sgx_reclaimer_block()142 mmap_read_unlock(encl_mm->mm); in sgx_reclaimer_block()144 mmput_async(encl_mm->mm); in sgx_reclaimer_block()188 struct sgx_encl_mm *encl_mm; in sgx_encl_ewb_cpumask() local[all …]
47 struct sgx_encl_mm *encl_mm; in sgx_release() local59 encl_mm = NULL; in sgx_release()61 encl_mm = list_first_entry(&encl->mm_list, in sgx_release()63 list_del_rcu(&encl_mm->list); in sgx_release()69 if (!encl_mm) in sgx_release()73 mmu_notifier_unregister(&encl_mm->mmu_notifier, encl_mm->mm); in sgx_release()74 kfree(encl_mm); in sgx_release()
Completed in 6 milliseconds