Searched refs:PFN_ALIGN (Results 1 – 15 of 15) sorted by relevance
565 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()
1371 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()
773 unsigned long start = PFN_ALIGN(_etext); in mark_nxdata_nx()786 unsigned long start = PFN_ALIGN(_text); in mark_rodata_ro()
18 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK) macro
28 #define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10)
167 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()
166 pte.pte = PTE_IDENT_ATTR | PFN_ALIGN(limit); in mk_early_pgtbl_32()
251 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()
625 vcotbl->res.guest_memory_size = PFN_ALIGN(vcotbl->res.guest_memory_size); in vmw_cotable_alloc()
334 unsigned long size = PFN_ALIGN(res->guest_memory_size); in vmw_resource_buf_alloc()
56 #define MODULES_VADDR (PFN_ALIGN((unsigned long)&_end) - SZ_2G)57 #define MODULES_END (PFN_ALIGN((unsigned long)&_start))
357 fragment_size = PFN_ALIGN(DIV_ROUND_UP(ish_fw->size, FRAGMENT_MAX_NUM)); in ishtp_loader_work()
2414 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()
208 u64 end = PFN_ALIGN(req_start + req_len); in get_system_cache_entry()
774 size = PFN_ALIGN(xen_start_info->nr_pages * in xen_reserve_xen_mfnlist()