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

/linux-4.1.27/include/linux/
H A Dpfn.h8 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK) macro
H A Dpercpu.h28 #define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10)
/linux-4.1.27/arch/mips/mti-malta/
H A Dmalta-memory.c118 mdesc[3].size = CPHYSADDR(PFN_ALIGN((unsigned long)&_end)) - fw_getmdesc()
122 mdesc[4].base = mdesc[0].base + CPHYSADDR(PFN_ALIGN(&_end)); fw_getmdesc()
/linux-4.1.27/arch/x86/mm/
H A Dinit_64.c1073 unsigned long start = PFN_ALIGN(_text); set_kernel_text_rw()
1074 unsigned long end = PFN_ALIGN(__stop___ex_table); set_kernel_text_rw()
1092 unsigned long start = PFN_ALIGN(_text); set_kernel_text_ro()
1093 unsigned long end = PFN_ALIGN(__stop___ex_table); set_kernel_text_ro()
1109 unsigned long start = PFN_ALIGN(_text); mark_rodata_ro()
1110 unsigned long rodata_start = PFN_ALIGN(__start_rodata); mark_rodata_ro()
1112 unsigned long text_end = PFN_ALIGN(&__stop___ex_table); mark_rodata_ro()
1113 unsigned long rodata_end = PFN_ALIGN(&__end_rodata); mark_rodata_ro()
H A Dinit_32.c882 unsigned long start = PFN_ALIGN(_text); set_kernel_text_rw()
883 unsigned long size = PFN_ALIGN(_etext) - start; set_kernel_text_rw()
896 unsigned long start = PFN_ALIGN(_text); set_kernel_text_ro()
897 unsigned long size = PFN_ALIGN(_etext) - start; set_kernel_text_ro()
914 unsigned long start = PFN_ALIGN(_etext); mark_nxdata_nx()
927 unsigned long start = PFN_ALIGN(_text); mark_rodata_ro()
928 unsigned long size = PFN_ALIGN(_etext) - start; mark_rodata_ro()
/linux-4.1.27/arch/s390/mm/
H A Dinit.c154 PFN_ALIGN((unsigned long)&_eshared) - 1); mem_init()
H A Dvmem.c371 ro_start = PFN_ALIGN((unsigned long)&_stext); vmem_map_init()
/linux-4.1.27/mm/
H A Dpercpu.c1387 ptr = memblock_virt_alloc_nopanic(PFN_ALIGN(ai_size), 0); pcpu_alloc_alloc_info()
1399 ai->__ai_size = PFN_ALIGN(ai_size); pcpu_alloc_alloc_info()
1796 size_sum = PFN_ALIGN(static_size + reserved_size + pcpu_build_alloc_info()
1961 areas_size = PFN_ALIGN(ai->nr_groups * sizeof(void *)); pcpu_embed_first_chunk()
2095 pages_size = PFN_ALIGN(unit_pages * num_possible_cpus() * pcpu_page_first_chunk()
H A Dvmalloc.c1189 vm_init_off = PFN_ALIGN(addr + vm->size) - VMALLOC_START; vm_area_register_early()

Completed in 350 milliseconds