Searched refs:PAGE_ALIGN (Results 101 - 125 of 448) sorted by relevance

1234567891011>>

/linux-master/arch/loongarch/kernel/
H A Dvdso.c155 base = PAGE_ALIGN(base);
/linux-master/arch/powerpc/kernel/
H A Disa-bridge.c84 size = PAGE_ALIGN(range.size);
H A Dfadump.c373 size = PAGE_ALIGN(size);
381 size = PAGE_ALIGN(size);
466 fw_dump.boot_mem_top = PAGE_ALIGN(fw_dump.boot_memory_size + hole_size);
517 base = PAGE_ALIGN(mstart);
526 base = PAGE_ALIGN(base);
554 PAGE_ALIGN(fadump_calculate_reserve_size());
796 count = PAGE_ALIGN(size) / PAGE_SIZE;
812 fw_dump.cpu_notes_buf_size = PAGE_ALIGN(fw_dump.cpu_notes_buf_size);
/linux-master/arch/x86/kernel/
H A Dsys_x86_64.c133 addr = PAGE_ALIGN(addr);
H A Dsetup.c259 u64 area_size = PAGE_ALIGN(ramdisk_size);
286 u64 ramdisk_end = PAGE_ALIGN(ramdisk_image + ramdisk_size);
300 u64 ramdisk_end = PAGE_ALIGN(ramdisk_image + ramdisk_size);
/linux-master/arch/mips/kernel/
H A Dvdso.c83 base = PAGE_ALIGN(base);
/linux-master/arch/sh/kernel/
H A Dmachine_kexec.c158 crash_size = PAGE_ALIGN(resource_size(&crashk_res));
/linux-master/arch/x86/power/
H A Dhibernate.c52 nosave_end_pfn = PAGE_ALIGN(__pa_symbol(&__nosave_end)) >> PAGE_SHIFT;
/linux-master/drivers/firmware/
H A Dsysfb_simplefb.c132 length = PAGE_ALIGN(length);
H A Draspberrypi.c100 buf = dma_alloc_coherent(fw->cl.dev, PAGE_ALIGN(size), &bus_addr,
129 dma_free_coherent(fw->cl.dev, PAGE_ALIGN(size), buf, bus_addr);
/linux-master/kernel/dma/
H A Ddirect.c214 size = PAGE_ALIGN(size);
342 dma_free_from_pool(dev, cpu_addr, PAGE_ALIGN(size)))
534 sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0);
549 unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
H A Dmapping.c570 size = PAGE_ALIGN(size);
594 size = PAGE_ALIGN(size);
612 unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
636 sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0);
696 unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
719 unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
H A Dswiotlb.c265 bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT);
322 size_t bytes = PAGE_ALIGN(nslabs << IO_TLB_SHIFT);
342 memblock_free(tlb, PAGE_ALIGN(bytes));
398 alloc_size = PAGE_ALIGN(array_size(sizeof(*mem->slots), nslabs));
540 tbl_size = PAGE_ALIGN(mem->end - mem->start);
541 slots_size = PAGE_ALIGN(array_size(sizeof(*mem->slots), mem->nslabs));
/linux-master/arch/x86/xen/
H A Denlighten_pvh.c134 next->addr = PAGE_ALIGN(e->addr) + PFN_PHYS(pages);
/linux-master/drivers/media/platform/ti/omap/
H A Domap_voutlib.c310 size = PAGE_ALIGN(buf_size);
334 size = PAGE_ALIGN(buf_size);
/linux-master/arch/sparc/mm/
H A Dio-unit.c228 len = PAGE_ALIGN(len);
239 end = PAGE_ALIGN((addr + len));
/linux-master/drivers/gpu/drm/omapdrm/
H A Domap_fbdev.c154 mode_cmd.pitches[0] = PAGE_ALIGN(mode_cmd.pitches[0]);
159 .bytes = PAGE_ALIGN(mode_cmd.pitches[0] * mode_cmd.height),
/linux-master/arch/parisc/kernel/
H A Dsys_parisc.c94 return PAGE_ALIGN(STACK_TOP - stack_base);
133 addr = PAGE_ALIGN(addr);
/linux-master/drivers/pcmcia/
H A Delectra_cf.c202 cf->mem_size = PAGE_ALIGN(resource_size(&mem));
206 cf->io_size = PAGE_ALIGN(resource_size(&io));
/linux-master/fs/erofs/
H A Ddecompressor_lzma.c154 PAGE_ALIGN(rq->pageofs_out + rq->outputsize) >> PAGE_SHIFT;
156 PAGE_ALIGN(rq->inputsize) >> PAGE_SHIFT;
/linux-master/arch/arm64/include/asm/
H A Dprocessor.h80 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 4))
83 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(DEFAULT_MAP_WINDOW / 4))
/linux-master/kernel/bpf/
H A Darraymap.c120 array_size = PAGE_ALIGN(array_size);
121 array_size += PAGE_ALIGN((u64) max_entries * elem_size);
135 array = data + PAGE_ALIGN(sizeof(struct bpf_array))
523 pgoff_t pgoff = PAGE_ALIGN(sizeof(*array)) >> PAGE_SHIFT;
529 PAGE_ALIGN((u64)array->map.max_entries * array->elem_size))
737 usage = PAGE_ALIGN(usage);
738 usage += PAGE_ALIGN(entries * elem_size);
/linux-master/drivers/iommu/
H A Ddma-iommu.c971 count = PAGE_ALIGN(size) >> PAGE_SHIFT;
1040 __iommu_dma_free_pages(pages, PAGE_ALIGN(size) >> PAGE_SHIFT);
1069 __iommu_dma_free_pages(sh->pages, PAGE_ALIGN(size) >> PAGE_SHIFT);
1536 size_t alloc_size = PAGE_ALIGN(size);
1576 size_t alloc_size = PAGE_ALIGN(size);
1627 page = dma_alloc_from_pool(dev, PAGE_ALIGN(size), &cpu_addr,
1648 unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT;
1687 PAGE_ALIGN(size) >> PAGE_SHIFT,
1698 sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0);
/linux-master/drivers/virt/vboxguest/
H A Dvboxguest_utils.c71 int order = get_order(PAGE_ALIGN(len));
94 free_pages((unsigned long)req, get_order(PAGE_ALIGN(len)));
192 u32 size = PAGE_ALIGN(len + ((unsigned long)buf & ~PAGE_MASK));
/linux-master/mm/
H A Dmlock.c533 VM_BUG_ON(len != PAGE_ALIGN(len));
634 len = PAGE_ALIGN(len + (offset_in_page(start)));
694 len = PAGE_ALIGN(len + (offset_in_page(start)));

Completed in 270 milliseconds

1234567891011>>