Home
last modified time | relevance | path

Searched refs:PAGE_ALIGN (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/linux/drivers/gpu/drm/xe/
H A Dxe_guc_ads.c146 return PAGE_ALIGN(ads->golden_lrc_size); in guc_ads_golden_lrc_size()
151 return PAGE_ALIGN(ads->ads_waklv_size); in guc_ads_waklv_size()
156 return PAGE_ALIGN(ads->capture_size); in guc_ads_capture_size()
161 return PAGE_ALIGN(ads_to_guc(ads)->fw.private_data_size); in guc_ads_private_data_size()
176 return PAGE_ALIGN(offset); in guc_ads_golden_lrc_offset()
186 return PAGE_ALIGN(offset); in guc_ads_waklv_offset()
196 return PAGE_ALIGN(offset); in guc_ads_capture_offset()
206 return PAGE_ALIGN(offset); in guc_ads_private_data_offset()
288 alloc_size = PAGE_ALIGN(real_size); in calculate_golden_lrc_size()
606 alloc_size = PAGE_ALIGN(real_siz in guc_golden_lrc_init()
[all...]
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ads.c92 return PAGE_ALIGN(guc->ads_golden_ctxt_size); in guc_ads_golden_ctxt_size()
97 return PAGE_ALIGN(guc->ads_waklv_size); in guc_ads_waklv_size()
102 return PAGE_ALIGN(guc->ads_capture_size); in guc_ads_capture_size()
107 return PAGE_ALIGN(guc->fw.private_data_size); in guc_ads_private_data_size()
122 return PAGE_ALIGN(offset); in guc_ads_golden_ctxt_offset()
132 return PAGE_ALIGN(offset); in guc_ads_waklv_offset()
142 return PAGE_ALIGN(offset); in guc_ads_capture_offset()
152 return PAGE_ALIGN(offset); in guc_ads_private_data_offset()
568 alloc_size = PAGE_ALIGN(real_size); in guc_prep_golden_context()
644 alloc_size = PAGE_ALIGN(real_size); in guc_init_golden_context()
[all …]
/linux/arch/powerpc/include/asm/
H A Dtask_size_64.h49 #define TASK_UNMAPPED_BASE_USER32 (PAGE_ALIGN(TASK_SIZE_USER32 / 4))
50 #define TASK_UNMAPPED_BASE_USER64 (PAGE_ALIGN(DEFAULT_MAP_WINDOW_USER64 / 4))
/linux/kernel/dma/
H A Dremap.c29 vaddr = vmap(pages, PAGE_ALIGN(size) >> PAGE_SHIFT, in dma_common_pages_remap()
43 int count = PAGE_ALIGN(size) >> PAGE_SHIFT; in dma_common_contiguous_remap()
/linux/arch/s390/mm/
H A Dmmap.c64 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
93 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area()
131 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area_topdown()
/linux/arch/mips/sgi-ip27/
H A Dip27-klnuma.c124 offset = PAGE_ALIGN((unsigned long)(&_end)) - loadbase; in node_getfirstfree()
128 return KDM_TO_PHYS(PAGE_ALIGN(SYMMON_STK_ADDR(nasid, 0))) >> PAGE_SHIFT; in node_getfirstfree()
/linux/arch/arm/mach-omap1/
H A Dsram-init.c71 pages = PAGE_ALIGN(size) / PAGE_SIZE; in omap_sram_push()
124 pages = PAGE_ALIGN(omap_sram_size) / PAGE_SIZE; in omap_detect_and_map_sram()
/linux/arch/microblaze/kernel/
H A Dsetup.c105 romfs_size = PAGE_ALIGN(get_romfs_len((unsigned *)romfs_base)); in machine_early_init()
108 romfs_size = PAGE_ALIGN(get_romfs_len((unsigned *)romfs_base)); in machine_early_init()
/linux/arch/um/kernel/
H A Dum_arch.c384 return PAGE_ALIGN(top_addr + 1); in linux_main()
438 diff = PAGE_ALIGN(brk_start) - PAGE_ALIGN((unsigned long) &_end); in linux_main()
452 physmem_size = PAGE_ALIGN(physmem_size); in linux_main()
/linux/arch/arm/mm/
H A Ddma-mapping.c544 .size = PAGE_ALIGN(size), in __dma_alloc()
613 .size = PAGE_ALIGN(size), in __arm_dma_free()
768 count = PAGE_ALIGN(size) >> PAGE_SHIFT; in __alloc_iova()
964 unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT; in __iommu_create_mapping()
1008 size = PAGE_ALIGN((iova & ~PAGE_MASK) + size); in __iommu_remove_mapping()
1085 size = PAGE_ALIGN(size); in arm_iommu_alloc_attrs()
1121 unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; in arm_iommu_mmap_attrs()
1149 size = PAGE_ALIGN(size); in arm_iommu_free_attrs()
1173 unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT; in arm_iommu_get_sgtable()
1197 size = PAGE_ALIGN(siz in __map_sg_chunk()
[all...]
H A Dmmap.c65 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area()
119 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area_topdown()
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dmm.c58 cur = start + PAGE_ALIGN(size); in __pkvm_alloc_private_va_range()
154 size = PAGE_ALIGN(size + offset_in_page(phys)); in hyp_back_vmemmap()
177 end = PAGE_ALIGN(end); in hyp_back_vmemmap()
243 end = PAGE_ALIGN((u64)hyp_phys_to_page(end)); in fixmap_map_slot()
/linux/arch/s390/kernel/
H A Dvdso.c91 start = PAGE_ALIGN(start); in vdso_addr()
110 return PAGE_ALIGN(vdso_end - vdso_start); in vdso_text_size()
/linux/drivers/firmware/efi/
H A Dunaccepted_memory.c46 end = PAGE_ALIGN(start + size); in accept_memory()
175 end = PAGE_ALIGN(start + size); in range_contains_unaccepted_memory()
/linux/arch/riscv/kernel/
H A Dusercfi.c105 * Else PAGE_ALIGN it and return back in set_indir_lp_status()
110 return PAGE_ALIGN(size); in set_indir_lp_lock()
112 return PAGE_ALIGN(min(rlimit(RLIMIT_STACK) / 8, SZ_512M));
273 aligned_size = PAGE_ALIGN(size); in SYSCALL_DEFINE3()
/linux/arch/sh/mm/
H A Dmmap.c84 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area()
133 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area_topdown()
/linux/arch/x86/kernel/
H A Dshstk.c122 return PAGE_ALIGN(size); in adjust_shstk_size()
124 return PAGE_ALIGN(min_t(unsigned long long, rlimit(RLIMIT_STACK), SZ_4G)); in adjust_shstk_size()
565 aligned_size = PAGE_ALIGN(size); in SYSCALL_DEFINE3()
/linux/drivers/virt/coco/tdx-guest/
H A Dtdx-guest.c230 size_t alloc_size = PAGE_ALIGN(get_quote_buf_size()); in free_quote_buf()
245 size_t alloc_size = PAGE_ALIGN(get_quote_buf_size()); in alloc_quote_buf()
319 err = tdx_hcall_get_quote(quote_buf, PAGE_ALIGN(quote_buf_size)); in tdx_report_new_locked()
/linux/arch/arm/mach-omap2/
H A Dsram.c93 pages = PAGE_ALIGN(size) / PAGE_SIZE; in omap_sram_push()
217 pages = PAGE_ALIGN(omap_sram_size) / PAGE_SIZE; in omap2_map_sram()
/linux/tools/testing/selftests/mm/
H A Dmlock-random-test.c25 #define PAGE_ALIGN(size, ps) (((size) + ((ps) - 1)) & ~((ps) - 1)) macro
175 if (locked_vm_size > PAGE_ALIGN(alloc_size, page_size) + page_size) in test_mlock_within_limit()
/linux/arch/powerpc/kernel/
H A Dsuspend.c21 unsigned long nosave_end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT; in pfn_is_nosave()
/linux/arch/sh/kernel/
H A Dswsusp.c22 unsigned long end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT; in pfn_is_nosave()
/linux/drivers/video/fbdev/mmp/fb/
H A Dmmpfb.h40 #define MMPFB_DEFAULT_SIZE (PAGE_ALIGN(1920 * 1080 * 4 * 2))
/linux/drivers/video/fbdev/
H A Dxilinxfb.c286 drvdata->fb_virt = dma_alloc_coherent(dev, PAGE_ALIGN(fbsize), in xilinxfb_assign()
363 dma_free_coherent(dev, PAGE_ALIGN(fbsize), drvdata->fb_virt, in xilinxfb_assign()
387 dma_free_coherent(dev, PAGE_ALIGN(drvdata->info.fix.smem_len), in xilinxfb_release()
/linux/sound/soc/sof/amd/
H A Dacp-loader.c65 page_count = PAGE_ALIGN(size_fw) >> PAGE_SHIFT; in acp_dsp_block_write()
181 page_count = PAGE_ALIGN(size_fw) >> PAGE_SHIFT; in acp_dsp_pre_fw_run()
267 page_count = PAGE_ALIGN(size_fw) >> PAGE_SHIFT;
318 dma_size = (PAGE_ALIGN(sdev->basefw.fw->size) >> PAGE_SHIFT) * ACP_PAGE_SIZE; in acp_sof_load_signed_firmware()

12345678910>>...13