Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dpfn.h18 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK) macro
Dpercpu.h23 #define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10)
/kernel/linux/linux-5.10/arch/x86/mm/
Dpti.c561 unsigned long start = PFN_ALIGN(_text); in pti_clone_kernel_text()
563 unsigned long end_global = PFN_ALIGN((unsigned long)_etext); in pti_clone_kernel_text()
595 unsigned long start = PFN_ALIGN(_text); in pti_set_kernel_image_nonglobal()
Dinit_32.c839 unsigned long start = PFN_ALIGN(_etext); in mark_nxdata_nx()
852 unsigned long start = PFN_ALIGN(_text); in mark_rodata_ro()
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()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dpgtable.h34 #define BPF_JIT_REGION_START PFN_ALIGN((unsigned long)&_end)
43 #define MODULES_VADDR (PFN_ALIGN((unsigned long)&_end) - SZ_2G)
44 #define MODULES_END (PFN_ALIGN((unsigned long)&_start))
/kernel/linux/linux-5.10/mm/
Dpercpu.c2262 ptr = memblock_alloc(PFN_ALIGN(ai_size), PAGE_SIZE); in pcpu_alloc_alloc_info()
2274 ai->__ai_size = PFN_ALIGN(ai_size); in pcpu_alloc_alloc_info()
2686 size_sum = PFN_ALIGN(static_size + reserved_size + in pcpu_build_alloc_info()
2853 areas_size = PFN_ALIGN(ai->nr_groups * sizeof(void *)); in pcpu_embed_first_chunk()
2994 pages_size = PFN_ALIGN(unit_pages * num_possible_cpus() * in pcpu_page_first_chunk()
Dvmalloc.c1920 vm_init_off = PFN_ALIGN(addr + vm->size) - VMALLOC_START; in vm_area_register_early()
/kernel/linux/linux-5.10/arch/x86/xen/
Dsetup.c710 size = PFN_ALIGN(xen_start_info->nr_pages * in xen_reserve_xen_mfnlist()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Duser_sdma.c1436 u64 end = PFN_ALIGN(req_start + req_len); in get_system_cache_entry()