Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/mm/
Dpti.c565 unsigned long start = PFN_ALIGN(_text); in pti_clone_kernel_text()
567 unsigned long end_global = PFN_ALIGN((unsigned long)_etext); in pti_clone_kernel_text()
599 unsigned long start = PFN_ALIGN(_text); in pti_set_kernel_image_nonglobal()
Dinit_64.c1371 unsigned long start = PFN_ALIGN(_text); in mark_rodata_ro()
1372 unsigned long rodata_start = PFN_ALIGN(__start_rodata); in mark_rodata_ro()
1374 unsigned long text_end = PFN_ALIGN(_etext); in mark_rodata_ro()
1375 unsigned long rodata_end = PFN_ALIGN(__end_rodata); in mark_rodata_ro()
Dinit_32.c773 unsigned long start = PFN_ALIGN(_etext); in mark_nxdata_nx()
786 unsigned long start = PFN_ALIGN(_text); in mark_rodata_ro()
/linux-6.12.1/include/linux/
Dpfn.h18 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK) macro
Dpercpu.h28 #define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10)
/linux-6.12.1/arch/loongarch/kernel/
Dnuma.c167 mi->blk[mi->nr_blks].start = PFN_ALIGN(start); in numa_add_memblk_to()
168 mi->blk[mi->nr_blks].end = PFN_ALIGN(end - PAGE_SIZE + 1); in numa_add_memblk_to()
/linux-6.12.1/arch/x86/kernel/
Dhead32.c166 pte.pte = PTE_IDENT_ATTR | PFN_ALIGN(limit); in mk_early_pgtbl_32()
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_mob.c251 otables[i].size = PFN_ALIGN(otables[i].size); in vmw_otable_batch_setup()
381 tot_size += PFN_ALIGN(data_size); in vmw_mob_calculate_pt_pages()
Dvmwgfx_cotable.c625 vcotbl->res.guest_memory_size = PFN_ALIGN(vcotbl->res.guest_memory_size); in vmw_cotable_alloc()
Dvmwgfx_resource.c334 unsigned long size = PFN_ALIGN(res->guest_memory_size); in vmw_resource_buf_alloc()
/linux-6.12.1/arch/riscv/include/asm/
Dpgtable.h56 #define MODULES_VADDR (PFN_ALIGN((unsigned long)&_end) - SZ_2G)
57 #define MODULES_END (PFN_ALIGN((unsigned long)&_start))
/linux-6.12.1/drivers/hid/intel-ish-hid/ishtp/
Dloader.c357 fragment_size = PFN_ALIGN(DIV_ROUND_UP(ish_fw->size, FRAGMENT_MAX_NUM)); in ishtp_loader_work()
/linux-6.12.1/mm/
Dpercpu.c2414 ptr = memblock_alloc(PFN_ALIGN(ai_size), PAGE_SIZE); in pcpu_alloc_alloc_info()
2426 ai->__ai_size = PFN_ALIGN(ai_size); in pcpu_alloc_alloc_info()
2832 size_sum = PFN_ALIGN(static_size + reserved_size + in pcpu_build_alloc_info()
3038 areas_size = PFN_ALIGN(ai->nr_groups * sizeof(void *)); in pcpu_embed_first_chunk()
3237 pages_size = PFN_ALIGN(unit_pages * num_possible_cpus() * in pcpu_page_first_chunk()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dpin_system.c208 u64 end = PFN_ALIGN(req_start + req_len); in get_system_cache_entry()
/linux-6.12.1/arch/x86/xen/
Dsetup.c774 size = PFN_ALIGN(xen_start_info->nr_pages * in xen_reserve_xen_mfnlist()