Lines Matching refs:arch
45 free_pages((unsigned long)image->arch.pgd, PGD_ALLOCATION_ORDER); in machine_kexec_free_page_tables()
46 image->arch.pgd = NULL; in machine_kexec_free_page_tables()
48 free_page((unsigned long)image->arch.pmd0); in machine_kexec_free_page_tables()
49 image->arch.pmd0 = NULL; in machine_kexec_free_page_tables()
50 free_page((unsigned long)image->arch.pmd1); in machine_kexec_free_page_tables()
51 image->arch.pmd1 = NULL; in machine_kexec_free_page_tables()
53 free_page((unsigned long)image->arch.pte0); in machine_kexec_free_page_tables()
54 image->arch.pte0 = NULL; in machine_kexec_free_page_tables()
55 free_page((unsigned long)image->arch.pte1); in machine_kexec_free_page_tables()
56 image->arch.pte1 = NULL; in machine_kexec_free_page_tables()
61 image->arch.pgd = (pgd_t *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in machine_kexec_alloc_page_tables()
64 image->arch.pmd0 = (pmd_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables()
65 image->arch.pmd1 = (pmd_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables()
67 image->arch.pte0 = (pte_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables()
68 image->arch.pte1 = (pte_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables()
69 if (!image->arch.pgd || in machine_kexec_alloc_page_tables()
71 !image->arch.pmd0 || !image->arch.pmd1 || in machine_kexec_alloc_page_tables()
73 !image->arch.pte0 || !image->arch.pte1) { in machine_kexec_alloc_page_tables()
107 pmd = image->arch.pmd0; in machine_kexec_prepare_page_tables()
110 image->arch.pgd, pmd, image->arch.pte0, in machine_kexec_prepare_page_tables()
113 pmd = image->arch.pmd1; in machine_kexec_prepare_page_tables()
116 image->arch.pgd, pmd, image->arch.pte1, in machine_kexec_prepare_page_tables()
203 page_list[PA_PGD] = __pa(image->arch.pgd); in machine_kexec()