/linux-6.12.1/arch/x86/xen/ |
D | enlighten_pvh.c | 78 ram_pages += PFN_DOWN(e->addr + e->size) - PFN_UP(e->addr); in pvh_reserve_extra_memory() 96 PFN_DOWN(e->addr + e->size) - PFN_UP(e->addr)); in pvh_reserve_extra_memory() 98 if (pages != (PFN_DOWN(e->addr + e->size) - PFN_UP(e->addr))) { in pvh_reserve_extra_memory() 118 xen_add_extra_mem(PFN_UP(e->addr), pages); in pvh_reserve_extra_memory()
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/device_include/ |
D | vm_basic_types.h | 104 (PFN_UP(MKS_GUEST_STAT_INSTANCE_MAX_STATS * \ 107 (PFN_UP(MKS_GUEST_STAT_INSTANCE_MAX_STATS * \ 111 (PFN_UP(MKS_GUEST_STAT_INSTANCE_MAX_STATS * \
|
/linux-6.12.1/drivers/gpu/drm/nouveau/ |
D | nouveau_bo85b5.c | 47 u32 page_count = PFN_UP(new_reg->size); in nva3_bo_move_copy() 50 page_count = PFN_UP(new_reg->size); in nva3_bo_move_copy()
|
D | nouveau_bo90b5.c | 40 u32 page_count = PFN_UP(new_reg->size); in nvc0_bo_move_copy() 43 page_count = PFN_UP(new_reg->size); in nvc0_bo_move_copy()
|
D | nouveau_bo0039.c | 55 u32 page_count = PFN_UP(new_reg->size); in nv04_bo_move_m2mf() 65 page_count = PFN_UP(new_reg->size); in nv04_bo_move_m2mf()
|
D | nouveau_bo9039.c | 45 u32 page_count = PFN_UP(new_reg->size); in nvc0_bo_move_m2mf() 48 page_count = PFN_UP(new_reg->size); in nvc0_bo_move_m2mf()
|
D | nouveau_mem.c | 195 u32 num_pages = PFN_UP(size); in nouveau_mem_intersects() 210 u32 num_pages = PFN_UP(size); in nouveau_mem_compatible()
|
D | nouveau_boa0b5.c | 61 LINE_COUNT, PFN_UP(new_reg->size)); in nve0_bo_move_copy()
|
/linux-6.12.1/arch/xtensa/mm/ |
D | init.c | 55 min_low_pfn = PFN_UP(memblock_start_of_DRAM()); in bootmem_init() 56 min_low_pfn = max(min_low_pfn, PFN_UP(PHYS_OFFSET)); in bootmem_init() 92 unsigned long start = PFN_UP(range_start); in free_highpages()
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_gmrid_manager.c | 76 gman->used_gmr_pages += PFN_UP((*res)->size); in vmw_gmrid_man_get_node() 119 gman->used_gmr_pages -= PFN_UP((*res)->size); in vmw_gmrid_man_get_node() 134 gman->used_gmr_pages -= PFN_UP(res->size); in vmw_gmrid_man_put_node()
|
D | vmwgfx_page_dirty.c | 233 pgoff_t num_pages = PFN_UP(vbo->tbo.resource->size); in vmw_bo_dirty_add() 397 if (unlikely(page_offset >= PFN_UP(bo->resource->size))) { in vmw_bo_vm_mkwrite() 439 if (page_offset >= PFN_UP(bo->resource->size) || in vmw_bo_vm_fault()
|
D | vmwgfx_bo.c | 217 bo->resource->start < PFN_UP(bo->resource->size) && in vmw_bo_pin_in_start_of_vram() 230 buf->places[0].lpfn = PFN_UP(bo->resource->size); in vmw_bo_pin_in_start_of_vram() 231 buf->busy_places[0].lpfn = PFN_UP(bo->resource->size); in vmw_bo_pin_in_start_of_vram() 369 ret = ttm_bo_kmap(bo, 0, PFN_UP(size), &vbo->map); in vmw_bo_map_and_cache_size()
|
/linux-6.12.1/drivers/gpu/drm/ttm/ |
D | ttm_range_manager.c | 86 PFN_UP(node->base.size), in ttm_range_man_alloc() 122 u32 num_pages = PFN_UP(size); in ttm_range_man_intersects() 138 u32 num_pages = PFN_UP(size); in ttm_range_man_compatible()
|
/linux-6.12.1/arch/mips/kernel/ |
D | setup.c | 177 return PFN_UP(end); in init_initrd() 289 ARCH_PFN_OFFSET = PFN_UP(ramstart); in bootmem_init() 297 if (PFN_UP(ramstart) > ARCH_PFN_OFFSET) { in bootmem_init() 299 (unsigned long)((PFN_UP(ramstart) - ARCH_PFN_OFFSET) * sizeof(struct page)), in bootmem_init() 300 (unsigned long)(PFN_UP(ramstart) - ARCH_PFN_OFFSET)); in bootmem_init()
|
/linux-6.12.1/arch/powerpc/mm/ |
D | pgtable_32.c | 135 unsigned long numpages = PFN_UP((unsigned long)_einittext) - in __mark_initmem_nx() 174 numpages = PFN_UP((unsigned long)__end_rodata) - in __mark_rodata_ro()
|
/linux-6.12.1/tools/include/linux/ |
D | pfn.h | 7 #define PFN_UP(x) (((x) + PAGE_SIZE - 1) >> PAGE_SHIFT) macro
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | hibernate.c | 10 unsigned long nosave_end_pfn = PFN_UP(__pa(&__nosave_end)); in pfn_is_nosave()
|
/linux-6.12.1/include/linux/ |
D | pfn.h | 19 #define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT) macro
|
/linux-6.12.1/arch/mips/power/ |
D | cpu.c | 40 unsigned long nosave_end_pfn = PFN_UP(__pa(&__nosave_end)); in pfn_is_nosave()
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | i915_scatterlist.c | 188 if (WARN_ON(overflows_type(PFN_UP(res->size), unsigned int))) { in i915_rsgt_from_buddy_resource() 193 if (sg_alloc_table(st, PFN_UP(res->size), GFP_KERNEL | __GFP_NOWARN)) { in i915_rsgt_from_buddy_resource()
|
/linux-6.12.1/arch/loongarch/power/ |
D | hibernate.c | 42 unsigned long nosave_end_pfn = PFN_UP(__pa(&__nosave_end)); in pfn_is_nosave()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gtt_mgr.c | 119 uint32_t num_pages = PFN_UP(tbo->base.size); in amdgpu_gtt_mgr_new() 147 node->mm_nodes[0].size = PFN_UP(node->base.size); in amdgpu_gtt_mgr_new()
|
/linux-6.12.1/arch/nios2/include/asm/ |
D | page.h | 46 #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET)
|
/linux-6.12.1/arch/csky/kernel/ |
D | setup.c | 29 min_low_pfn = PFN_UP(memblock_start_of_DRAM()); in csky_memblock_init()
|
/linux-6.12.1/arch/nios2/kernel/ |
D | setup.c | 141 *min = PFN_UP(memblock_start_of_DRAM()); in find_limits()
|