Searched refs:PAGE_ALIGN (Results 76 - 100 of 448) sorted by relevance

1234567891011>>

/linux-master/drivers/virt/coco/tdx-guest/
H A Dtdx-guest.c106 size_t len = PAGE_ALIGN(GET_QUOTE_BUF_SIZE);
119 size_t len = PAGE_ALIGN(GET_QUOTE_BUF_SIZE);
/linux-master/arch/arm64/kvm/
H A Dpkvm.c149 hyp_vm_sz = PAGE_ALIGN(size_add(PKVM_HYP_VM_SIZE,
168 hyp_vcpu_sz = PAGE_ALIGN(PKVM_HYP_VCPU_SIZE);
/linux-master/arch/s390/kernel/
H A Dvdso.c196 start = PAGE_ALIGN(start);
221 return PAGE_ALIGN(size);
/linux-master/fs/erofs/
H A Ddecompressor_deflate.c101 PAGE_ALIGN(rq->pageofs_out + rq->outputsize) >> PAGE_SHIFT;
103 PAGE_ALIGN(rq->inputsize) >> PAGE_SHIFT;
/linux-master/arch/powerpc/kexec/
H A Dcore.c134 crash_base = PAGE_ALIGN(crashk_res.start);
142 crash_size = PAGE_ALIGN(crash_size);
/linux-master/drivers/video/fbdev/
H A Docfb.c325 fbdev->fb_virt = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbsize),
365 dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbsize), fbdev->fb_virt,
377 dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbdev->info.fix.smem_len),
H A Dxilinxfb.c286 drvdata->fb_virt = dma_alloc_coherent(dev, PAGE_ALIGN(fbsize),
363 dma_free_coherent(dev, PAGE_ALIGN(fbsize), drvdata->fb_virt,
387 dma_free_coherent(dev, PAGE_ALIGN(drvdata->info.fix.smem_len),
/linux-master/drivers/gpu/drm/xe/
H A Dxe_lmtt.c70 PAGE_ALIGN(lmtt->ops->lmtt_pte_size(level) *
492 pt_size = PAGE_ALIGN(lmtt->ops->lmtt_pte_size(level) *
497 pt_size += PAGE_ALIGN(lmtt->ops->lmtt_pte_size(level) *
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dpkvm.c415 PAGE_ALIGN(size) >> PAGE_SHIFT))
434 PAGE_ALIGN(size) >> PAGE_SHIFT));
583 size = PAGE_ALIGN(size);
/linux-master/arch/x86/mm/
H A Dmmap.c105 return PAGE_ALIGN(task_size - gap - rnd);
/linux-master/arch/nios2/mm/
H A Dioremap.c156 size = PAGE_ALIGN(last_addr + 1) - phys_addr;
/linux-master/net/rds/
H A Dinfo.c187 nr_pages = (PAGE_ALIGN(start + len) - (start & PAGE_MASK))
/linux-master/arch/sparc/kernel/
H A Dsys_sparc_64.c121 addr = PAGE_ALIGN(addr);
184 addr = PAGE_ALIGN(addr);
305 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor);
461 if ((off + PAGE_ALIGN(len)) < off)
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_log_debugfs.c26 size = PAGE_ALIGN(size + PAGE_SIZE);
/linux-master/arch/nios2/kernel/
H A Dtraps.c74 endstack = (unsigned long *) PAGE_ALIGN(addr);
/linux-master/tools/testing/scatterlist/linux/
H A Dmm.h38 #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE) macro
/linux-master/arch/m68k/kernel/
H A Dsetup_no.c85 memory_start = PAGE_ALIGN(_ramstart);
/linux-master/sound/usb/usx2y/
H A Dus122l.c117 if (offset < PAGE_ALIGN(s->read_size)) {
120 offset -= PAGE_ALIGN(s->read_size);
121 if (offset >= PAGE_ALIGN(s->write_size))
219 if (size > PAGE_ALIGN(read ? s->read_size : s->write_size)) {
/linux-master/tools/virtio/linux/
H A Dkernel.h28 #define PAGE_ALIGN(x) ((x + PAGE_SIZE - 1) & PAGE_MASK) macro
/linux-master/drivers/gpu/drm/
H A Ddrm_gem_shmem_helper.c59 size = PAGE_ALIGN(size);
496 args->size = PAGE_ALIGN(args->pitch * args->height);
502 args->size = PAGE_ALIGN(args->pitch * args->height);
759 size_t size = PAGE_ALIGN(attach->dmabuf->size);
/linux-master/drivers/gpu/drm/i915/gt/
H A Dshmem_utils.c21 file = shmem_file_setup(name, PAGE_ALIGN(len), VM_NORESERVE);
/linux-master/arch/loongarch/include/asm/
H A Dprocessor.h55 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
/linux-master/arch/m68k/sun3x/
H A Ddvma.c90 end = PAGE_ALIGN(vaddr + len);
/linux-master/drivers/video/fbdev/core/
H A Dfb_io_fops.c145 unsigned long mmio_pgoff = PAGE_ALIGN((start & ~PAGE_MASK) + len) >> PAGE_SHIFT;
/linux-master/drivers/firmware/efi/
H A Defi-init.c251 PAGE_ALIGN(data.size + (data.phys_map & ~PAGE_MASK)));

Completed in 289 milliseconds

1234567891011>>