Lines Matching refs:arch
59 free_pages((unsigned long)image->arch.pgd, PGD_ALLOCATION_ORDER); in machine_kexec_free_page_tables()
60 image->arch.pgd = NULL; in machine_kexec_free_page_tables()
62 free_page((unsigned long)image->arch.pmd0); in machine_kexec_free_page_tables()
63 image->arch.pmd0 = NULL; in machine_kexec_free_page_tables()
64 free_page((unsigned long)image->arch.pmd1); in machine_kexec_free_page_tables()
65 image->arch.pmd1 = NULL; in machine_kexec_free_page_tables()
67 free_page((unsigned long)image->arch.pte0); in machine_kexec_free_page_tables()
68 image->arch.pte0 = NULL; in machine_kexec_free_page_tables()
69 free_page((unsigned long)image->arch.pte1); in machine_kexec_free_page_tables()
70 image->arch.pte1 = NULL; in machine_kexec_free_page_tables()
75 image->arch.pgd = (pgd_t *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in machine_kexec_alloc_page_tables()
78 image->arch.pmd0 = (pmd_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables()
79 image->arch.pmd1 = (pmd_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables()
81 image->arch.pte0 = (pte_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables()
82 image->arch.pte1 = (pte_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables()
83 if (!image->arch.pgd || in machine_kexec_alloc_page_tables()
85 !image->arch.pmd0 || !image->arch.pmd1 || in machine_kexec_alloc_page_tables()
87 !image->arch.pte0 || !image->arch.pte1) { in machine_kexec_alloc_page_tables()
121 pmd = image->arch.pmd0; in machine_kexec_prepare_page_tables()
124 image->arch.pgd, pmd, image->arch.pte0, in machine_kexec_prepare_page_tables()
127 pmd = image->arch.pmd1; in machine_kexec_prepare_page_tables()
130 image->arch.pgd, pmd, image->arch.pte1, in machine_kexec_prepare_page_tables()
217 page_list[PA_PGD] = __pa(image->arch.pgd); in machine_kexec()