Home
last modified time | relevance | path

Searched refs:PFN_ALIGN (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/arch/x86/mm/
H A Dpti.c570 unsigned long start = PFN_ALIGN(_text); in pti_clone_kernel_text()
572 unsigned long end_global = PFN_ALIGN((unsigned long)_etext); in pti_clone_kernel_text()
604 unsigned long start = PFN_ALIGN(_text); in pti_set_kernel_image_nonglobal()
H A Dinit_32.c839 unsigned long start = PFN_ALIGN(_etext); in mark_nxdata_nx()
852 unsigned long start = PFN_ALIGN(_text); in mark_rodata_ro()
H A Dinit_64.c1329 unsigned long start = PFN_ALIGN(_text); in mark_rodata_ro()
1330 unsigned long rodata_start = PFN_ALIGN(__start_rodata); in mark_rodata_ro()
1332 unsigned long text_end = PFN_ALIGN(_etext); in mark_rodata_ro()
1333 unsigned long rodata_end = PFN_ALIGN(__end_rodata); in mark_rodata_ro()
/OK3568_Linux_fs/kernel/include/linux/
H A Dpfn.h18 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK) macro
H A Dpercpu.h23 #define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10)
/OK3568_Linux_fs/kernel/mm/
H A Dpercpu.c2263 ptr = memblock_alloc(PFN_ALIGN(ai_size), PAGE_SIZE); in pcpu_alloc_alloc_info()
2275 ai->__ai_size = PFN_ALIGN(ai_size); in pcpu_alloc_alloc_info()
2687 size_sum = PFN_ALIGN(static_size + reserved_size + in pcpu_build_alloc_info()
2854 areas_size = PFN_ALIGN(ai->nr_groups * sizeof(void *)); in pcpu_embed_first_chunk()
2995 pages_size = PFN_ALIGN(unit_pages * num_possible_cpus() * in pcpu_page_first_chunk()
H A Dvmalloc.c1927 vm_init_off = PFN_ALIGN(addr + vm->size) - VMALLOC_START; in vm_area_register_early()
/OK3568_Linux_fs/kernel/arch/riscv/kernel/
H A Dmodule.c423 max(PFN_ALIGN((unsigned long)&_end - SZ_2G), VMALLOC_START)
/OK3568_Linux_fs/kernel/arch/x86/xen/
H A Dsetup.c710 size = PFN_ALIGN(xen_start_info->nr_pages * in xen_reserve_xen_mfnlist()